7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/model/CustomAccountPoolHandler.h>
10#include <aws/datazone/model/AccountInfo.h>
50 template<
typename AccountsT = Aws::Vector<AccountInfo>>
51 void SetAccounts(AccountsT&& value) { m_accountsHasBeenSet =
true; m_accounts = std::forward<AccountsT>(value); }
52 template<
typename AccountsT = Aws::Vector<AccountInfo>>
54 template<
typename AccountsT = AccountInfo>
55 AccountSource&
AddAccounts(AccountsT&& value) { m_accountsHasBeenSet =
true; m_accounts.emplace_back(std::forward<AccountsT>(value));
return *
this; }
64 template<
typename CustomAccountPoolHandlerT = CustomAccountPoolHandler>
65 void SetCustomAccountPoolHandler(CustomAccountPoolHandlerT&& value) { m_customAccountPoolHandlerHasBeenSet =
true; m_customAccountPoolHandler = std::forward<CustomAccountPoolHandlerT>(value); }
66 template<
typename CustomAccountPoolHandlerT = CustomAccountPoolHandler>
72 bool m_accountsHasBeenSet =
false;
75 bool m_customAccountPoolHandlerHasBeenSet =
false;
AWS_DATAZONE_API AccountSource()=default
bool CustomAccountPoolHandlerHasBeenSet() const
AWS_DATAZONE_API AccountSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const CustomAccountPoolHandler & GetCustomAccountPoolHandler() const
AccountSource & WithCustomAccountPoolHandler(CustomAccountPoolHandlerT &&value)
AccountSource & AddAccounts(AccountsT &&value)
AccountSource & WithAccounts(AccountsT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccounts(AccountsT &&value)
const Aws::Vector< AccountInfo > & GetAccounts() const
void SetCustomAccountPoolHandler(CustomAccountPoolHandlerT &&value)
bool AccountsHasBeenSet() const
AWS_DATAZONE_API AccountSource(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue