AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename DescriptionT = Aws::String>
52 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
53 template<typename DescriptionT = Aws::String>
54 OrganizationManagedRuleMetadata& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
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) { m_ruleIdentifierHasBeenSet = true; m_ruleIdentifier = std::forward<RuleIdentifierT>(value); }
69 template<typename RuleIdentifierT = Aws::String>
70 OrganizationManagedRuleMetadata& WithRuleIdentifier(RuleIdentifierT&& value) { SetRuleIdentifier(std::forward<RuleIdentifierT>(value)); return *this;}
72
74
78 inline const Aws::String& GetInputParameters() const { return m_inputParameters; }
79 inline bool InputParametersHasBeenSet() const { return m_inputParametersHasBeenSet; }
80 template<typename InputParametersT = Aws::String>
81 void SetInputParameters(InputParametersT&& value) { m_inputParametersHasBeenSet = true; m_inputParameters = std::forward<InputParametersT>(value); }
82 template<typename InputParametersT = Aws::String>
83 OrganizationManagedRuleMetadata& WithInputParameters(InputParametersT&& value) { SetInputParameters(std::forward<InputParametersT>(value)); return *this;}
85
87
94 inline MaximumExecutionFrequency GetMaximumExecutionFrequency() const { return m_maximumExecutionFrequency; }
95 inline bool MaximumExecutionFrequencyHasBeenSet() const { return m_maximumExecutionFrequencyHasBeenSet; }
96 inline void SetMaximumExecutionFrequency(MaximumExecutionFrequency value) { m_maximumExecutionFrequencyHasBeenSet = true; m_maximumExecutionFrequency = value; }
99
101
104 inline const Aws::Vector<Aws::String>& GetResourceTypesScope() const { return m_resourceTypesScope; }
105 inline bool ResourceTypesScopeHasBeenSet() const { return m_resourceTypesScopeHasBeenSet; }
106 template<typename ResourceTypesScopeT = Aws::Vector<Aws::String>>
107 void SetResourceTypesScope(ResourceTypesScopeT&& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope = std::forward<ResourceTypesScopeT>(value); }
108 template<typename ResourceTypesScopeT = Aws::Vector<Aws::String>>
109 OrganizationManagedRuleMetadata& WithResourceTypesScope(ResourceTypesScopeT&& value) { SetResourceTypesScope(std::forward<ResourceTypesScopeT>(value)); return *this;}
110 template<typename ResourceTypesScopeT = Aws::String>
111 OrganizationManagedRuleMetadata& AddResourceTypesScope(ResourceTypesScopeT&& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.emplace_back(std::forward<ResourceTypesScopeT>(value)); return *this; }
113
115
118 inline const Aws::String& GetResourceIdScope() const { return m_resourceIdScope; }
119 inline bool ResourceIdScopeHasBeenSet() const { return m_resourceIdScopeHasBeenSet; }
120 template<typename ResourceIdScopeT = Aws::String>
121 void SetResourceIdScope(ResourceIdScopeT&& value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope = std::forward<ResourceIdScopeT>(value); }
122 template<typename ResourceIdScopeT = Aws::String>
123 OrganizationManagedRuleMetadata& WithResourceIdScope(ResourceIdScopeT&& value) { SetResourceIdScope(std::forward<ResourceIdScopeT>(value)); return *this;}
125
127
131 inline const Aws::String& GetTagKeyScope() const { return m_tagKeyScope; }
132 inline bool TagKeyScopeHasBeenSet() const { return m_tagKeyScopeHasBeenSet; }
133 template<typename TagKeyScopeT = Aws::String>
134 void SetTagKeyScope(TagKeyScopeT&& value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope = std::forward<TagKeyScopeT>(value); }
135 template<typename TagKeyScopeT = Aws::String>
136 OrganizationManagedRuleMetadata& WithTagKeyScope(TagKeyScopeT&& value) { SetTagKeyScope(std::forward<TagKeyScopeT>(value)); return *this;}
138
140
144 inline const Aws::String& GetTagValueScope() const { return m_tagValueScope; }
145 inline bool TagValueScopeHasBeenSet() const { return m_tagValueScopeHasBeenSet; }
146 template<typename TagValueScopeT = Aws::String>
147 void SetTagValueScope(TagValueScopeT&& value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope = std::forward<TagValueScopeT>(value); }
148 template<typename TagValueScopeT = Aws::String>
149 OrganizationManagedRuleMetadata& WithTagValueScope(TagValueScopeT&& value) { SetTagValueScope(std::forward<TagValueScopeT>(value)); return *this;}
151 private:
152
153 Aws::String m_description;
154 bool m_descriptionHasBeenSet = false;
155
156 Aws::String m_ruleIdentifier;
157 bool m_ruleIdentifierHasBeenSet = false;
158
159 Aws::String m_inputParameters;
160 bool m_inputParametersHasBeenSet = false;
161
163 bool m_maximumExecutionFrequencyHasBeenSet = false;
164
165 Aws::Vector<Aws::String> m_resourceTypesScope;
166 bool m_resourceTypesScopeHasBeenSet = false;
167
168 Aws::String m_resourceIdScope;
169 bool m_resourceIdScopeHasBeenSet = false;
170
171 Aws::String m_tagKeyScope;
172 bool m_tagKeyScopeHasBeenSet = false;
173
174 Aws::String m_tagValueScope;
175 bool m_tagValueScopeHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace ConfigService
180} // 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