7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sso-admin/model/PrincipalType.h>
51 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
66 inline void SetPermissionSetArn(
const char* value) { m_permissionSetArnHasBeenSet =
true; m_permissionSetArn.assign(value); }
80 inline void SetPrincipalId(
const char* value) { m_principalIdHasBeenSet =
true; m_principalId.assign(value); }
100 bool m_accountIdHasBeenSet =
false;
103 bool m_permissionSetArnHasBeenSet =
false;
106 bool m_principalIdHasBeenSet =
false;
109 bool m_principalTypeHasBeenSet =
false;
AWS_SSOADMIN_API AccountAssignmentForPrincipal()
AccountAssignmentForPrincipal & WithAccountId(Aws::String &&value)
AccountAssignmentForPrincipal & WithPrincipalId(const char *value)
AccountAssignmentForPrincipal & WithPermissionSetArn(const Aws::String &value)
AccountAssignmentForPrincipal & WithAccountId(const char *value)
void SetPermissionSetArn(const Aws::String &value)
void SetPrincipalId(Aws::String &&value)
void SetPrincipalId(const Aws::String &value)
void SetAccountId(const Aws::String &value)
void SetPrincipalType(const PrincipalType &value)
const Aws::String & GetPermissionSetArn() const
AccountAssignmentForPrincipal & WithPrincipalType(const PrincipalType &value)
const Aws::String & GetAccountId() const
void SetAccountId(const char *value)
bool PrincipalTypeHasBeenSet() const
bool AccountIdHasBeenSet() const
bool PrincipalIdHasBeenSet() const
void SetPermissionSetArn(const char *value)
void SetPrincipalId(const char *value)
AccountAssignmentForPrincipal & WithPrincipalId(Aws::String &&value)
AWS_SSOADMIN_API AccountAssignmentForPrincipal(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(Aws::String &&value)
const PrincipalType & GetPrincipalType() const
AccountAssignmentForPrincipal & WithPermissionSetArn(Aws::String &&value)
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
AccountAssignmentForPrincipal & WithPermissionSetArn(const char *value)
void SetPermissionSetArn(Aws::String &&value)
AccountAssignmentForPrincipal & WithAccountId(const Aws::String &value)
AccountAssignmentForPrincipal & WithPrincipalId(const Aws::String &value)
void SetPrincipalType(PrincipalType &&value)
const Aws::String & GetPrincipalId() const
AWS_SSOADMIN_API AccountAssignmentForPrincipal & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PermissionSetArnHasBeenSet() const
AccountAssignmentForPrincipal & WithPrincipalType(PrincipalType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue