AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
CreateDataQualityRulesetRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/GlueRequest.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/DataQualityTargetTable.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Glue {
17namespace Model {
18
25 public:
26 AWS_GLUE_API CreateDataQualityRulesetRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateDataQualityRuleset"; }
33
34 AWS_GLUE_API Aws::String SerializePayload() const override;
35
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDescription() const { return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 template <typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) {
64 m_descriptionHasBeenSet = true;
65 m_description = std::forward<DescriptionT>(value);
66 }
67 template <typename DescriptionT = Aws::String>
69 SetDescription(std::forward<DescriptionT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetRuleset() const { return m_ruleset; }
80 inline bool RulesetHasBeenSet() const { return m_rulesetHasBeenSet; }
81 template <typename RulesetT = Aws::String>
82 void SetRuleset(RulesetT&& value) {
83 m_rulesetHasBeenSet = true;
84 m_ruleset = std::forward<RulesetT>(value);
85 }
86 template <typename RulesetT = Aws::String>
88 SetRuleset(std::forward<RulesetT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
98 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
99 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 void SetTags(TagsT&& value) {
101 m_tagsHasBeenSet = true;
102 m_tags = std::forward<TagsT>(value);
103 }
104 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
106 SetTags(std::forward<TagsT>(value));
107 return *this;
108 }
109 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
110 CreateDataQualityRulesetRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
111 m_tagsHasBeenSet = true;
112 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
113 return *this;
114 }
116
118
121 inline const DataQualityTargetTable& GetTargetTable() const { return m_targetTable; }
122 inline bool TargetTableHasBeenSet() const { return m_targetTableHasBeenSet; }
123 template <typename TargetTableT = DataQualityTargetTable>
124 void SetTargetTable(TargetTableT&& value) {
125 m_targetTableHasBeenSet = true;
126 m_targetTable = std::forward<TargetTableT>(value);
127 }
128 template <typename TargetTableT = DataQualityTargetTable>
130 SetTargetTable(std::forward<TargetTableT>(value));
131 return *this;
132 }
134
136
140 inline const Aws::String& GetDataQualitySecurityConfiguration() const { return m_dataQualitySecurityConfiguration; }
141 inline bool DataQualitySecurityConfigurationHasBeenSet() const { return m_dataQualitySecurityConfigurationHasBeenSet; }
142 template <typename DataQualitySecurityConfigurationT = Aws::String>
143 void SetDataQualitySecurityConfiguration(DataQualitySecurityConfigurationT&& value) {
144 m_dataQualitySecurityConfigurationHasBeenSet = true;
145 m_dataQualitySecurityConfiguration = std::forward<DataQualitySecurityConfigurationT>(value);
146 }
147 template <typename DataQualitySecurityConfigurationT = Aws::String>
148 CreateDataQualityRulesetRequest& WithDataQualitySecurityConfiguration(DataQualitySecurityConfigurationT&& value) {
149 SetDataQualitySecurityConfiguration(std::forward<DataQualitySecurityConfigurationT>(value));
150 return *this;
151 }
153
155
159 inline const Aws::String& GetClientToken() const { return m_clientToken; }
160 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
161 template <typename ClientTokenT = Aws::String>
162 void SetClientToken(ClientTokenT&& value) {
163 m_clientTokenHasBeenSet = true;
164 m_clientToken = std::forward<ClientTokenT>(value);
165 }
166 template <typename ClientTokenT = Aws::String>
168 SetClientToken(std::forward<ClientTokenT>(value));
169 return *this;
170 }
172 private:
173 Aws::String m_name;
174 bool m_nameHasBeenSet = false;
175
176 Aws::String m_description;
177 bool m_descriptionHasBeenSet = false;
178
179 Aws::String m_ruleset;
180 bool m_rulesetHasBeenSet = false;
181
183 bool m_tagsHasBeenSet = false;
184
185 DataQualityTargetTable m_targetTable;
186 bool m_targetTableHasBeenSet = false;
187
188 Aws::String m_dataQualitySecurityConfiguration;
189 bool m_dataQualitySecurityConfigurationHasBeenSet = false;
190
191 Aws::String m_clientToken;
192 bool m_clientTokenHasBeenSet = false;
193};
194
195} // namespace Model
196} // namespace Glue
197} // namespace Aws
CreateDataQualityRulesetRequest & WithClientToken(ClientTokenT &&value)
CreateDataQualityRulesetRequest & WithTags(TagsT &&value)
CreateDataQualityRulesetRequest & WithDescription(DescriptionT &&value)
CreateDataQualityRulesetRequest & WithName(NameT &&value)
CreateDataQualityRulesetRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateDataQualityRulesetRequest & WithTargetTable(TargetTableT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDataQualityRulesetRequest & WithDataQualitySecurityConfiguration(DataQualitySecurityConfigurationT &&value)
CreateDataQualityRulesetRequest & WithRuleset(RulesetT &&value)
void SetDataQualitySecurityConfiguration(DataQualitySecurityConfigurationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String