7#include <aws/account-access/AccountAccess_EXPORTS.h>
8#include <aws/account-access/model/Principal.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AccountAccess {
43 template <
typename PrincipalT = Principal>
45 m_principalHasBeenSet =
true;
46 m_principal = std::forward<PrincipalT>(value);
48 template <
typename PrincipalT = Principal>
61 template <
typename RoleArnT = Aws::String>
63 m_roleArnHasBeenSet =
true;
64 m_roleArn = std::forward<RoleArnT>(value);
66 template <
typename RoleArnT = Aws::String>
79 template <
typename AccountT = Aws::String>
81 m_accountHasBeenSet =
true;
82 m_account = std::forward<AccountT>(value);
84 template <
typename AccountT = Aws::String>
98 template <
typename AccountNameT = Aws::String>
100 m_accountNameHasBeenSet =
true;
101 m_accountName = std::forward<AccountNameT>(value);
103 template <
typename AccountNameT = Aws::String>
117 bool m_principalHasBeenSet =
false;
118 bool m_roleArnHasBeenSet =
false;
119 bool m_accountHasBeenSet =
false;
120 bool m_accountNameHasBeenSet =
false;
const Aws::String & GetAccount() const
PrincipalRoleEntitlementDetails & WithPrincipal(PrincipalT &&value)
PrincipalRoleEntitlementDetails & WithAccount(AccountT &&value)
bool AccountHasBeenSet() const
bool AccountNameHasBeenSet() const
const Aws::String & GetRoleArn() const
void SetAccountName(AccountNameT &&value)
const Aws::String & GetAccountName() const
void SetAccount(AccountT &&value)
void SetRoleArn(RoleArnT &&value)
const Principal & GetPrincipal() const
AWS_ACCOUNTACCESS_API PrincipalRoleEntitlementDetails()=default
AWS_ACCOUNTACCESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool RoleArnHasBeenSet() const
AWS_ACCOUNTACCESS_API PrincipalRoleEntitlementDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCOUNTACCESS_API PrincipalRoleEntitlementDetails(Aws::Utils::Json::JsonView jsonValue)
bool PrincipalHasBeenSet() const
PrincipalRoleEntitlementDetails & WithRoleArn(RoleArnT &&value)
PrincipalRoleEntitlementDetails & WithAccountName(AccountNameT &&value)
void SetPrincipal(PrincipalT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue