7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/Account.h>
36 AWS_GUARDDUTY_API
User() =
default;
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename U
idT = Aws::String>
61 void SetUid(UidT&& value) { m_uidHasBeenSet =
true; m_uid = std::forward<UidT>(value); }
62 template<
typename U
idT = Aws::String>
72 template<
typename TypeT = Aws::String>
73 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
74 template<
typename TypeT = Aws::String>
84 template<
typename CredentialU
idT = Aws::String>
85 void SetCredentialUid(CredentialUidT&& value) { m_credentialUidHasBeenSet =
true; m_credentialUid = std::forward<CredentialUidT>(value); }
86 template<
typename CredentialU
idT = Aws::String>
96 template<
typename AccountT = Account>
97 void SetAccount(AccountT&& value) { m_accountHasBeenSet =
true; m_account = std::forward<AccountT>(value); }
98 template<
typename AccountT = Account>
104 bool m_nameHasBeenSet =
false;
107 bool m_uidHasBeenSet =
false;
110 bool m_typeHasBeenSet =
false;
113 bool m_credentialUidHasBeenSet =
false;
116 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