AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationCustomPolicyRuleMetadata.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/config/model/MaximumExecutionFrequency.h>
11#include <aws/config/model/OrganizationConfigRuleTriggerTypeNoSN.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ConfigService
25{
26namespace Model
27{
28
40 {
41 public:
42 AWS_CONFIGSERVICE_API OrganizationCustomPolicyRuleMetadata();
45 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::String& GetDescription() const{ return m_description; }
54 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
55 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
56 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
57 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
59 inline OrganizationCustomPolicyRuleMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
60 inline OrganizationCustomPolicyRuleMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
62
64
75 inline const Aws::Vector<OrganizationConfigRuleTriggerTypeNoSN>& GetOrganizationConfigRuleTriggerTypes() const{ return m_organizationConfigRuleTriggerTypes; }
76 inline bool OrganizationConfigRuleTriggerTypesHasBeenSet() const { return m_organizationConfigRuleTriggerTypesHasBeenSet; }
77 inline void SetOrganizationConfigRuleTriggerTypes(const Aws::Vector<OrganizationConfigRuleTriggerTypeNoSN>& value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes = value; }
78 inline void SetOrganizationConfigRuleTriggerTypes(Aws::Vector<OrganizationConfigRuleTriggerTypeNoSN>&& value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes = std::move(value); }
81 inline OrganizationCustomPolicyRuleMetadata& AddOrganizationConfigRuleTriggerTypes(const OrganizationConfigRuleTriggerTypeNoSN& value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes.push_back(value); return *this; }
82 inline OrganizationCustomPolicyRuleMetadata& AddOrganizationConfigRuleTriggerTypes(OrganizationConfigRuleTriggerTypeNoSN&& value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes.push_back(std::move(value)); return *this; }
84
86
90 inline const Aws::String& GetInputParameters() const{ return m_inputParameters; }
91 inline bool InputParametersHasBeenSet() const { return m_inputParametersHasBeenSet; }
92 inline void SetInputParameters(const Aws::String& value) { m_inputParametersHasBeenSet = true; m_inputParameters = value; }
93 inline void SetInputParameters(Aws::String&& value) { m_inputParametersHasBeenSet = true; m_inputParameters = std::move(value); }
94 inline void SetInputParameters(const char* value) { m_inputParametersHasBeenSet = true; m_inputParameters.assign(value); }
97 inline OrganizationCustomPolicyRuleMetadata& WithInputParameters(const char* value) { SetInputParameters(value); return *this;}
99
101
106 inline const MaximumExecutionFrequency& GetMaximumExecutionFrequency() const{ return m_maximumExecutionFrequency; }
107 inline bool MaximumExecutionFrequencyHasBeenSet() const { return m_maximumExecutionFrequencyHasBeenSet; }
108 inline void SetMaximumExecutionFrequency(const MaximumExecutionFrequency& value) { m_maximumExecutionFrequencyHasBeenSet = true; m_maximumExecutionFrequency = value; }
109 inline void SetMaximumExecutionFrequency(MaximumExecutionFrequency&& value) { m_maximumExecutionFrequencyHasBeenSet = true; m_maximumExecutionFrequency = std::move(value); }
113
115
118 inline const Aws::Vector<Aws::String>& GetResourceTypesScope() const{ return m_resourceTypesScope; }
119 inline bool ResourceTypesScopeHasBeenSet() const { return m_resourceTypesScopeHasBeenSet; }
120 inline void SetResourceTypesScope(const Aws::Vector<Aws::String>& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope = value; }
121 inline void SetResourceTypesScope(Aws::Vector<Aws::String>&& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope = std::move(value); }
124 inline OrganizationCustomPolicyRuleMetadata& AddResourceTypesScope(const Aws::String& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.push_back(value); return *this; }
125 inline OrganizationCustomPolicyRuleMetadata& AddResourceTypesScope(Aws::String&& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.push_back(std::move(value)); return *this; }
126 inline OrganizationCustomPolicyRuleMetadata& AddResourceTypesScope(const char* value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.push_back(value); return *this; }
128
130
133 inline const Aws::String& GetResourceIdScope() const{ return m_resourceIdScope; }
134 inline bool ResourceIdScopeHasBeenSet() const { return m_resourceIdScopeHasBeenSet; }
135 inline void SetResourceIdScope(const Aws::String& value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope = value; }
136 inline void SetResourceIdScope(Aws::String&& value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope = std::move(value); }
137 inline void SetResourceIdScope(const char* value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope.assign(value); }
140 inline OrganizationCustomPolicyRuleMetadata& WithResourceIdScope(const char* value) { SetResourceIdScope(value); return *this;}
142
144
148 inline const Aws::String& GetTagKeyScope() const{ return m_tagKeyScope; }
149 inline bool TagKeyScopeHasBeenSet() const { return m_tagKeyScopeHasBeenSet; }
150 inline void SetTagKeyScope(const Aws::String& value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope = value; }
151 inline void SetTagKeyScope(Aws::String&& value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope = std::move(value); }
152 inline void SetTagKeyScope(const char* value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope.assign(value); }
154 inline OrganizationCustomPolicyRuleMetadata& WithTagKeyScope(Aws::String&& value) { SetTagKeyScope(std::move(value)); return *this;}
155 inline OrganizationCustomPolicyRuleMetadata& WithTagKeyScope(const char* value) { SetTagKeyScope(value); return *this;}
157
159
163 inline const Aws::String& GetTagValueScope() const{ return m_tagValueScope; }
164 inline bool TagValueScopeHasBeenSet() const { return m_tagValueScopeHasBeenSet; }
165 inline void SetTagValueScope(const Aws::String& value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope = value; }
166 inline void SetTagValueScope(Aws::String&& value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope = std::move(value); }
167 inline void SetTagValueScope(const char* value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope.assign(value); }
169 inline OrganizationCustomPolicyRuleMetadata& WithTagValueScope(Aws::String&& value) { SetTagValueScope(std::move(value)); return *this;}
170 inline OrganizationCustomPolicyRuleMetadata& WithTagValueScope(const char* value) { SetTagValueScope(value); return *this;}
172
174
181 inline const Aws::String& GetPolicyRuntime() const{ return m_policyRuntime; }
182 inline bool PolicyRuntimeHasBeenSet() const { return m_policyRuntimeHasBeenSet; }
183 inline void SetPolicyRuntime(const Aws::String& value) { m_policyRuntimeHasBeenSet = true; m_policyRuntime = value; }
184 inline void SetPolicyRuntime(Aws::String&& value) { m_policyRuntimeHasBeenSet = true; m_policyRuntime = std::move(value); }
185 inline void SetPolicyRuntime(const char* value) { m_policyRuntimeHasBeenSet = true; m_policyRuntime.assign(value); }
187 inline OrganizationCustomPolicyRuleMetadata& WithPolicyRuntime(Aws::String&& value) { SetPolicyRuntime(std::move(value)); return *this;}
188 inline OrganizationCustomPolicyRuleMetadata& WithPolicyRuntime(const char* value) { SetPolicyRuntime(value); return *this;}
190
192
196 inline const Aws::String& GetPolicyText() const{ return m_policyText; }
197 inline bool PolicyTextHasBeenSet() const { return m_policyTextHasBeenSet; }
198 inline void SetPolicyText(const Aws::String& value) { m_policyTextHasBeenSet = true; m_policyText = value; }
199 inline void SetPolicyText(Aws::String&& value) { m_policyTextHasBeenSet = true; m_policyText = std::move(value); }
200 inline void SetPolicyText(const char* value) { m_policyTextHasBeenSet = true; m_policyText.assign(value); }
202 inline OrganizationCustomPolicyRuleMetadata& WithPolicyText(Aws::String&& value) { SetPolicyText(std::move(value)); return *this;}
203 inline OrganizationCustomPolicyRuleMetadata& WithPolicyText(const char* value) { SetPolicyText(value); return *this;}
205
207
212 inline const Aws::Vector<Aws::String>& GetDebugLogDeliveryAccounts() const{ return m_debugLogDeliveryAccounts; }
213 inline bool DebugLogDeliveryAccountsHasBeenSet() const { return m_debugLogDeliveryAccountsHasBeenSet; }
214 inline void SetDebugLogDeliveryAccounts(const Aws::Vector<Aws::String>& value) { m_debugLogDeliveryAccountsHasBeenSet = true; m_debugLogDeliveryAccounts = value; }
215 inline void SetDebugLogDeliveryAccounts(Aws::Vector<Aws::String>&& value) { m_debugLogDeliveryAccountsHasBeenSet = true; m_debugLogDeliveryAccounts = std::move(value); }
218 inline OrganizationCustomPolicyRuleMetadata& AddDebugLogDeliveryAccounts(const Aws::String& value) { m_debugLogDeliveryAccountsHasBeenSet = true; m_debugLogDeliveryAccounts.push_back(value); return *this; }
219 inline OrganizationCustomPolicyRuleMetadata& AddDebugLogDeliveryAccounts(Aws::String&& value) { m_debugLogDeliveryAccountsHasBeenSet = true; m_debugLogDeliveryAccounts.push_back(std::move(value)); return *this; }
220 inline OrganizationCustomPolicyRuleMetadata& AddDebugLogDeliveryAccounts(const char* value) { m_debugLogDeliveryAccountsHasBeenSet = true; m_debugLogDeliveryAccounts.push_back(value); return *this; }
222 private:
223
224 Aws::String m_description;
225 bool m_descriptionHasBeenSet = false;
226
227 Aws::Vector<OrganizationConfigRuleTriggerTypeNoSN> m_organizationConfigRuleTriggerTypes;
228 bool m_organizationConfigRuleTriggerTypesHasBeenSet = false;
229
230 Aws::String m_inputParameters;
231 bool m_inputParametersHasBeenSet = false;
232
233 MaximumExecutionFrequency m_maximumExecutionFrequency;
234 bool m_maximumExecutionFrequencyHasBeenSet = false;
235
236 Aws::Vector<Aws::String> m_resourceTypesScope;
237 bool m_resourceTypesScopeHasBeenSet = false;
238
239 Aws::String m_resourceIdScope;
240 bool m_resourceIdScopeHasBeenSet = false;
241
242 Aws::String m_tagKeyScope;
243 bool m_tagKeyScopeHasBeenSet = false;
244
245 Aws::String m_tagValueScope;
246 bool m_tagValueScopeHasBeenSet = false;
247
248 Aws::String m_policyRuntime;
249 bool m_policyRuntimeHasBeenSet = false;
250
251 Aws::String m_policyText;
252 bool m_policyTextHasBeenSet = false;
253
254 Aws::Vector<Aws::String> m_debugLogDeliveryAccounts;
255 bool m_debugLogDeliveryAccountsHasBeenSet = false;
256 };
257
258} // namespace Model
259} // namespace ConfigService
260} // namespace Aws
OrganizationCustomPolicyRuleMetadata & AddResourceTypesScope(const char *value)
OrganizationCustomPolicyRuleMetadata & AddOrganizationConfigRuleTriggerTypes(OrganizationConfigRuleTriggerTypeNoSN &&value)
OrganizationCustomPolicyRuleMetadata & AddResourceTypesScope(const Aws::String &value)
AWS_CONFIGSERVICE_API OrganizationCustomPolicyRuleMetadata(Aws::Utils::Json::JsonView jsonValue)
OrganizationCustomPolicyRuleMetadata & WithResourceIdScope(const char *value)
OrganizationCustomPolicyRuleMetadata & WithDescription(const Aws::String &value)
OrganizationCustomPolicyRuleMetadata & WithTagKeyScope(const Aws::String &value)
AWS_CONFIGSERVICE_API OrganizationCustomPolicyRuleMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationCustomPolicyRuleMetadata & WithTagKeyScope(const char *value)
OrganizationCustomPolicyRuleMetadata & AddDebugLogDeliveryAccounts(const char *value)
OrganizationCustomPolicyRuleMetadata & AddOrganizationConfigRuleTriggerTypes(const OrganizationConfigRuleTriggerTypeNoSN &value)
OrganizationCustomPolicyRuleMetadata & WithPolicyRuntime(Aws::String &&value)
OrganizationCustomPolicyRuleMetadata & WithDescription(Aws::String &&value)
OrganizationCustomPolicyRuleMetadata & AddResourceTypesScope(Aws::String &&value)
OrganizationCustomPolicyRuleMetadata & WithTagValueScope(const Aws::String &value)
OrganizationCustomPolicyRuleMetadata & WithDescription(const char *value)
OrganizationCustomPolicyRuleMetadata & WithPolicyRuntime(const char *value)
OrganizationCustomPolicyRuleMetadata & WithMaximumExecutionFrequency(MaximumExecutionFrequency &&value)
OrganizationCustomPolicyRuleMetadata & AddDebugLogDeliveryAccounts(const Aws::String &value)
OrganizationCustomPolicyRuleMetadata & WithInputParameters(const char *value)
OrganizationCustomPolicyRuleMetadata & WithPolicyRuntime(const Aws::String &value)
void SetOrganizationConfigRuleTriggerTypes(const Aws::Vector< OrganizationConfigRuleTriggerTypeNoSN > &value)
void SetOrganizationConfigRuleTriggerTypes(Aws::Vector< OrganizationConfigRuleTriggerTypeNoSN > &&value)
OrganizationCustomPolicyRuleMetadata & WithResourceIdScope(Aws::String &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationCustomPolicyRuleMetadata & WithDebugLogDeliveryAccounts(Aws::Vector< Aws::String > &&value)
OrganizationCustomPolicyRuleMetadata & WithPolicyText(Aws::String &&value)
OrganizationCustomPolicyRuleMetadata & WithInputParameters(const Aws::String &value)
OrganizationCustomPolicyRuleMetadata & WithMaximumExecutionFrequency(const MaximumExecutionFrequency &value)
OrganizationCustomPolicyRuleMetadata & WithResourceTypesScope(Aws::Vector< Aws::String > &&value)
OrganizationCustomPolicyRuleMetadata & WithDebugLogDeliveryAccounts(const Aws::Vector< Aws::String > &value)
OrganizationCustomPolicyRuleMetadata & WithOrganizationConfigRuleTriggerTypes(Aws::Vector< OrganizationConfigRuleTriggerTypeNoSN > &&value)
OrganizationCustomPolicyRuleMetadata & WithPolicyText(const char *value)
const Aws::Vector< OrganizationConfigRuleTriggerTypeNoSN > & GetOrganizationConfigRuleTriggerTypes() const
OrganizationCustomPolicyRuleMetadata & WithTagValueScope(const char *value)
OrganizationCustomPolicyRuleMetadata & WithTagKeyScope(Aws::String &&value)
OrganizationCustomPolicyRuleMetadata & WithOrganizationConfigRuleTriggerTypes(const Aws::Vector< OrganizationConfigRuleTriggerTypeNoSN > &value)
OrganizationCustomPolicyRuleMetadata & WithResourceTypesScope(const Aws::Vector< Aws::String > &value)
OrganizationCustomPolicyRuleMetadata & WithTagValueScope(Aws::String &&value)
OrganizationCustomPolicyRuleMetadata & WithInputParameters(Aws::String &&value)
OrganizationCustomPolicyRuleMetadata & AddDebugLogDeliveryAccounts(Aws::String &&value)
OrganizationCustomPolicyRuleMetadata & WithPolicyText(const Aws::String &value)
OrganizationCustomPolicyRuleMetadata & 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