AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
OrganizationManagedRuleMetadata.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/MaximumExecutionFrequency.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConfigService {
22namespace Model {
23
33 public:
34 AWS_CONFIGSERVICE_API OrganizationManagedRuleMetadata() = default;
37 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetDescription() const { return m_description; }
44 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
45 template <typename DescriptionT = Aws::String>
46 void SetDescription(DescriptionT&& value) {
47 m_descriptionHasBeenSet = true;
48 m_description = std::forward<DescriptionT>(value);
49 }
50 template <typename DescriptionT = Aws::String>
52 SetDescription(std::forward<DescriptionT>(value));
53 return *this;
54 }
56
58
65 inline const Aws::String& GetRuleIdentifier() const { return m_ruleIdentifier; }
66 inline bool RuleIdentifierHasBeenSet() const { return m_ruleIdentifierHasBeenSet; }
67 template <typename RuleIdentifierT = Aws::String>
68 void SetRuleIdentifier(RuleIdentifierT&& value) {
69 m_ruleIdentifierHasBeenSet = true;
70 m_ruleIdentifier = std::forward<RuleIdentifierT>(value);
71 }
72 template <typename RuleIdentifierT = Aws::String>
74 SetRuleIdentifier(std::forward<RuleIdentifierT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::String& GetInputParameters() const { return m_inputParameters; }
85 inline bool InputParametersHasBeenSet() const { return m_inputParametersHasBeenSet; }
86 template <typename InputParametersT = Aws::String>
87 void SetInputParameters(InputParametersT&& value) {
88 m_inputParametersHasBeenSet = true;
89 m_inputParameters = std::forward<InputParametersT>(value);
90 }
91 template <typename InputParametersT = Aws::String>
93 SetInputParameters(std::forward<InputParametersT>(value));
94 return *this;
95 }
97
99
106 inline MaximumExecutionFrequency GetMaximumExecutionFrequency() const { return m_maximumExecutionFrequency; }
107 inline bool MaximumExecutionFrequencyHasBeenSet() const { return m_maximumExecutionFrequencyHasBeenSet; }
109 m_maximumExecutionFrequencyHasBeenSet = true;
110 m_maximumExecutionFrequency = value;
111 }
114 return *this;
115 }
117
119
122 inline const Aws::Vector<Aws::String>& GetResourceTypesScope() const { return m_resourceTypesScope; }
123 inline bool ResourceTypesScopeHasBeenSet() const { return m_resourceTypesScopeHasBeenSet; }
124 template <typename ResourceTypesScopeT = Aws::Vector<Aws::String>>
125 void SetResourceTypesScope(ResourceTypesScopeT&& value) {
126 m_resourceTypesScopeHasBeenSet = true;
127 m_resourceTypesScope = std::forward<ResourceTypesScopeT>(value);
128 }
129 template <typename ResourceTypesScopeT = Aws::Vector<Aws::String>>
131 SetResourceTypesScope(std::forward<ResourceTypesScopeT>(value));
132 return *this;
133 }
134 template <typename ResourceTypesScopeT = Aws::String>
136 m_resourceTypesScopeHasBeenSet = true;
137 m_resourceTypesScope.emplace_back(std::forward<ResourceTypesScopeT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetResourceIdScope() const { return m_resourceIdScope; }
147 inline bool ResourceIdScopeHasBeenSet() const { return m_resourceIdScopeHasBeenSet; }
148 template <typename ResourceIdScopeT = Aws::String>
149 void SetResourceIdScope(ResourceIdScopeT&& value) {
150 m_resourceIdScopeHasBeenSet = true;
151 m_resourceIdScope = std::forward<ResourceIdScopeT>(value);
152 }
153 template <typename ResourceIdScopeT = Aws::String>
155 SetResourceIdScope(std::forward<ResourceIdScopeT>(value));
156 return *this;
157 }
159
161
165 inline const Aws::String& GetTagKeyScope() const { return m_tagKeyScope; }
166 inline bool TagKeyScopeHasBeenSet() const { return m_tagKeyScopeHasBeenSet; }
167 template <typename TagKeyScopeT = Aws::String>
168 void SetTagKeyScope(TagKeyScopeT&& value) {
169 m_tagKeyScopeHasBeenSet = true;
170 m_tagKeyScope = std::forward<TagKeyScopeT>(value);
171 }
172 template <typename TagKeyScopeT = Aws::String>
174 SetTagKeyScope(std::forward<TagKeyScopeT>(value));
175 return *this;
176 }
178
180
184 inline const Aws::String& GetTagValueScope() const { return m_tagValueScope; }
185 inline bool TagValueScopeHasBeenSet() const { return m_tagValueScopeHasBeenSet; }
186 template <typename TagValueScopeT = Aws::String>
187 void SetTagValueScope(TagValueScopeT&& value) {
188 m_tagValueScopeHasBeenSet = true;
189 m_tagValueScope = std::forward<TagValueScopeT>(value);
190 }
191 template <typename TagValueScopeT = Aws::String>
193 SetTagValueScope(std::forward<TagValueScopeT>(value));
194 return *this;
195 }
197 private:
198 Aws::String m_description;
199
200 Aws::String m_ruleIdentifier;
201
202 Aws::String m_inputParameters;
203
205
206 Aws::Vector<Aws::String> m_resourceTypesScope;
207
208 Aws::String m_resourceIdScope;
209
210 Aws::String m_tagKeyScope;
211
212 Aws::String m_tagValueScope;
213 bool m_descriptionHasBeenSet = false;
214 bool m_ruleIdentifierHasBeenSet = false;
215 bool m_inputParametersHasBeenSet = false;
216 bool m_maximumExecutionFrequencyHasBeenSet = false;
217 bool m_resourceTypesScopeHasBeenSet = false;
218 bool m_resourceIdScopeHasBeenSet = false;
219 bool m_tagKeyScopeHasBeenSet = false;
220 bool m_tagValueScopeHasBeenSet = false;
221};
222
223} // namespace Model
224} // namespace ConfigService
225} // namespace Aws
OrganizationManagedRuleMetadata & WithResourceTypesScope(ResourceTypesScopeT &&value)
OrganizationManagedRuleMetadata & WithMaximumExecutionFrequency(MaximumExecutionFrequency value)
OrganizationManagedRuleMetadata & WithRuleIdentifier(RuleIdentifierT &&value)
AWS_CONFIGSERVICE_API OrganizationManagedRuleMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationManagedRuleMetadata & WithResourceIdScope(ResourceIdScopeT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationManagedRuleMetadata & WithTagKeyScope(TagKeyScopeT &&value)
OrganizationManagedRuleMetadata & WithTagValueScope(TagValueScopeT &&value)
OrganizationManagedRuleMetadata & AddResourceTypesScope(ResourceTypesScopeT &&value)
AWS_CONFIGSERVICE_API OrganizationManagedRuleMetadata()=default
AWS_CONFIGSERVICE_API OrganizationManagedRuleMetadata(Aws::Utils::Json::JsonView jsonValue)
OrganizationManagedRuleMetadata & WithDescription(DescriptionT &&value)
OrganizationManagedRuleMetadata & WithInputParameters(InputParametersT &&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