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
78 inline void SetConfigRuleName(
const char* value) { m_configRuleNameHasBeenSet =
true; m_configRuleName.assign(value); }
92 inline void SetConfigRuleArn(
const char* value) { m_configRuleArnHasBeenSet =
true; m_configRuleArn.assign(value); }
106 inline void SetConfigRuleId(
const char* value) { m_configRuleIdHasBeenSet =
true; m_configRuleId.assign(value); }
120 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
137 inline void SetScope(
const Scope& value) { m_scopeHasBeenSet =
true; m_scope = value; }
138 inline void SetScope(
Scope&& value) { m_scopeHasBeenSet =
true; m_scope = std::move(value); }
153 inline void SetSource(
const Source& value) { m_sourceHasBeenSet =
true; m_source = value; }
154 inline void SetSource(
Source&& value) { m_sourceHasBeenSet =
true; m_source = std::move(value); }
168 inline void SetInputParameters(
const char* value) { m_inputParametersHasBeenSet =
true; m_inputParameters.assign(value); }
226 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
249 bool m_configRuleNameHasBeenSet =
false;
252 bool m_configRuleArnHasBeenSet =
false;
255 bool m_configRuleIdHasBeenSet =
false;
258 bool m_descriptionHasBeenSet =
false;
261 bool m_scopeHasBeenSet =
false;
264 bool m_sourceHasBeenSet =
false;
267 bool m_inputParametersHasBeenSet =
false;
270 bool m_maximumExecutionFrequencyHasBeenSet =
false;
273 bool m_configRuleStateHasBeenSet =
false;
276 bool m_createdByHasBeenSet =
false;
279 bool m_evaluationModesHasBeenSet =
false;
ConfigRule & WithCreatedBy(const Aws::String &value)
void SetMaximumExecutionFrequency(MaximumExecutionFrequency &&value)
AWS_CONFIGSERVICE_API ConfigRule(Aws::Utils::Json::JsonView jsonValue)
ConfigRule & WithConfigRuleArn(const char *value)
const MaximumExecutionFrequency & GetMaximumExecutionFrequency() const
void SetDescription(const Aws::String &value)
bool ConfigRuleNameHasBeenSet() const
AWS_CONFIGSERVICE_API ConfigRule & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigRule & WithConfigRuleId(const char *value)
void SetScope(Scope &&value)
bool MaximumExecutionFrequencyHasBeenSet() const
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool EvaluationModesHasBeenSet() const
void SetCreatedBy(Aws::String &&value)
void SetDescription(const char *value)
ConfigRule & WithConfigRuleState(const ConfigRuleState &value)
ConfigRule & WithDescription(Aws::String &&value)
const Scope & GetScope() const
void SetInputParameters(Aws::String &&value)
bool ConfigRuleArnHasBeenSet() const
AWS_CONFIGSERVICE_API ConfigRule()
ConfigRule & WithCreatedBy(const char *value)
void SetCreatedBy(const char *value)
void SetSource(const Source &value)
ConfigRule & AddEvaluationModes(EvaluationModeConfiguration &&value)
ConfigRule & AddEvaluationModes(const EvaluationModeConfiguration &value)
void SetConfigRuleName(const Aws::String &value)
void SetConfigRuleState(const ConfigRuleState &value)
void SetConfigRuleArn(const char *value)
ConfigRule & WithDescription(const Aws::String &value)
void SetConfigRuleName(const char *value)
ConfigRule & WithScope(const Scope &value)
bool ScopeHasBeenSet() const
const ConfigRuleState & GetConfigRuleState() const
const Aws::String & GetInputParameters() const
ConfigRule & WithConfigRuleName(Aws::String &&value)
void SetInputParameters(const char *value)
void SetConfigRuleId(const Aws::String &value)
bool DescriptionHasBeenSet() const
bool ConfigRuleStateHasBeenSet() const
void SetInputParameters(const Aws::String &value)
void SetScope(const Scope &value)
void SetCreatedBy(const Aws::String &value)
ConfigRule & WithConfigRuleId(Aws::String &&value)
ConfigRule & WithConfigRuleName(const char *value)
bool CreatedByHasBeenSet() const
const Aws::String & GetDescription() const
void SetSource(Source &&value)
bool SourceHasBeenSet() const
const Aws::Vector< EvaluationModeConfiguration > & GetEvaluationModes() const
ConfigRule & WithCreatedBy(Aws::String &&value)
ConfigRule & WithConfigRuleId(const Aws::String &value)
ConfigRule & WithEvaluationModes(Aws::Vector< EvaluationModeConfiguration > &&value)
ConfigRule & WithSource(Source &&value)
ConfigRule & WithInputParameters(const char *value)
const Aws::String & GetConfigRuleName() const
ConfigRule & WithInputParameters(Aws::String &&value)
ConfigRule & WithConfigRuleState(ConfigRuleState &&value)
ConfigRule & WithInputParameters(const Aws::String &value)
void SetConfigRuleArn(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetConfigRuleArn(const Aws::String &value)
void SetMaximumExecutionFrequency(const MaximumExecutionFrequency &value)
ConfigRule & WithMaximumExecutionFrequency(MaximumExecutionFrequency &&value)
void SetEvaluationModes(const Aws::Vector< EvaluationModeConfiguration > &value)
void SetConfigRuleState(ConfigRuleState &&value)
ConfigRule & WithConfigRuleArn(const Aws::String &value)
ConfigRule & WithConfigRuleArn(Aws::String &&value)
bool ConfigRuleIdHasBeenSet() const
ConfigRule & WithDescription(const char *value)
bool InputParametersHasBeenSet() const
const Aws::String & GetConfigRuleArn() const
const Source & GetSource() const
void SetConfigRuleId(const char *value)
ConfigRule & WithConfigRuleName(const Aws::String &value)
const Aws::String & GetConfigRuleId() const
void SetEvaluationModes(Aws::Vector< EvaluationModeConfiguration > &&value)
ConfigRule & WithEvaluationModes(const Aws::Vector< EvaluationModeConfiguration > &value)
void SetConfigRuleName(Aws::String &&value)
ConfigRule & WithScope(Scope &&value)
void SetConfigRuleId(Aws::String &&value)
ConfigRule & WithSource(const Source &value)
const Aws::String & GetCreatedBy() const
ConfigRule & WithMaximumExecutionFrequency(const MaximumExecutionFrequency &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