AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename DescriptionT = Aws::String>
55 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
56 template<typename DescriptionT = Aws::String>
57 OrganizationCustomRuleMetadata& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
59
61
64 inline const Aws::String& GetLambdaFunctionArn() const { return m_lambdaFunctionArn; }
65 inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; }
66 template<typename LambdaFunctionArnT = Aws::String>
67 void SetLambdaFunctionArn(LambdaFunctionArnT&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::forward<LambdaFunctionArnT>(value); }
68 template<typename LambdaFunctionArnT = Aws::String>
69 OrganizationCustomRuleMetadata& WithLambdaFunctionArn(LambdaFunctionArnT&& value) { SetLambdaFunctionArn(std::forward<LambdaFunctionArnT>(value)); return *this;}
71
73
85 inline const Aws::Vector<OrganizationConfigRuleTriggerType>& GetOrganizationConfigRuleTriggerTypes() const { return m_organizationConfigRuleTriggerTypes; }
86 inline bool OrganizationConfigRuleTriggerTypesHasBeenSet() const { return m_organizationConfigRuleTriggerTypesHasBeenSet; }
87 template<typename OrganizationConfigRuleTriggerTypesT = Aws::Vector<OrganizationConfigRuleTriggerType>>
88 void SetOrganizationConfigRuleTriggerTypes(OrganizationConfigRuleTriggerTypesT&& value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes = std::forward<OrganizationConfigRuleTriggerTypesT>(value); }
89 template<typename OrganizationConfigRuleTriggerTypesT = Aws::Vector<OrganizationConfigRuleTriggerType>>
90 OrganizationCustomRuleMetadata& WithOrganizationConfigRuleTriggerTypes(OrganizationConfigRuleTriggerTypesT&& value) { SetOrganizationConfigRuleTriggerTypes(std::forward<OrganizationConfigRuleTriggerTypesT>(value)); return *this;}
91 inline OrganizationCustomRuleMetadata& AddOrganizationConfigRuleTriggerTypes(OrganizationConfigRuleTriggerType value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes.push_back(value); return *this; }
93
95
99 inline const Aws::String& GetInputParameters() const { return m_inputParameters; }
100 inline bool InputParametersHasBeenSet() const { return m_inputParametersHasBeenSet; }
101 template<typename InputParametersT = Aws::String>
102 void SetInputParameters(InputParametersT&& value) { m_inputParametersHasBeenSet = true; m_inputParameters = std::forward<InputParametersT>(value); }
103 template<typename InputParametersT = Aws::String>
104 OrganizationCustomRuleMetadata& WithInputParameters(InputParametersT&& value) { SetInputParameters(std::forward<InputParametersT>(value)); return *this;}
106
108
116 inline MaximumExecutionFrequency GetMaximumExecutionFrequency() const { return m_maximumExecutionFrequency; }
117 inline bool MaximumExecutionFrequencyHasBeenSet() const { return m_maximumExecutionFrequencyHasBeenSet; }
118 inline void SetMaximumExecutionFrequency(MaximumExecutionFrequency value) { m_maximumExecutionFrequencyHasBeenSet = true; m_maximumExecutionFrequency = value; }
121
123
126 inline const Aws::Vector<Aws::String>& GetResourceTypesScope() const { return m_resourceTypesScope; }
127 inline bool ResourceTypesScopeHasBeenSet() const { return m_resourceTypesScopeHasBeenSet; }
128 template<typename ResourceTypesScopeT = Aws::Vector<Aws::String>>
129 void SetResourceTypesScope(ResourceTypesScopeT&& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope = std::forward<ResourceTypesScopeT>(value); }
130 template<typename ResourceTypesScopeT = Aws::Vector<Aws::String>>
131 OrganizationCustomRuleMetadata& WithResourceTypesScope(ResourceTypesScopeT&& value) { SetResourceTypesScope(std::forward<ResourceTypesScopeT>(value)); return *this;}
132 template<typename ResourceTypesScopeT = Aws::String>
133 OrganizationCustomRuleMetadata& AddResourceTypesScope(ResourceTypesScopeT&& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.emplace_back(std::forward<ResourceTypesScopeT>(value)); return *this; }
135
137
140 inline const Aws::String& GetResourceIdScope() const { return m_resourceIdScope; }
141 inline bool ResourceIdScopeHasBeenSet() const { return m_resourceIdScopeHasBeenSet; }
142 template<typename ResourceIdScopeT = Aws::String>
143 void SetResourceIdScope(ResourceIdScopeT&& value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope = std::forward<ResourceIdScopeT>(value); }
144 template<typename ResourceIdScopeT = Aws::String>
145 OrganizationCustomRuleMetadata& WithResourceIdScope(ResourceIdScopeT&& value) { SetResourceIdScope(std::forward<ResourceIdScopeT>(value)); return *this;}
147
149
153 inline const Aws::String& GetTagKeyScope() const { return m_tagKeyScope; }
154 inline bool TagKeyScopeHasBeenSet() const { return m_tagKeyScopeHasBeenSet; }
155 template<typename TagKeyScopeT = Aws::String>
156 void SetTagKeyScope(TagKeyScopeT&& value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope = std::forward<TagKeyScopeT>(value); }
157 template<typename TagKeyScopeT = Aws::String>
158 OrganizationCustomRuleMetadata& WithTagKeyScope(TagKeyScopeT&& value) { SetTagKeyScope(std::forward<TagKeyScopeT>(value)); return *this;}
160
162
166 inline const Aws::String& GetTagValueScope() const { return m_tagValueScope; }
167 inline bool TagValueScopeHasBeenSet() const { return m_tagValueScopeHasBeenSet; }
168 template<typename TagValueScopeT = Aws::String>
169 void SetTagValueScope(TagValueScopeT&& value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope = std::forward<TagValueScopeT>(value); }
170 template<typename TagValueScopeT = Aws::String>
171 OrganizationCustomRuleMetadata& WithTagValueScope(TagValueScopeT&& value) { SetTagValueScope(std::forward<TagValueScopeT>(value)); return *this;}
173 private:
174
175 Aws::String m_description;
176 bool m_descriptionHasBeenSet = false;
177
178 Aws::String m_lambdaFunctionArn;
179 bool m_lambdaFunctionArnHasBeenSet = false;
180
181 Aws::Vector<OrganizationConfigRuleTriggerType> m_organizationConfigRuleTriggerTypes;
182 bool m_organizationConfigRuleTriggerTypesHasBeenSet = false;
183
184 Aws::String m_inputParameters;
185 bool m_inputParametersHasBeenSet = false;
186
188 bool m_maximumExecutionFrequencyHasBeenSet = false;
189
190 Aws::Vector<Aws::String> m_resourceTypesScope;
191 bool m_resourceTypesScopeHasBeenSet = false;
192
193 Aws::String m_resourceIdScope;
194 bool m_resourceIdScopeHasBeenSet = false;
195
196 Aws::String m_tagKeyScope;
197 bool m_tagKeyScopeHasBeenSet = false;
198
199 Aws::String m_tagValueScope;
200 bool m_tagValueScopeHasBeenSet = false;
201 };
202
203} // namespace Model
204} // namespace ConfigService
205} // namespace Aws
OrganizationCustomRuleMetadata & WithResourceTypesScope(ResourceTypesScopeT &&value)
AWS_CONFIGSERVICE_API OrganizationCustomRuleMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API OrganizationCustomRuleMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationCustomRuleMetadata & WithDescription(DescriptionT &&value)
OrganizationCustomRuleMetadata & WithInputParameters(InputParametersT &&value)
OrganizationCustomRuleMetadata & WithMaximumExecutionFrequency(MaximumExecutionFrequency value)
OrganizationCustomRuleMetadata & AddOrganizationConfigRuleTriggerTypes(OrganizationConfigRuleTriggerType value)
OrganizationCustomRuleMetadata & WithTagKeyScope(TagKeyScopeT &&value)
const Aws::Vector< OrganizationConfigRuleTriggerType > & GetOrganizationConfigRuleTriggerTypes() const
OrganizationCustomRuleMetadata & AddResourceTypesScope(ResourceTypesScopeT &&value)
OrganizationCustomRuleMetadata & WithResourceIdScope(ResourceIdScopeT &&value)
OrganizationCustomRuleMetadata & WithLambdaFunctionArn(LambdaFunctionArnT &&value)
void SetOrganizationConfigRuleTriggerTypes(OrganizationConfigRuleTriggerTypesT &&value)
OrganizationCustomRuleMetadata & WithOrganizationConfigRuleTriggerTypes(OrganizationConfigRuleTriggerTypesT &&value)
OrganizationCustomRuleMetadata & WithTagValueScope(TagValueScopeT &&value)
AWS_CONFIGSERVICE_API OrganizationCustomRuleMetadata()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue