7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/network-security-manager/NetworkSecurityManager_EXPORTS.h>
19namespace NetworkSecurityManager {
41 template <
typename AccountIdT = Aws::String>
43 m_accountIdHasBeenSet =
true;
44 m_accountId = std::forward<AccountIdT>(value);
46 template <
typename AccountIdT = Aws::String>
59 template <
typename NameT = Aws::String>
61 m_nameHasBeenSet =
true;
62 m_name = std::forward<NameT>(value);
64 template <
typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
77 template <
typename EmailT = Aws::String>
79 m_emailHasBeenSet =
true;
80 m_email = std::forward<EmailT>(value);
82 template <
typename EmailT = Aws::String>
84 SetEmail(std::forward<EmailT>(value));
94 bool m_accountIdHasBeenSet =
false;
95 bool m_nameHasBeenSet =
false;
96 bool m_emailHasBeenSet =
false;
AccountReference & WithEmail(EmailT &&value)
bool EmailHasBeenSet() const
void SetEmail(EmailT &&value)
bool AccountIdHasBeenSet() const
AWS_NETWORKSECURITYMANAGER_API AccountReference(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
AccountReference & WithName(NameT &&value)
AWS_NETWORKSECURITYMANAGER_API AccountReference & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
AWS_NETWORKSECURITYMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
AWS_NETWORKSECURITYMANAGER_API AccountReference()=default
const Aws::String & GetEmail() const
AccountReference & WithAccountId(AccountIdT &&value)
void SetAccountId(AccountIdT &&value)
const Aws::String & GetAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue