7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9#include <aws/macie2/model/SessionContext.h>
44 template <
typename AccessKeyIdT = Aws::String>
46 m_accessKeyIdHasBeenSet =
true;
47 m_accessKeyId = std::forward<AccessKeyIdT>(value);
49 template <
typename AccessKeyIdT = Aws::String>
63 template <
typename AccountIdT = Aws::String>
65 m_accountIdHasBeenSet =
true;
66 m_accountId = std::forward<AccountIdT>(value);
68 template <
typename AccountIdT = Aws::String>
82 template <
typename ArnT = Aws::String>
84 m_arnHasBeenSet =
true;
85 m_arn = std::forward<ArnT>(value);
87 template <
typename ArnT = Aws::String>
89 SetArn(std::forward<ArnT>(value));
101 template <
typename PrincipalIdT = Aws::String>
103 m_principalIdHasBeenSet =
true;
104 m_principalId = std::forward<PrincipalIdT>(value);
106 template <
typename PrincipalIdT = Aws::String>
120 template <
typename SessionContextT = SessionContext>
122 m_sessionContextHasBeenSet =
true;
123 m_sessionContext = std::forward<SessionContextT>(value);
125 template <
typename SessionContextT = SessionContext>
141 bool m_accessKeyIdHasBeenSet =
false;
142 bool m_accountIdHasBeenSet =
false;
143 bool m_arnHasBeenSet =
false;
144 bool m_principalIdHasBeenSet =
false;
145 bool m_sessionContextHasBeenSet =
false;
const Aws::String & GetAccessKeyId() const
const Aws::String & GetAccountId() const
FederatedUser & WithAccessKeyId(AccessKeyIdT &&value)
const SessionContext & GetSessionContext() const
FederatedUser & WithPrincipalId(PrincipalIdT &&value)
FederatedUser & WithArn(ArnT &&value)
bool SessionContextHasBeenSet() const
void SetPrincipalId(PrincipalIdT &&value)
bool ArnHasBeenSet() const
void SetAccessKeyId(AccessKeyIdT &&value)
void SetSessionContext(SessionContextT &&value)
bool AccountIdHasBeenSet() const
const Aws::String & GetArn() const
bool AccessKeyIdHasBeenSet() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API FederatedUser(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(AccountIdT &&value)
bool PrincipalIdHasBeenSet() const
FederatedUser & WithSessionContext(SessionContextT &&value)
FederatedUser & WithAccountId(AccountIdT &&value)
AWS_MACIE2_API FederatedUser & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPrincipalId() const
AWS_MACIE2_API FederatedUser()=default
void SetArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue