7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/AlarmConfiguration.h>
11#include <aws/ssm/model/Target.h>
46 template <
typename AccountsT = Aws::Vector<Aws::String>>
48 m_accountsHasBeenSet =
true;
49 m_accounts = std::forward<AccountsT>(value);
51 template <
typename AccountsT = Aws::Vector<Aws::String>>
56 template <
typename AccountsT = Aws::String>
58 m_accountsHasBeenSet =
true;
59 m_accounts.emplace_back(std::forward<AccountsT>(value));
71 template <
typename RegionsT = Aws::Vector<Aws::String>>
73 m_regionsHasBeenSet =
true;
74 m_regions = std::forward<RegionsT>(value);
76 template <
typename RegionsT = Aws::Vector<Aws::String>>
81 template <
typename RegionsT = Aws::String>
83 m_regionsHasBeenSet =
true;
84 m_regions.emplace_back(std::forward<RegionsT>(value));
97 template <
typename TargetLocationMaxConcurrencyT = Aws::String>
99 m_targetLocationMaxConcurrencyHasBeenSet =
true;
100 m_targetLocationMaxConcurrency = std::forward<TargetLocationMaxConcurrencyT>(value);
102 template <
typename TargetLocationMaxConcurrencyT = Aws::String>
117 template <
typename TargetLocationMaxErrorsT = Aws::String>
119 m_targetLocationMaxErrorsHasBeenSet =
true;
120 m_targetLocationMaxErrors = std::forward<TargetLocationMaxErrorsT>(value);
122 template <
typename TargetLocationMaxErrorsT = Aws::String>
137 template <
typename ExecutionRoleNameT = Aws::String>
139 m_executionRoleNameHasBeenSet =
true;
140 m_executionRoleName = std::forward<ExecutionRoleNameT>(value);
142 template <
typename ExecutionRoleNameT = Aws::String>
153 template <
typename TargetLocationAlarmConfigurationT = AlarmConfiguration>
155 m_targetLocationAlarmConfigurationHasBeenSet =
true;
156 m_targetLocationAlarmConfiguration = std::forward<TargetLocationAlarmConfigurationT>(value);
158 template <
typename TargetLocationAlarmConfigurationT = AlarmConfiguration>
174 m_includeChildOrganizationUnitsHasBeenSet =
true;
175 m_includeChildOrganizationUnits = value;
190 template <
typename ExcludeAccountsT = Aws::Vector<Aws::String>>
192 m_excludeAccountsHasBeenSet =
true;
193 m_excludeAccounts = std::forward<ExcludeAccountsT>(value);
195 template <
typename ExcludeAccountsT = Aws::Vector<Aws::String>>
200 template <
typename ExcludeAccountsT = Aws::String>
202 m_excludeAccountsHasBeenSet =
true;
203 m_excludeAccounts.emplace_back(std::forward<ExcludeAccountsT>(value));
218 template <
typename TargetsT = Aws::Vector<Target>>
220 m_targetsHasBeenSet =
true;
221 m_targets = std::forward<TargetsT>(value);
223 template <
typename TargetsT = Aws::Vector<Target>>
228 template <
typename TargetsT = Target>
230 m_targetsHasBeenSet =
true;
231 m_targets.emplace_back(std::forward<TargetsT>(value));
245 template <
typename TargetsMaxConcurrencyT = Aws::String>
247 m_targetsMaxConcurrencyHasBeenSet =
true;
248 m_targetsMaxConcurrency = std::forward<TargetsMaxConcurrencyT>(value);
250 template <
typename TargetsMaxConcurrencyT = Aws::String>
267 template <
typename TargetsMaxErrorsT = Aws::String>
269 m_targetsMaxErrorsHasBeenSet =
true;
270 m_targetsMaxErrors = std::forward<TargetsMaxErrorsT>(value);
272 template <
typename TargetsMaxErrorsT = Aws::String>
291 bool m_includeChildOrganizationUnits{
false};
300 bool m_accountsHasBeenSet =
false;
301 bool m_regionsHasBeenSet =
false;
302 bool m_targetLocationMaxConcurrencyHasBeenSet =
false;
303 bool m_targetLocationMaxErrorsHasBeenSet =
false;
304 bool m_executionRoleNameHasBeenSet =
false;
305 bool m_targetLocationAlarmConfigurationHasBeenSet =
false;
306 bool m_includeChildOrganizationUnitsHasBeenSet =
false;
307 bool m_excludeAccountsHasBeenSet =
false;
308 bool m_targetsHasBeenSet =
false;
309 bool m_targetsMaxConcurrencyHasBeenSet =
false;
310 bool m_targetsMaxErrorsHasBeenSet =
false;
const Aws::String & GetTargetsMaxErrors() const
bool TargetsMaxErrorsHasBeenSet() const
TargetLocation & AddAccounts(AccountsT &&value)
const Aws::String & GetExecutionRoleName() const
TargetLocation & WithTargetsMaxConcurrency(TargetsMaxConcurrencyT &&value)
AWS_SSM_API TargetLocation()=default
AWS_SSM_API TargetLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExecutionRoleName(ExecutionRoleNameT &&value)
TargetLocation & AddRegions(RegionsT &&value)
bool TargetLocationAlarmConfigurationHasBeenSet() const
TargetLocation & WithExcludeAccounts(ExcludeAccountsT &&value)
bool IncludeChildOrganizationUnitsHasBeenSet() const
const AlarmConfiguration & GetTargetLocationAlarmConfiguration() const
void SetAccounts(AccountsT &&value)
TargetLocation & WithTargets(TargetsT &&value)
void SetRegions(RegionsT &&value)
const Aws::String & GetTargetsMaxConcurrency() const
bool ExecutionRoleNameHasBeenSet() const
const Aws::String & GetTargetLocationMaxConcurrency() const
void SetTargetsMaxConcurrency(TargetsMaxConcurrencyT &&value)
bool RegionsHasBeenSet() const
bool TargetsHasBeenSet() const
bool GetIncludeChildOrganizationUnits() const
TargetLocation & WithTargetLocationMaxConcurrency(TargetLocationMaxConcurrencyT &&value)
const Aws::Vector< Aws::String > & GetAccounts() const
TargetLocation & WithExecutionRoleName(ExecutionRoleNameT &&value)
void SetTargetLocationAlarmConfiguration(TargetLocationAlarmConfigurationT &&value)
TargetLocation & AddTargets(TargetsT &&value)
AWS_SSM_API TargetLocation(Aws::Utils::Json::JsonView jsonValue)
bool TargetsMaxConcurrencyHasBeenSet() const
TargetLocation & WithTargetLocationMaxErrors(TargetLocationMaxErrorsT &&value)
TargetLocation & WithTargetsMaxErrors(TargetsMaxErrorsT &&value)
TargetLocation & WithAccounts(AccountsT &&value)
const Aws::Vector< Aws::String > & GetRegions() const
const Aws::String & GetTargetLocationMaxErrors() const
bool AccountsHasBeenSet() const
bool ExcludeAccountsHasBeenSet() const
TargetLocation & WithIncludeChildOrganizationUnits(bool value)
void SetTargetLocationMaxErrors(TargetLocationMaxErrorsT &&value)
void SetIncludeChildOrganizationUnits(bool value)
const Aws::Vector< Target > & GetTargets() const
TargetLocation & WithRegions(RegionsT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExcludeAccounts(ExcludeAccountsT &&value)
const Aws::Vector< Aws::String > & GetExcludeAccounts() const
bool TargetLocationMaxErrorsHasBeenSet() const
TargetLocation & WithTargetLocationAlarmConfiguration(TargetLocationAlarmConfigurationT &&value)
void SetTargetLocationMaxConcurrency(TargetLocationMaxConcurrencyT &&value)
void SetTargets(TargetsT &&value)
void SetTargetsMaxErrors(TargetsMaxErrorsT &&value)
bool TargetLocationMaxConcurrencyHasBeenSet() const
TargetLocation & AddExcludeAccounts(ExcludeAccountsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue