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;
60 template <
typename CreatedAtT = Aws::String>
62 m_createdAtHasBeenSet =
true;
63 m_createdAt = std::forward<CreatedAtT>(value);
65 template <
typename CreatedAtT = Aws::String>
78 template <
typename PrincipalIdT = Aws::String>
80 m_principalIdHasBeenSet =
true;
81 m_principalId = std::forward<PrincipalIdT>(value);
83 template <
typename PrincipalIdT = Aws::String>
96 template <
typename PrincipalTypeT = Aws::String>
98 m_principalTypeHasBeenSet =
true;
99 m_principalType = std::forward<PrincipalTypeT>(value);
101 template <
typename PrincipalTypeT = Aws::String>
114 template <
typename PrincipalNameT = Aws::String>
116 m_principalNameHasBeenSet =
true;
117 m_principalName = std::forward<PrincipalNameT>(value);
119 template <
typename PrincipalNameT = Aws::String>
132 template <
typename AccountIdT = Aws::String>
134 m_accountIdHasBeenSet =
true;
135 m_accountId = std::forward<AccountIdT>(value);
137 template <
typename AccountIdT = Aws::String>
150 template <
typename AccessKeyIdT = Aws::String>
152 m_accessKeyIdHasBeenSet =
true;
153 m_accessKeyId = std::forward<AccessKeyIdT>(value);
155 template <
typename AccessKeyIdT = Aws::String>
168 template <
typename SessionContextT = AwsIamAccessKeySessionContext>
170 m_sessionContextHasBeenSet =
true;
171 m_sessionContext = std::forward<SessionContextT>(value);
173 template <
typename SessionContextT = AwsIamAccessKeySessionContext>
194 AwsIamAccessKeySessionContext m_sessionContext;
195 bool m_statusHasBeenSet =
false;
196 bool m_createdAtHasBeenSet =
false;
197 bool m_principalIdHasBeenSet =
false;
198 bool m_principalTypeHasBeenSet =
false;
199 bool m_principalNameHasBeenSet =
false;
200 bool m_accountIdHasBeenSet =
false;
201 bool m_accessKeyIdHasBeenSet =
false;
202 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