7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetAccessKeyId(
const char* value) { m_accessKeyIdHasBeenSet =
true; m_accessKeyId.assign(value); }
62 inline void SetPrincipalId(
const char* value) { m_principalIdHasBeenSet =
true; m_principalId.assign(value); }
76 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
90 inline void SetUserType(
const char* value) { m_userTypeHasBeenSet =
true; m_userType.assign(value); }
98 bool m_accessKeyIdHasBeenSet =
false;
101 bool m_principalIdHasBeenSet =
false;
104 bool m_userNameHasBeenSet =
false;
107 bool m_userTypeHasBeenSet =
false;
AccessKeyDetails & WithUserName(Aws::String &&value)
void SetUserName(const char *value)
void SetPrincipalId(Aws::String &&value)
bool PrincipalIdHasBeenSet() const
AccessKeyDetails & WithUserName(const Aws::String &value)
const Aws::String & GetPrincipalId() const
bool UserTypeHasBeenSet() const
void SetPrincipalId(const char *value)
void SetUserName(const Aws::String &value)
AccessKeyDetails & WithPrincipalId(const char *value)
AccessKeyDetails & WithPrincipalId(const Aws::String &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserName(Aws::String &&value)
AccessKeyDetails & WithUserType(const Aws::String &value)
const Aws::String & GetUserName() const
AWS_GUARDDUTY_API AccessKeyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessKeyDetails & WithUserName(const char *value)
void SetUserType(Aws::String &&value)
void SetAccessKeyId(Aws::String &&value)
AccessKeyDetails & WithUserType(const char *value)
AWS_GUARDDUTY_API AccessKeyDetails(Aws::Utils::Json::JsonView jsonValue)
bool AccessKeyIdHasBeenSet() const
void SetPrincipalId(const Aws::String &value)
void SetUserType(const Aws::String &value)
AccessKeyDetails & WithAccessKeyId(const Aws::String &value)
AWS_GUARDDUTY_API AccessKeyDetails()
AccessKeyDetails & WithPrincipalId(Aws::String &&value)
const Aws::String & GetAccessKeyId() const
void SetUserType(const char *value)
bool UserNameHasBeenSet() const
AccessKeyDetails & WithUserType(Aws::String &&value)
void SetAccessKeyId(const char *value)
AccessKeyDetails & WithAccessKeyId(const char *value)
void SetAccessKeyId(const Aws::String &value)
AccessKeyDetails & WithAccessKeyId(Aws::String &&value)
const Aws::String & GetUserType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue