AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationManagedRuleMetadata.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/config/model/MaximumExecutionFrequency.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConfigService
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_CONFIGSERVICE_API OrganizationManagedRuleMetadata();
42 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetDescription() const{ return m_description; }
50 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
51 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
52 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
53 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
54 inline OrganizationManagedRuleMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
55 inline OrganizationManagedRuleMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
56 inline OrganizationManagedRuleMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
58
60
67 inline const Aws::String& GetRuleIdentifier() const{ return m_ruleIdentifier; }
68 inline bool RuleIdentifierHasBeenSet() const { return m_ruleIdentifierHasBeenSet; }
69 inline void SetRuleIdentifier(const Aws::String& value) { m_ruleIdentifierHasBeenSet = true; m_ruleIdentifier = value; }
70 inline void SetRuleIdentifier(Aws::String&& value) { m_ruleIdentifierHasBeenSet = true; m_ruleIdentifier = std::move(value); }
71 inline void SetRuleIdentifier(const char* value) { m_ruleIdentifierHasBeenSet = true; m_ruleIdentifier.assign(value); }
73 inline OrganizationManagedRuleMetadata& WithRuleIdentifier(Aws::String&& value) { SetRuleIdentifier(std::move(value)); return *this;}
74 inline OrganizationManagedRuleMetadata& WithRuleIdentifier(const char* value) { SetRuleIdentifier(value); return *this;}
76
78
82 inline const Aws::String& GetInputParameters() const{ return m_inputParameters; }
83 inline bool InputParametersHasBeenSet() const { return m_inputParametersHasBeenSet; }
84 inline void SetInputParameters(const Aws::String& value) { m_inputParametersHasBeenSet = true; m_inputParameters = value; }
85 inline void SetInputParameters(Aws::String&& value) { m_inputParametersHasBeenSet = true; m_inputParameters = std::move(value); }
86 inline void SetInputParameters(const char* value) { m_inputParametersHasBeenSet = true; m_inputParameters.assign(value); }
88 inline OrganizationManagedRuleMetadata& WithInputParameters(Aws::String&& value) { SetInputParameters(std::move(value)); return *this;}
89 inline OrganizationManagedRuleMetadata& WithInputParameters(const char* value) { SetInputParameters(value); return *this;}
91
93
100 inline const MaximumExecutionFrequency& GetMaximumExecutionFrequency() const{ return m_maximumExecutionFrequency; }
101 inline bool MaximumExecutionFrequencyHasBeenSet() const { return m_maximumExecutionFrequencyHasBeenSet; }
102 inline void SetMaximumExecutionFrequency(const MaximumExecutionFrequency& value) { m_maximumExecutionFrequencyHasBeenSet = true; m_maximumExecutionFrequency = value; }
103 inline void SetMaximumExecutionFrequency(MaximumExecutionFrequency&& value) { m_maximumExecutionFrequencyHasBeenSet = true; m_maximumExecutionFrequency = std::move(value); }
107
109
112 inline const Aws::Vector<Aws::String>& GetResourceTypesScope() const{ return m_resourceTypesScope; }
113 inline bool ResourceTypesScopeHasBeenSet() const { return m_resourceTypesScopeHasBeenSet; }
114 inline void SetResourceTypesScope(const Aws::Vector<Aws::String>& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope = value; }
115 inline void SetResourceTypesScope(Aws::Vector<Aws::String>&& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope = std::move(value); }
118 inline OrganizationManagedRuleMetadata& AddResourceTypesScope(const Aws::String& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.push_back(value); return *this; }
119 inline OrganizationManagedRuleMetadata& AddResourceTypesScope(Aws::String&& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.push_back(std::move(value)); return *this; }
120 inline OrganizationManagedRuleMetadata& AddResourceTypesScope(const char* value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.push_back(value); return *this; }
122
124
127 inline const Aws::String& GetResourceIdScope() const{ return m_resourceIdScope; }
128 inline bool ResourceIdScopeHasBeenSet() const { return m_resourceIdScopeHasBeenSet; }
129 inline void SetResourceIdScope(const Aws::String& value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope = value; }
130 inline void SetResourceIdScope(Aws::String&& value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope = std::move(value); }
131 inline void SetResourceIdScope(const char* value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope.assign(value); }
133 inline OrganizationManagedRuleMetadata& WithResourceIdScope(Aws::String&& value) { SetResourceIdScope(std::move(value)); return *this;}
134 inline OrganizationManagedRuleMetadata& WithResourceIdScope(const char* value) { SetResourceIdScope(value); return *this;}
136
138
142 inline const Aws::String& GetTagKeyScope() const{ return m_tagKeyScope; }
143 inline bool TagKeyScopeHasBeenSet() const { return m_tagKeyScopeHasBeenSet; }
144 inline void SetTagKeyScope(const Aws::String& value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope = value; }
145 inline void SetTagKeyScope(Aws::String&& value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope = std::move(value); }
146 inline void SetTagKeyScope(const char* value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope.assign(value); }
147 inline OrganizationManagedRuleMetadata& WithTagKeyScope(const Aws::String& value) { SetTagKeyScope(value); return *this;}
148 inline OrganizationManagedRuleMetadata& WithTagKeyScope(Aws::String&& value) { SetTagKeyScope(std::move(value)); return *this;}
149 inline OrganizationManagedRuleMetadata& WithTagKeyScope(const char* value) { SetTagKeyScope(value); return *this;}
151
153
157 inline const Aws::String& GetTagValueScope() const{ return m_tagValueScope; }
158 inline bool TagValueScopeHasBeenSet() const { return m_tagValueScopeHasBeenSet; }
159 inline void SetTagValueScope(const Aws::String& value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope = value; }
160 inline void SetTagValueScope(Aws::String&& value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope = std::move(value); }
161 inline void SetTagValueScope(const char* value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope.assign(value); }
163 inline OrganizationManagedRuleMetadata& WithTagValueScope(Aws::String&& value) { SetTagValueScope(std::move(value)); return *this;}
164 inline OrganizationManagedRuleMetadata& WithTagValueScope(const char* value) { SetTagValueScope(value); return *this;}
166 private:
167
168 Aws::String m_description;
169 bool m_descriptionHasBeenSet = false;
170
171 Aws::String m_ruleIdentifier;
172 bool m_ruleIdentifierHasBeenSet = false;
173
174 Aws::String m_inputParameters;
175 bool m_inputParametersHasBeenSet = false;
176
177 MaximumExecutionFrequency m_maximumExecutionFrequency;
178 bool m_maximumExecutionFrequencyHasBeenSet = false;
179
180 Aws::Vector<Aws::String> m_resourceTypesScope;
181 bool m_resourceTypesScopeHasBeenSet = false;
182
183 Aws::String m_resourceIdScope;
184 bool m_resourceIdScopeHasBeenSet = false;
185
186 Aws::String m_tagKeyScope;
187 bool m_tagKeyScopeHasBeenSet = false;
188
189 Aws::String m_tagValueScope;
190 bool m_tagValueScopeHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace ConfigService
195} // namespace Aws
void SetMaximumExecutionFrequency(const MaximumExecutionFrequency &value)
OrganizationManagedRuleMetadata & WithInputParameters(Aws::String &&value)
OrganizationManagedRuleMetadata & WithDescription(const Aws::String &value)
OrganizationManagedRuleMetadata & WithDescription(const char *value)
OrganizationManagedRuleMetadata & WithRuleIdentifier(const char *value)
OrganizationManagedRuleMetadata & WithResourceTypesScope(const Aws::Vector< Aws::String > &value)
OrganizationManagedRuleMetadata & WithTagKeyScope(const Aws::String &value)
OrganizationManagedRuleMetadata & WithRuleIdentifier(Aws::String &&value)
AWS_CONFIGSERVICE_API OrganizationManagedRuleMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationManagedRuleMetadata & WithRuleIdentifier(const Aws::String &value)
OrganizationManagedRuleMetadata & WithTagValueScope(Aws::String &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationManagedRuleMetadata & WithResourceIdScope(const char *value)
OrganizationManagedRuleMetadata & WithTagKeyScope(const char *value)
OrganizationManagedRuleMetadata & WithTagKeyScope(Aws::String &&value)
OrganizationManagedRuleMetadata & WithInputParameters(const char *value)
OrganizationManagedRuleMetadata & WithDescription(Aws::String &&value)
OrganizationManagedRuleMetadata & AddResourceTypesScope(const Aws::String &value)
OrganizationManagedRuleMetadata & WithMaximumExecutionFrequency(const MaximumExecutionFrequency &value)
AWS_CONFIGSERVICE_API OrganizationManagedRuleMetadata(Aws::Utils::Json::JsonView jsonValue)
OrganizationManagedRuleMetadata & WithMaximumExecutionFrequency(MaximumExecutionFrequency &&value)
OrganizationManagedRuleMetadata & AddResourceTypesScope(const char *value)
OrganizationManagedRuleMetadata & WithInputParameters(const Aws::String &value)
OrganizationManagedRuleMetadata & WithTagValueScope(const char *value)
OrganizationManagedRuleMetadata & AddResourceTypesScope(Aws::String &&value)
OrganizationManagedRuleMetadata & WithResourceTypesScope(Aws::Vector< Aws::String > &&value)
OrganizationManagedRuleMetadata & WithTagValueScope(const Aws::String &value)
OrganizationManagedRuleMetadata & WithResourceIdScope(Aws::String &&value)
OrganizationManagedRuleMetadata & WithResourceIdScope(const Aws::String &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