7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ConfigRuleState.h>
9#include <aws/config/model/EvaluationModeConfiguration.h>
10#include <aws/config/model/MaximumExecutionFrequency.h>
11#include <aws/config/model/RuleEvaluationVisibility.h>
12#include <aws/config/model/Scope.h>
13#include <aws/config/model/Source.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
26namespace ConfigService {
71 template <
typename ConfigRuleNameT = Aws::String>
73 m_configRuleNameHasBeenSet =
true;
74 m_configRuleName = std::forward<ConfigRuleNameT>(value);
76 template <
typename ConfigRuleNameT = Aws::String>
89 template <
typename ConfigRuleArnT = Aws::String>
91 m_configRuleArnHasBeenSet =
true;
92 m_configRuleArn = std::forward<ConfigRuleArnT>(value);
94 template <
typename ConfigRuleArnT = Aws::String>
107 template <
typename ConfigRuleIdT = Aws::String>
109 m_configRuleIdHasBeenSet =
true;
110 m_configRuleId = std::forward<ConfigRuleIdT>(value);
112 template <
typename ConfigRuleIdT = Aws::String>
125 template <
typename DescriptionT = Aws::String>
127 m_descriptionHasBeenSet =
true;
128 m_description = std::forward<DescriptionT>(value);
130 template <
typename DescriptionT = Aws::String>
148 template <
typename ScopeT = Scope>
150 m_scopeHasBeenSet =
true;
151 m_scope = std::forward<ScopeT>(value);
153 template <
typename ScopeT = Scope>
155 SetScope(std::forward<ScopeT>(value));
170 template <
typename SourceT = Source>
172 m_sourceHasBeenSet =
true;
173 m_source = std::forward<SourceT>(value);
175 template <
typename SourceT = Source>
189 template <
typename InputParametersT = Aws::String>
191 m_inputParametersHasBeenSet =
true;
192 m_inputParameters = std::forward<InputParametersT>(value);
194 template <
typename InputParametersT = Aws::String>
216 m_maximumExecutionFrequencyHasBeenSet =
true;
217 m_maximumExecutionFrequency = value;
242 m_configRuleStateHasBeenSet =
true;
243 m_configRuleState = value;
259 template <
typename CreatedByT = Aws::String>
261 m_createdByHasBeenSet =
true;
262 m_createdBy = std::forward<CreatedByT>(value);
264 template <
typename CreatedByT = Aws::String>
278 template <
typename EvaluationModesT = Aws::Vector<EvaluationModeConfiguration>>
280 m_evaluationModesHasBeenSet =
true;
281 m_evaluationModes = std::forward<EvaluationModesT>(value);
283 template <
typename EvaluationModesT = Aws::Vector<EvaluationModeConfiguration>>
288 template <
typename EvaluationModesT = EvaluationModeConfiguration>
290 m_evaluationModesHasBeenSet =
true;
291 m_evaluationModes.emplace_back(std::forward<EvaluationModesT>(value));
306 m_ruleEvaluationVisibilityHasBeenSet =
true;
307 m_ruleEvaluationVisibility = value;
338 bool m_configRuleNameHasBeenSet =
false;
339 bool m_configRuleArnHasBeenSet =
false;
340 bool m_configRuleIdHasBeenSet =
false;
341 bool m_descriptionHasBeenSet =
false;
342 bool m_scopeHasBeenSet =
false;
343 bool m_sourceHasBeenSet =
false;
344 bool m_inputParametersHasBeenSet =
false;
345 bool m_maximumExecutionFrequencyHasBeenSet =
false;
346 bool m_configRuleStateHasBeenSet =
false;
347 bool m_createdByHasBeenSet =
false;
348 bool m_evaluationModesHasBeenSet =
false;
349 bool m_ruleEvaluationVisibilityHasBeenSet =
false;
AWS_CONFIGSERVICE_API ConfigRule(Aws::Utils::Json::JsonView jsonValue)
bool ConfigRuleNameHasBeenSet() const
AWS_CONFIGSERVICE_API ConfigRule & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigRule & WithMaximumExecutionFrequency(MaximumExecutionFrequency value)
ConfigRule & WithConfigRuleId(ConfigRuleIdT &&value)
ConfigRule & WithEvaluationModes(EvaluationModesT &&value)
bool MaximumExecutionFrequencyHasBeenSet() const
void SetConfigRuleArn(ConfigRuleArnT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool EvaluationModesHasBeenSet() const
ConfigRule & WithCreatedBy(CreatedByT &&value)
RuleEvaluationVisibility GetRuleEvaluationVisibility() const
ConfigRule & WithConfigRuleState(ConfigRuleState value)
void SetInputParameters(InputParametersT &&value)
bool RuleEvaluationVisibilityHasBeenSet() const
const Scope & GetScope() const
ConfigRule & WithConfigRuleName(ConfigRuleNameT &&value)
ConfigRule & WithConfigRuleArn(ConfigRuleArnT &&value)
ConfigRule & WithRuleEvaluationVisibility(RuleEvaluationVisibility value)
bool ConfigRuleArnHasBeenSet() const
ConfigRule & WithSource(SourceT &&value)
ConfigRule & AddEvaluationModes(EvaluationModesT &&value)
ConfigRule & WithScope(ScopeT &&value)
bool ScopeHasBeenSet() const
const Aws::String & GetInputParameters() const
ConfigRule & WithInputParameters(InputParametersT &&value)
ConfigRule & WithDescription(DescriptionT &&value)
ConfigRuleState GetConfigRuleState() const
bool DescriptionHasBeenSet() const
bool ConfigRuleStateHasBeenSet() const
void SetMaximumExecutionFrequency(MaximumExecutionFrequency value)
AWS_CONFIGSERVICE_API ConfigRule()=default
void SetSource(SourceT &&value)
bool CreatedByHasBeenSet() const
const Aws::String & GetDescription() const
bool SourceHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::Vector< EvaluationModeConfiguration > & GetEvaluationModes() const
void SetRuleEvaluationVisibility(RuleEvaluationVisibility value)
const Aws::String & GetConfigRuleName() const
bool ConfigRuleIdHasBeenSet() const
void SetConfigRuleId(ConfigRuleIdT &&value)
void SetEvaluationModes(EvaluationModesT &&value)
bool InputParametersHasBeenSet() const
const Aws::String & GetConfigRuleArn() const
void SetScope(ScopeT &&value)
const Source & GetSource() const
void SetConfigRuleState(ConfigRuleState value)
const Aws::String & GetConfigRuleId() const
void SetConfigRuleName(ConfigRuleNameT &&value)
MaximumExecutionFrequency GetMaximumExecutionFrequency() const
const Aws::String & GetCreatedBy() const
void SetCreatedBy(CreatedByT &&value)
MaximumExecutionFrequency
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue