7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
57 template<
typename AccountsT = Aws::Vector<Aws::String>>
58 void SetAccounts(AccountsT&& value) { m_accountsHasBeenSet =
true; m_accounts = std::forward<AccountsT>(value); }
59 template<
typename AccountsT = Aws::Vector<Aws::String>>
61 template<
typename AccountsT = Aws::String>
62 AccountScope&
AddAccounts(AccountsT&& value) { m_accountsHasBeenSet =
true; m_accounts.emplace_back(std::forward<AccountsT>(value));
return *
this; }
75 inline void SetAllAccountsEnabled(
bool value) { m_allAccountsEnabledHasBeenSet =
true; m_allAccountsEnabled = value; }
98 bool m_accountsHasBeenSet =
false;
100 bool m_allAccountsEnabled{
false};
101 bool m_allAccountsEnabledHasBeenSet =
false;
103 bool m_excludeSpecifiedAccounts{
false};
104 bool m_excludeSpecifiedAccountsHasBeenSet =
false;
AccountScope & WithAllAccountsEnabled(bool value)
bool ExcludeSpecifiedAccountsHasBeenSet() const
AccountScope & WithExcludeSpecifiedAccounts(bool value)
AWS_FMS_API AccountScope & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAccounts() const
bool GetExcludeSpecifiedAccounts() const
void SetAccounts(AccountsT &&value)
void SetAllAccountsEnabled(bool value)
AWS_FMS_API AccountScope()=default
AWS_FMS_API AccountScope(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AccountScope & AddAccounts(AccountsT &&value)
bool AccountsHasBeenSet() const
bool GetAllAccountsEnabled() const
AccountScope & WithAccounts(AccountsT &&value)
void SetExcludeSpecifiedAccounts(bool value)
bool AllAccountsEnabledHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue