7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
10#include <aws/servicecatalog/model/PrincipalType.h>
20namespace ServiceCatalog {
31 AWS_SERVICECATALOG_API
Principal(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_SERVICECATALOG_API
Principal&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_SERVICECATALOG_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 template <
typename PrincipalARNT = Aws::String>
48 m_principalARNHasBeenSet =
true;
49 m_principalARN = std::forward<PrincipalARNT>(value);
51 template <
typename PrincipalARNT = Aws::String>
67 m_principalTypeHasBeenSet =
true;
68 m_principalType = value;
79 bool m_principalARNHasBeenSet =
false;
80 bool m_principalTypeHasBeenSet =
false;
bool PrincipalTypeHasBeenSet() const
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetPrincipalARN(PrincipalARNT &&value)
AWS_SERVICECATALOG_API Principal(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Principal & WithPrincipalARN(PrincipalARNT &&value)
Principal & WithPrincipalType(PrincipalType value)
void SetPrincipalType(PrincipalType value)
PrincipalType GetPrincipalType() const
bool PrincipalARNHasBeenSet() const
AWS_SERVICECATALOG_API Principal()=default
const Aws::String & GetPrincipalARN() const
AWS_SERVICECATALOG_API Principal & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String