7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/config/model/Scope.h>
10#include <aws/config/model/Source.h>
11#include <aws/config/model/MaximumExecutionFrequency.h>
12#include <aws/config/model/ConfigRuleState.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/config/model/EvaluationModeConfiguration.h>
27namespace ConfigService
76 template<
typename ConfigRuleNameT = Aws::String>
77 void SetConfigRuleName(ConfigRuleNameT&& value) { m_configRuleNameHasBeenSet =
true; m_configRuleName = std::forward<ConfigRuleNameT>(value); }
78 template<
typename ConfigRuleNameT = Aws::String>
88 template<
typename ConfigRuleArnT = Aws::String>
89 void SetConfigRuleArn(ConfigRuleArnT&& value) { m_configRuleArnHasBeenSet =
true; m_configRuleArn = std::forward<ConfigRuleArnT>(value); }
90 template<
typename ConfigRuleArnT = Aws::String>
100 template<
typename ConfigRuleIdT = Aws::String>
101 void SetConfigRuleId(ConfigRuleIdT&& value) { m_configRuleIdHasBeenSet =
true; m_configRuleId = std::forward<ConfigRuleIdT>(value); }
102 template<
typename ConfigRuleIdT = Aws::String>
112 template<
typename DescriptionT = Aws::String>
113 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
114 template<
typename DescriptionT = Aws::String>
129 template<
typename ScopeT = Scope>
130 void SetScope(ScopeT&& value) { m_scopeHasBeenSet =
true; m_scope = std::forward<ScopeT>(value); }
131 template<
typename ScopeT = Scope>
145 template<
typename SourceT = Source>
146 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
147 template<
typename SourceT = Source>
158 template<
typename InputParametersT = Aws::String>
159 void SetInputParameters(InputParametersT&& value) { m_inputParametersHasBeenSet =
true; m_inputParameters = std::forward<InputParametersT>(value); }
160 template<
typename InputParametersT = Aws::String>
210 template<
typename CreatedByT = Aws::String>
211 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
212 template<
typename CreatedByT = Aws::String>
223 template<
typename EvaluationModesT = Aws::Vector<EvaluationModeConfiguration>>
224 void SetEvaluationModes(EvaluationModesT&& value) { m_evaluationModesHasBeenSet =
true; m_evaluationModes = std::forward<EvaluationModesT>(value); }
225 template<
typename EvaluationModesT = Aws::Vector<EvaluationModeConfiguration>>
227 template<
typename EvaluationModesT = EvaluationModeConfiguration>
228 ConfigRule&
AddEvaluationModes(EvaluationModesT&& value) { m_evaluationModesHasBeenSet =
true; m_evaluationModes.emplace_back(std::forward<EvaluationModesT>(value));
return *
this; }
233 bool m_configRuleNameHasBeenSet =
false;
236 bool m_configRuleArnHasBeenSet =
false;
239 bool m_configRuleIdHasBeenSet =
false;
242 bool m_descriptionHasBeenSet =
false;
245 bool m_scopeHasBeenSet =
false;
248 bool m_sourceHasBeenSet =
false;
251 bool m_inputParametersHasBeenSet =
false;
254 bool m_maximumExecutionFrequencyHasBeenSet =
false;
257 bool m_configRuleStateHasBeenSet =
false;
260 bool m_createdByHasBeenSet =
false;
263 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