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/Scope.h>
12#include <aws/config/model/Source.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
25namespace ConfigService {
70 template <
typename ConfigRuleNameT = Aws::String>
72 m_configRuleNameHasBeenSet =
true;
73 m_configRuleName = std::forward<ConfigRuleNameT>(value);
75 template <
typename ConfigRuleNameT = Aws::String>
88 template <
typename ConfigRuleArnT = Aws::String>
90 m_configRuleArnHasBeenSet =
true;
91 m_configRuleArn = std::forward<ConfigRuleArnT>(value);
93 template <
typename ConfigRuleArnT = Aws::String>
106 template <
typename ConfigRuleIdT = Aws::String>
108 m_configRuleIdHasBeenSet =
true;
109 m_configRuleId = std::forward<ConfigRuleIdT>(value);
111 template <
typename ConfigRuleIdT = Aws::String>
124 template <
typename DescriptionT = Aws::String>
126 m_descriptionHasBeenSet =
true;
127 m_description = std::forward<DescriptionT>(value);
129 template <
typename DescriptionT = Aws::String>
147 template <
typename ScopeT = Scope>
149 m_scopeHasBeenSet =
true;
150 m_scope = std::forward<ScopeT>(value);
152 template <
typename ScopeT = Scope>
154 SetScope(std::forward<ScopeT>(value));
169 template <
typename SourceT = Source>
171 m_sourceHasBeenSet =
true;
172 m_source = std::forward<SourceT>(value);
174 template <
typename SourceT = Source>
188 template <
typename InputParametersT = Aws::String>
190 m_inputParametersHasBeenSet =
true;
191 m_inputParameters = std::forward<InputParametersT>(value);
193 template <
typename InputParametersT = Aws::String>
215 m_maximumExecutionFrequencyHasBeenSet =
true;
216 m_maximumExecutionFrequency = value;
241 m_configRuleStateHasBeenSet =
true;
242 m_configRuleState = value;
258 template <
typename CreatedByT = Aws::String>
260 m_createdByHasBeenSet =
true;
261 m_createdBy = std::forward<CreatedByT>(value);
263 template <
typename CreatedByT = Aws::String>
277 template <
typename EvaluationModesT = Aws::Vector<EvaluationModeConfiguration>>
279 m_evaluationModesHasBeenSet =
true;
280 m_evaluationModes = std::forward<EvaluationModesT>(value);
282 template <
typename EvaluationModesT = Aws::Vector<EvaluationModeConfiguration>>
287 template <
typename EvaluationModesT = EvaluationModeConfiguration>
289 m_evaluationModesHasBeenSet =
true;
290 m_evaluationModes.emplace_back(std::forward<EvaluationModesT>(value));
316 bool m_configRuleNameHasBeenSet =
false;
317 bool m_configRuleArnHasBeenSet =
false;
318 bool m_configRuleIdHasBeenSet =
false;
319 bool m_descriptionHasBeenSet =
false;
320 bool m_scopeHasBeenSet =
false;
321 bool m_sourceHasBeenSet =
false;
322 bool m_inputParametersHasBeenSet =
false;
323 bool m_maximumExecutionFrequencyHasBeenSet =
false;
324 bool m_configRuleStateHasBeenSet =
false;
325 bool m_createdByHasBeenSet =
false;
326 bool m_evaluationModesHasBeenSet =
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)
ConfigRule & WithConfigRuleState(ConfigRuleState value)
void SetInputParameters(InputParametersT &&value)
const Scope & GetScope() const
ConfigRule & WithConfigRuleName(ConfigRuleNameT &&value)
ConfigRule & WithConfigRuleArn(ConfigRuleArnT &&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
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