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>
76 bool m_principalHasBeenSet =
false;
77 bool m_roleArnHasBeenSet =
false;
AWS_ACCOUNTACCESS_API PrincipalRoleEntitlement & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PrincipalHasBeenSet() const
AWS_ACCOUNTACCESS_API PrincipalRoleEntitlement(Aws::Utils::Json::JsonView jsonValue)
bool RoleArnHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
PrincipalRoleEntitlement & WithPrincipal(PrincipalT &&value)
const Principal & GetPrincipal() const
AWS_ACCOUNTACCESS_API Aws::Utils::Json::JsonValue Jsonize() const
PrincipalRoleEntitlement & WithRoleArn(RoleArnT &&value)
const Aws::String & GetRoleArn() const
AWS_ACCOUNTACCESS_API PrincipalRoleEntitlement()=default
void SetPrincipal(PrincipalT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue