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>
76 inline void SetCreatedAt(
const char* value) { m_createdAtHasBeenSet =
true; m_createdAt.assign(value); }
90 inline void SetPrincipalId(
const char* value) { m_principalIdHasBeenSet =
true; m_principalId.assign(value); }
104 inline void SetPrincipalType(
const char* value) { m_principalTypeHasBeenSet =
true; m_principalType.assign(value); }
118 inline void SetPrincipalName(
const char* value) { m_principalNameHasBeenSet =
true; m_principalName.assign(value); }
132 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
146 inline void SetAccessKeyId(
const char* value) { m_accessKeyIdHasBeenSet =
true; m_accessKeyId.assign(value); }
166 bool m_statusHasBeenSet =
false;
169 bool m_createdAtHasBeenSet =
false;
172 bool m_principalIdHasBeenSet =
false;
175 bool m_principalTypeHasBeenSet =
false;
178 bool m_principalNameHasBeenSet =
false;
181 bool m_accountIdHasBeenSet =
false;
184 bool m_accessKeyIdHasBeenSet =
false;
187 bool m_sessionContextHasBeenSet =
false;
AwsIamAccessKeyDetails & WithSessionContext(const AwsIamAccessKeySessionContext &value)
AwsIamAccessKeyDetails & WithPrincipalId(const char *value)
const Aws::String & GetPrincipalType() const
AwsIamAccessKeyDetails & WithPrincipalName(const char *value)
void SetPrincipalName(Aws::String &&value)
AwsIamAccessKeyDetails & WithPrincipalName(Aws::String &&value)
void SetPrincipalId(const Aws::String &value)
AwsIamAccessKeyDetails & WithAccessKeyId(const char *value)
void SetCreatedAt(Aws::String &&value)
const Aws::String & GetAccountId() const
void SetPrincipalType(const char *value)
const AwsIamAccessKeyStatus & GetStatus() const
AwsIamAccessKeyDetails & WithAccountId(const char *value)
AwsIamAccessKeyDetails & WithStatus(AwsIamAccessKeyStatus &&value)
void SetAccountId(Aws::String &&value)
void SetCreatedAt(const Aws::String &value)
void SetStatus(const AwsIamAccessKeyStatus &value)
AwsIamAccessKeyDetails & WithPrincipalType(Aws::String &&value)
bool AccessKeyIdHasBeenSet() const
AwsIamAccessKeyDetails & WithAccessKeyId(const Aws::String &value)
const AwsIamAccessKeySessionContext & GetSessionContext() const
AwsIamAccessKeyDetails & WithCreatedAt(const Aws::String &value)
AwsIamAccessKeyDetails & WithCreatedAt(Aws::String &&value)
void SetPrincipalName(const Aws::String &value)
void SetStatus(AwsIamAccessKeyStatus &&value)
AwsIamAccessKeyDetails & WithStatus(const AwsIamAccessKeyStatus &value)
AwsIamAccessKeyDetails & WithCreatedAt(const char *value)
bool AccountIdHasBeenSet() const
void SetAccessKeyId(const Aws::String &value)
void SetSessionContext(AwsIamAccessKeySessionContext &&value)
AwsIamAccessKeyDetails & WithPrincipalId(const Aws::String &value)
bool PrincipalIdHasBeenSet() const
const Aws::String & GetPrincipalId() const
bool PrincipalTypeHasBeenSet() const
void SetSessionContext(const AwsIamAccessKeySessionContext &value)
AwsIamAccessKeyDetails & WithAccountId(const Aws::String &value)
void SetAccountId(const char *value)
bool SessionContextHasBeenSet() const
void SetPrincipalName(const char *value)
void SetPrincipalId(const char *value)
bool CreatedAtHasBeenSet() const
AwsIamAccessKeyDetails & WithAccessKeyId(Aws::String &&value)
void SetAccessKeyId(Aws::String &&value)
bool PrincipalNameHasBeenSet() const
void SetAccessKeyId(const char *value)
void SetPrincipalId(Aws::String &&value)
AWS_SECURITYHUB_API AwsIamAccessKeyDetails()
AwsIamAccessKeyDetails & WithAccountId(Aws::String &&value)
AWS_SECURITYHUB_API AwsIamAccessKeyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsIamAccessKeyDetails & WithPrincipalType(const char *value)
const Aws::String & GetAccessKeyId() const
void SetCreatedAt(const char *value)
AWS_SECURITYHUB_API AwsIamAccessKeyDetails(Aws::Utils::Json::JsonView jsonValue)
AwsIamAccessKeyDetails & WithSessionContext(AwsIamAccessKeySessionContext &&value)
void SetPrincipalType(const Aws::String &value)
bool StatusHasBeenSet() const
void SetAccountId(const Aws::String &value)
AwsIamAccessKeyDetails & WithPrincipalType(const Aws::String &value)
void SetPrincipalType(Aws::String &&value)
AwsIamAccessKeyDetails & WithPrincipalId(Aws::String &&value)
AwsIamAccessKeyDetails & WithPrincipalName(const Aws::String &value)
const Aws::String & GetPrincipalName() const
const Aws::String & GetCreatedAt() const
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