7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/Account.h>
31 AWS_GUARDDUTY_API
User() =
default;
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename U
idT = Aws::String>
62 m_uidHasBeenSet =
true;
63 m_uid = std::forward<UidT>(value);
65 template <
typename U
idT = Aws::String>
67 SetUid(std::forward<UidT>(value));
78 template <
typename TypeT = Aws::String>
80 m_typeHasBeenSet =
true;
81 m_type = std::forward<TypeT>(value);
83 template <
typename TypeT = Aws::String>
85 SetType(std::forward<TypeT>(value));
96 template <
typename CredentialU
idT = Aws::String>
98 m_credentialUidHasBeenSet =
true;
99 m_credentialUid = std::forward<CredentialUidT>(value);
101 template <
typename CredentialU
idT = Aws::String>
114 template <
typename AccountT = Account>
116 m_accountHasBeenSet =
true;
117 m_account = std::forward<AccountT>(value);
119 template <
typename AccountT = Account>
135 bool m_nameHasBeenSet =
false;
136 bool m_uidHasBeenSet =
false;
137 bool m_typeHasBeenSet =
false;
138 bool m_credentialUidHasBeenSet =
false;
139 bool m_accountHasBeenSet =
false;
const Aws::String & GetName() const
void SetCredentialUid(CredentialUidT &&value)
User & WithAccount(AccountT &&value)
const Aws::String & GetUid() const
bool CredentialUidHasBeenSet() const
bool NameHasBeenSet() const
User & WithName(NameT &&value)
const Account & GetAccount() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool AccountHasBeenSet() const
User & WithType(TypeT &&value)
void SetAccount(AccountT &&value)
void SetName(NameT &&value)
const Aws::String & GetCredentialUid() const
bool TypeHasBeenSet() const
void SetUid(UidT &&value)
const Aws::String & GetType() const
AWS_GUARDDUTY_API User()=default
void SetType(TypeT &&value)
AWS_GUARDDUTY_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API User(Aws::Utils::Json::JsonView jsonValue)
User & WithUid(UidT &&value)
User & WithCredentialUid(CredentialUidT &&value)
bool UidHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue