AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationCustomRuleMetadata.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/OrganizationConfigRuleTriggerType.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 OrganizationCustomRuleMetadata();
45 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetDescription() const{ return m_description; }
53 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
54 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
55 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
56 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
57 inline OrganizationCustomRuleMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
58 inline OrganizationCustomRuleMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
59 inline OrganizationCustomRuleMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
61
63
66 inline const Aws::String& GetLambdaFunctionArn() const{ return m_lambdaFunctionArn; }
67 inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; }
68 inline void SetLambdaFunctionArn(const Aws::String& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = value; }
69 inline void SetLambdaFunctionArn(Aws::String&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::move(value); }
70 inline void SetLambdaFunctionArn(const char* value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn.assign(value); }
72 inline OrganizationCustomRuleMetadata& WithLambdaFunctionArn(Aws::String&& value) { SetLambdaFunctionArn(std::move(value)); return *this;}
73 inline OrganizationCustomRuleMetadata& WithLambdaFunctionArn(const char* value) { SetLambdaFunctionArn(value); return *this;}
75
77
89 inline const Aws::Vector<OrganizationConfigRuleTriggerType>& GetOrganizationConfigRuleTriggerTypes() const{ return m_organizationConfigRuleTriggerTypes; }
90 inline bool OrganizationConfigRuleTriggerTypesHasBeenSet() const { return m_organizationConfigRuleTriggerTypesHasBeenSet; }
91 inline void SetOrganizationConfigRuleTriggerTypes(const Aws::Vector<OrganizationConfigRuleTriggerType>& value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes = value; }
92 inline void SetOrganizationConfigRuleTriggerTypes(Aws::Vector<OrganizationConfigRuleTriggerType>&& value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes = std::move(value); }
95 inline OrganizationCustomRuleMetadata& AddOrganizationConfigRuleTriggerTypes(const OrganizationConfigRuleTriggerType& value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes.push_back(value); return *this; }
96 inline OrganizationCustomRuleMetadata& AddOrganizationConfigRuleTriggerTypes(OrganizationConfigRuleTriggerType&& value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes.push_back(std::move(value)); return *this; }
98
100
104 inline const Aws::String& GetInputParameters() const{ return m_inputParameters; }
105 inline bool InputParametersHasBeenSet() const { return m_inputParametersHasBeenSet; }
106 inline void SetInputParameters(const Aws::String& value) { m_inputParametersHasBeenSet = true; m_inputParameters = value; }
107 inline void SetInputParameters(Aws::String&& value) { m_inputParametersHasBeenSet = true; m_inputParameters = std::move(value); }
108 inline void SetInputParameters(const char* value) { m_inputParametersHasBeenSet = true; m_inputParameters.assign(value); }
110 inline OrganizationCustomRuleMetadata& WithInputParameters(Aws::String&& value) { SetInputParameters(std::move(value)); return *this;}
111 inline OrganizationCustomRuleMetadata& WithInputParameters(const char* value) { SetInputParameters(value); return *this;}
113
115
123 inline const MaximumExecutionFrequency& GetMaximumExecutionFrequency() const{ return m_maximumExecutionFrequency; }
124 inline bool MaximumExecutionFrequencyHasBeenSet() const { return m_maximumExecutionFrequencyHasBeenSet; }
125 inline void SetMaximumExecutionFrequency(const MaximumExecutionFrequency& value) { m_maximumExecutionFrequencyHasBeenSet = true; m_maximumExecutionFrequency = value; }
126 inline void SetMaximumExecutionFrequency(MaximumExecutionFrequency&& value) { m_maximumExecutionFrequencyHasBeenSet = true; m_maximumExecutionFrequency = std::move(value); }
130
132
135 inline const Aws::Vector<Aws::String>& GetResourceTypesScope() const{ return m_resourceTypesScope; }
136 inline bool ResourceTypesScopeHasBeenSet() const { return m_resourceTypesScopeHasBeenSet; }
137 inline void SetResourceTypesScope(const Aws::Vector<Aws::String>& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope = value; }
138 inline void SetResourceTypesScope(Aws::Vector<Aws::String>&& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope = std::move(value); }
141 inline OrganizationCustomRuleMetadata& AddResourceTypesScope(const Aws::String& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.push_back(value); return *this; }
142 inline OrganizationCustomRuleMetadata& AddResourceTypesScope(Aws::String&& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.push_back(std::move(value)); return *this; }
143 inline OrganizationCustomRuleMetadata& AddResourceTypesScope(const char* value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.push_back(value); return *this; }
145
147
150 inline const Aws::String& GetResourceIdScope() const{ return m_resourceIdScope; }
151 inline bool ResourceIdScopeHasBeenSet() const { return m_resourceIdScopeHasBeenSet; }
152 inline void SetResourceIdScope(const Aws::String& value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope = value; }
153 inline void SetResourceIdScope(Aws::String&& value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope = std::move(value); }
154 inline void SetResourceIdScope(const char* value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope.assign(value); }
156 inline OrganizationCustomRuleMetadata& WithResourceIdScope(Aws::String&& value) { SetResourceIdScope(std::move(value)); return *this;}
157 inline OrganizationCustomRuleMetadata& WithResourceIdScope(const char* value) { SetResourceIdScope(value); return *this;}
159
161
165 inline const Aws::String& GetTagKeyScope() const{ return m_tagKeyScope; }
166 inline bool TagKeyScopeHasBeenSet() const { return m_tagKeyScopeHasBeenSet; }
167 inline void SetTagKeyScope(const Aws::String& value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope = value; }
168 inline void SetTagKeyScope(Aws::String&& value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope = std::move(value); }
169 inline void SetTagKeyScope(const char* value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope.assign(value); }
170 inline OrganizationCustomRuleMetadata& WithTagKeyScope(const Aws::String& value) { SetTagKeyScope(value); return *this;}
171 inline OrganizationCustomRuleMetadata& WithTagKeyScope(Aws::String&& value) { SetTagKeyScope(std::move(value)); return *this;}
172 inline OrganizationCustomRuleMetadata& WithTagKeyScope(const char* value) { SetTagKeyScope(value); return *this;}
174
176
180 inline const Aws::String& GetTagValueScope() const{ return m_tagValueScope; }
181 inline bool TagValueScopeHasBeenSet() const { return m_tagValueScopeHasBeenSet; }
182 inline void SetTagValueScope(const Aws::String& value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope = value; }
183 inline void SetTagValueScope(Aws::String&& value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope = std::move(value); }
184 inline void SetTagValueScope(const char* value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope.assign(value); }
186 inline OrganizationCustomRuleMetadata& WithTagValueScope(Aws::String&& value) { SetTagValueScope(std::move(value)); return *this;}
187 inline OrganizationCustomRuleMetadata& WithTagValueScope(const char* value) { SetTagValueScope(value); return *this;}
189 private:
190
191 Aws::String m_description;
192 bool m_descriptionHasBeenSet = false;
193
194 Aws::String m_lambdaFunctionArn;
195 bool m_lambdaFunctionArnHasBeenSet = false;
196
197 Aws::Vector<OrganizationConfigRuleTriggerType> m_organizationConfigRuleTriggerTypes;
198 bool m_organizationConfigRuleTriggerTypesHasBeenSet = false;
199
200 Aws::String m_inputParameters;
201 bool m_inputParametersHasBeenSet = false;
202
203 MaximumExecutionFrequency m_maximumExecutionFrequency;
204 bool m_maximumExecutionFrequencyHasBeenSet = false;
205
206 Aws::Vector<Aws::String> m_resourceTypesScope;
207 bool m_resourceTypesScopeHasBeenSet = false;
208
209 Aws::String m_resourceIdScope;
210 bool m_resourceIdScopeHasBeenSet = false;
211
212 Aws::String m_tagKeyScope;
213 bool m_tagKeyScopeHasBeenSet = false;
214
215 Aws::String m_tagValueScope;
216 bool m_tagValueScopeHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace ConfigService
221} // namespace Aws
OrganizationCustomRuleMetadata & WithInputParameters(const char *value)
OrganizationCustomRuleMetadata & WithTagKeyScope(Aws::String &&value)
OrganizationCustomRuleMetadata & WithResourceTypesScope(const Aws::Vector< Aws::String > &value)
AWS_CONFIGSERVICE_API OrganizationCustomRuleMetadata(Aws::Utils::Json::JsonView jsonValue)
OrganizationCustomRuleMetadata & WithTagValueScope(const char *value)
OrganizationCustomRuleMetadata & AddOrganizationConfigRuleTriggerTypes(OrganizationConfigRuleTriggerType &&value)
OrganizationCustomRuleMetadata & AddResourceTypesScope(const char *value)
void SetOrganizationConfigRuleTriggerTypes(const Aws::Vector< OrganizationConfigRuleTriggerType > &value)
OrganizationCustomRuleMetadata & WithResourceIdScope(Aws::String &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOrganizationConfigRuleTriggerTypes(Aws::Vector< OrganizationConfigRuleTriggerType > &&value)
void SetMaximumExecutionFrequency(const MaximumExecutionFrequency &value)
void SetResourceTypesScope(const Aws::Vector< Aws::String > &value)
OrganizationCustomRuleMetadata & WithResourceIdScope(const char *value)
OrganizationCustomRuleMetadata & AddResourceTypesScope(const Aws::String &value)
OrganizationCustomRuleMetadata & WithResourceTypesScope(Aws::Vector< Aws::String > &&value)
OrganizationCustomRuleMetadata & WithDescription(const char *value)
OrganizationCustomRuleMetadata & WithLambdaFunctionArn(const char *value)
OrganizationCustomRuleMetadata & AddOrganizationConfigRuleTriggerTypes(const OrganizationConfigRuleTriggerType &value)
OrganizationCustomRuleMetadata & WithOrganizationConfigRuleTriggerTypes(const Aws::Vector< OrganizationConfigRuleTriggerType > &value)
OrganizationCustomRuleMetadata & WithOrganizationConfigRuleTriggerTypes(Aws::Vector< OrganizationConfigRuleTriggerType > &&value)
OrganizationCustomRuleMetadata & WithTagValueScope(Aws::String &&value)
AWS_CONFIGSERVICE_API OrganizationCustomRuleMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationCustomRuleMetadata & WithInputParameters(Aws::String &&value)
OrganizationCustomRuleMetadata & WithMaximumExecutionFrequency(const MaximumExecutionFrequency &value)
OrganizationCustomRuleMetadata & AddResourceTypesScope(Aws::String &&value)
OrganizationCustomRuleMetadata & WithMaximumExecutionFrequency(MaximumExecutionFrequency &&value)
OrganizationCustomRuleMetadata & WithDescription(const Aws::String &value)
OrganizationCustomRuleMetadata & WithInputParameters(const Aws::String &value)
OrganizationCustomRuleMetadata & WithDescription(Aws::String &&value)
OrganizationCustomRuleMetadata & WithLambdaFunctionArn(Aws::String &&value)
OrganizationCustomRuleMetadata & WithTagKeyScope(const char *value)
OrganizationCustomRuleMetadata & WithLambdaFunctionArn(const Aws::String &value)
const Aws::Vector< OrganizationConfigRuleTriggerType > & GetOrganizationConfigRuleTriggerTypes() const
OrganizationCustomRuleMetadata & WithTagValueScope(const Aws::String &value)
OrganizationCustomRuleMetadata & WithTagKeyScope(const Aws::String &value)
OrganizationCustomRuleMetadata & 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