7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetExternalId(
const char* value) { m_externalIdHasBeenSet =
true; m_externalId.assign(value); }
63 inline void SetPrincipal(
const char* value) { m_principalHasBeenSet =
true; m_principal.assign(value); }
71 bool m_externalIdHasBeenSet =
false;
74 bool m_principalHasBeenSet =
false;
bool PrincipalHasBeenSet() const
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPrincipal() const
AwsIdentity & WithExternalId(const char *value)
void SetPrincipal(const Aws::String &value)
AwsIdentity & WithExternalId(Aws::String &&value)
void SetPrincipal(const char *value)
AWS_SECURITYLAKE_API AwsIdentity()
bool ExternalIdHasBeenSet() const
void SetExternalId(const char *value)
AwsIdentity & WithPrincipal(Aws::String &&value)
const Aws::String & GetExternalId() const
AwsIdentity & WithPrincipal(const Aws::String &value)
AwsIdentity & WithPrincipal(const char *value)
AWS_SECURITYLAKE_API AwsIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYLAKE_API AwsIdentity(Aws::Utils::Json::JsonView jsonValue)
AwsIdentity & WithExternalId(const Aws::String &value)
void SetPrincipal(Aws::String &&value)
void SetExternalId(const Aws::String &value)
void SetExternalId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue