7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/outposts/model/AWSServiceName.h>
50 template<
typename InstancesT = Aws::Vector<Aws::String>>
51 void SetInstances(InstancesT&& value) { m_instancesHasBeenSet =
true; m_instances = std::forward<InstancesT>(value); }
52 template<
typename InstancesT = Aws::Vector<Aws::String>>
54 template<
typename InstancesT = Aws::String>
55 InstancesToExclude&
AddInstances(InstancesT&& value) { m_instancesHasBeenSet =
true; m_instances.emplace_back(std::forward<InstancesT>(value));
return *
this; }
64 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
65 void SetAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet =
true; m_accountIds = std::forward<AccountIdsT>(value); }
66 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
68 template<
typename AccountIdsT = Aws::String>
69 InstancesToExclude&
AddAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet =
true; m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
return *
this; }
79 template<
typename ServicesT = Aws::Vector<AWSServiceName>>
80 void SetServices(ServicesT&& value) { m_servicesHasBeenSet =
true; m_services = std::forward<ServicesT>(value); }
81 template<
typename ServicesT = Aws::Vector<AWSServiceName>>
88 bool m_instancesHasBeenSet =
false;
91 bool m_accountIdsHasBeenSet =
false;
94 bool m_servicesHasBeenSet =
false;
const Aws::Vector< AWSServiceName > & GetServices() const
const Aws::Vector< Aws::String > & GetInstances() const
bool ServicesHasBeenSet() const
InstancesToExclude & WithServices(ServicesT &&value)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool InstancesHasBeenSet() const
bool AccountIdsHasBeenSet() const
InstancesToExclude & AddServices(AWSServiceName value)
AWS_OUTPOSTS_API InstancesToExclude(Aws::Utils::Json::JsonView jsonValue)
InstancesToExclude & WithAccountIds(AccountIdsT &&value)
InstancesToExclude & AddInstances(InstancesT &&value)
const Aws::Vector< Aws::String > & GetAccountIds() const
AWS_OUTPOSTS_API InstancesToExclude()=default
void SetServices(ServicesT &&value)
void SetAccountIds(AccountIdsT &&value)
InstancesToExclude & AddAccountIds(AccountIdsT &&value)
AWS_OUTPOSTS_API InstancesToExclude & operator=(Aws::Utils::Json::JsonView jsonValue)
InstancesToExclude & WithInstances(InstancesT &&value)
void SetInstances(InstancesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue