7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsIamAccessKeyStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsIamAccessKeySessionContext.h>
60 template<
typename CreatedAtT = Aws::String>
61 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
62 template<
typename CreatedAtT = Aws::String>
72 template<
typename PrincipalIdT = Aws::String>
73 void SetPrincipalId(PrincipalIdT&& value) { m_principalIdHasBeenSet =
true; m_principalId = std::forward<PrincipalIdT>(value); }
74 template<
typename PrincipalIdT = Aws::String>
84 template<
typename PrincipalTypeT = Aws::String>
85 void SetPrincipalType(PrincipalTypeT&& value) { m_principalTypeHasBeenSet =
true; m_principalType = std::forward<PrincipalTypeT>(value); }
86 template<
typename PrincipalTypeT = Aws::String>
96 template<
typename PrincipalNameT = Aws::String>
97 void SetPrincipalName(PrincipalNameT&& value) { m_principalNameHasBeenSet =
true; m_principalName = std::forward<PrincipalNameT>(value); }
98 template<
typename PrincipalNameT = Aws::String>
108 template<
typename AccountIdT = Aws::String>
109 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
110 template<
typename AccountIdT = Aws::String>
120 template<
typename AccessKeyIdT = Aws::String>
121 void SetAccessKeyId(AccessKeyIdT&& value) { m_accessKeyIdHasBeenSet =
true; m_accessKeyId = std::forward<AccessKeyIdT>(value); }
122 template<
typename AccessKeyIdT = Aws::String>
132 template<
typename SessionContextT = AwsIamAccessKeySessionContext>
133 void SetSessionContext(SessionContextT&& value) { m_sessionContextHasBeenSet =
true; m_sessionContext = std::forward<SessionContextT>(value); }
134 template<
typename SessionContextT = AwsIamAccessKeySessionContext>
140 bool m_statusHasBeenSet =
false;
143 bool m_createdAtHasBeenSet =
false;
146 bool m_principalIdHasBeenSet =
false;
149 bool m_principalTypeHasBeenSet =
false;
152 bool m_principalNameHasBeenSet =
false;
155 bool m_accountIdHasBeenSet =
false;
158 bool m_accessKeyIdHasBeenSet =
false;
160 AwsIamAccessKeySessionContext m_sessionContext;
161 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