7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/AwsIamAccessKeySessionContext.h>
10#include <aws/securityhub/model/AwsIamAccessKeyStatus.h>
43 m_statusHasBeenSet =
true;
61 template <
typename CreatedAtT = Aws::String>
63 m_createdAtHasBeenSet =
true;
64 m_createdAt = std::forward<CreatedAtT>(value);
66 template <
typename CreatedAtT = Aws::String>
79 template <
typename PrincipalIdT = Aws::String>
81 m_principalIdHasBeenSet =
true;
82 m_principalId = std::forward<PrincipalIdT>(value);
84 template <
typename PrincipalIdT = Aws::String>
97 template <
typename PrincipalTypeT = Aws::String>
99 m_principalTypeHasBeenSet =
true;
100 m_principalType = std::forward<PrincipalTypeT>(value);
102 template <
typename PrincipalTypeT = Aws::String>
115 template <
typename PrincipalNameT = Aws::String>
117 m_principalNameHasBeenSet =
true;
118 m_principalName = std::forward<PrincipalNameT>(value);
120 template <
typename PrincipalNameT = Aws::String>
133 template <
typename AccountIdT = Aws::String>
135 m_accountIdHasBeenSet =
true;
136 m_accountId = std::forward<AccountIdT>(value);
138 template <
typename AccountIdT = Aws::String>
151 template <
typename AccessKeyIdT = Aws::String>
153 m_accessKeyIdHasBeenSet =
true;
154 m_accessKeyId = std::forward<AccessKeyIdT>(value);
156 template <
typename AccessKeyIdT = Aws::String>
169 template <
typename SessionContextT = AwsIamAccessKeySessionContext>
171 m_sessionContextHasBeenSet =
true;
172 m_sessionContext = std::forward<SessionContextT>(value);
174 template <
typename SessionContextT = AwsIamAccessKeySessionContext>
195 AwsIamAccessKeySessionContext m_sessionContext;
196 bool m_statusHasBeenSet =
false;
197 bool m_createdAtHasBeenSet =
false;
198 bool m_principalIdHasBeenSet =
false;
199 bool m_principalTypeHasBeenSet =
false;
200 bool m_principalNameHasBeenSet =
false;
201 bool m_accountIdHasBeenSet =
false;
202 bool m_accessKeyIdHasBeenSet =
false;
203 bool m_sessionContextHasBeenSet =
false;
const Aws::String & GetPrincipalType() const
void SetPrincipalType(PrincipalTypeT &&value)
AwsIamAccessKeyDetails & WithAccountId(AccountIdT &&value)
const Aws::String & GetAccountId() const
void SetCreatedAt(CreatedAtT &&value)
AwsIamAccessKeyStatus GetStatus() const
bool AccessKeyIdHasBeenSet() const
AwsIamAccessKeyDetails & WithStatus(AwsIamAccessKeyStatus value)
const AwsIamAccessKeySessionContext & GetSessionContext() const
void SetSessionContext(SessionContextT &&value)
void SetStatus(AwsIamAccessKeyStatus value)
AwsIamAccessKeyDetails & WithPrincipalType(PrincipalTypeT &&value)
bool AccountIdHasBeenSet() const
AwsIamAccessKeyDetails & WithSessionContext(SessionContextT &&value)
bool PrincipalIdHasBeenSet() const
AwsIamAccessKeyDetails & WithAccessKeyId(AccessKeyIdT &&value)
const Aws::String & GetPrincipalId() const
bool PrincipalTypeHasBeenSet() const
void SetAccessKeyId(AccessKeyIdT &&value)
AwsIamAccessKeyDetails & WithPrincipalName(PrincipalNameT &&value)
bool SessionContextHasBeenSet() const
bool CreatedAtHasBeenSet() const
bool PrincipalNameHasBeenSet() const
void SetPrincipalId(PrincipalIdT &&value)
void SetAccountId(AccountIdT &&value)
AWS_SECURITYHUB_API AwsIamAccessKeyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAccessKeyId() const
AWS_SECURITYHUB_API AwsIamAccessKeyDetails(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
AwsIamAccessKeyDetails & WithPrincipalId(PrincipalIdT &&value)
void SetPrincipalName(PrincipalNameT &&value)
const Aws::String & GetPrincipalName() const
const Aws::String & GetCreatedAt() const
AWS_SECURITYHUB_API AwsIamAccessKeyDetails()=default
AwsIamAccessKeyDetails & WithCreatedAt(CreatedAtT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue