7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicecatalog/model/PrincipalType.h>
22namespace ServiceCatalog
54 inline void SetPrincipalARN(
const char* value) { m_principalARNHasBeenSet =
true; m_principalARN.assign(value); }
76 bool m_principalARNHasBeenSet =
false;
79 bool m_principalTypeHasBeenSet =
false;
bool PrincipalTypeHasBeenSet() const
Principal & WithPrincipalType(PrincipalType &&value)
Principal & WithPrincipalARN(const char *value)
void SetPrincipalARN(const char *value)
Principal & WithPrincipalType(const PrincipalType &value)
const PrincipalType & GetPrincipalType() const
Principal & WithPrincipalARN(Aws::String &&value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrincipalType(const PrincipalType &value)
AWS_SERVICECATALOG_API Principal & operator=(Aws::Utils::Json::JsonView jsonValue)
Principal & WithPrincipalARN(const Aws::String &value)
void SetPrincipalARN(const Aws::String &value)
void SetPrincipalType(PrincipalType &&value)
AWS_SERVICECATALOG_API Principal()
void SetPrincipalARN(Aws::String &&value)
AWS_SERVICECATALOG_API Principal(Aws::Utils::Json::JsonView jsonValue)
bool PrincipalARNHasBeenSet() const
const Aws::String & GetPrincipalARN() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue