7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/SessionContext.h>
50 template<
typename AccessKeyIdT = Aws::String>
51 void SetAccessKeyId(AccessKeyIdT&& value) { m_accessKeyIdHasBeenSet =
true; m_accessKeyId = std::forward<AccessKeyIdT>(value); }
52 template<
typename AccessKeyIdT = Aws::String>
63 template<
typename AccountIdT = Aws::String>
64 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
65 template<
typename AccountIdT = Aws::String>
76 template<
typename ArnT = Aws::String>
77 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
78 template<
typename ArnT = Aws::String>
89 template<
typename PrincipalIdT = Aws::String>
90 void SetPrincipalId(PrincipalIdT&& value) { m_principalIdHasBeenSet =
true; m_principalId = std::forward<PrincipalIdT>(value); }
91 template<
typename PrincipalIdT = Aws::String>
102 template<
typename SessionContextT = SessionContext>
103 void SetSessionContext(SessionContextT&& value) { m_sessionContextHasBeenSet =
true; m_sessionContext = std::forward<SessionContextT>(value); }
104 template<
typename SessionContextT = SessionContext>
110 bool m_accessKeyIdHasBeenSet =
false;
113 bool m_accountIdHasBeenSet =
false;
116 bool m_arnHasBeenSet =
false;
119 bool m_principalIdHasBeenSet =
false;
122 bool m_sessionContextHasBeenSet =
false;
AWS_MACIE2_API AssumedRole()=default
void SetArn(ArnT &&value)
bool AccessKeyIdHasBeenSet() const
const Aws::String & GetArn() const
AssumedRole & WithAccessKeyId(AccessKeyIdT &&value)
bool PrincipalIdHasBeenSet() const
const Aws::String & GetAccountId() const
void SetSessionContext(SessionContextT &&value)
AssumedRole & WithArn(ArnT &&value)
bool ArnHasBeenSet() const
AssumedRole & WithPrincipalId(PrincipalIdT &&value)
AWS_MACIE2_API AssumedRole(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API AssumedRole & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountId(AccountIdT &&value)
AssumedRole & WithAccountId(AccountIdT &&value)
const SessionContext & GetSessionContext() const
const Aws::String & GetPrincipalId() const
const Aws::String & GetAccessKeyId() const
bool SessionContextHasBeenSet() const
void SetPrincipalId(PrincipalIdT &&value)
AssumedRole & WithSessionContext(SessionContextT &&value)
void SetAccessKeyId(AccessKeyIdT &&value)
bool AccountIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue