AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateDataQualityRulesetRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/glue/model/DataQualityTargetTable.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Glue
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_GLUE_API CreateDataQualityRulesetRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateDataQualityRuleset"; }
36
37 AWS_GLUE_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 CreateDataQualityRulesetRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template<typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
62 template<typename DescriptionT = Aws::String>
63 CreateDataQualityRulesetRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
65
67
71 inline const Aws::String& GetRuleset() const { return m_ruleset; }
72 inline bool RulesetHasBeenSet() const { return m_rulesetHasBeenSet; }
73 template<typename RulesetT = Aws::String>
74 void SetRuleset(RulesetT&& value) { m_rulesetHasBeenSet = true; m_ruleset = std::forward<RulesetT>(value); }
75 template<typename RulesetT = Aws::String>
76 CreateDataQualityRulesetRequest& WithRuleset(RulesetT&& value) { SetRuleset(std::forward<RulesetT>(value)); return *this;}
78
80
83 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
84 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
85 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
86 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
87 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
88 CreateDataQualityRulesetRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
89 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
90 CreateDataQualityRulesetRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
91 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
92 }
94
96
99 inline const DataQualityTargetTable& GetTargetTable() const { return m_targetTable; }
100 inline bool TargetTableHasBeenSet() const { return m_targetTableHasBeenSet; }
101 template<typename TargetTableT = DataQualityTargetTable>
102 void SetTargetTable(TargetTableT&& value) { m_targetTableHasBeenSet = true; m_targetTable = std::forward<TargetTableT>(value); }
103 template<typename TargetTableT = DataQualityTargetTable>
104 CreateDataQualityRulesetRequest& WithTargetTable(TargetTableT&& value) { SetTargetTable(std::forward<TargetTableT>(value)); return *this;}
106
108
112 inline const Aws::String& GetDataQualitySecurityConfiguration() const { return m_dataQualitySecurityConfiguration; }
113 inline bool DataQualitySecurityConfigurationHasBeenSet() const { return m_dataQualitySecurityConfigurationHasBeenSet; }
114 template<typename DataQualitySecurityConfigurationT = Aws::String>
115 void SetDataQualitySecurityConfiguration(DataQualitySecurityConfigurationT&& value) { m_dataQualitySecurityConfigurationHasBeenSet = true; m_dataQualitySecurityConfiguration = std::forward<DataQualitySecurityConfigurationT>(value); }
116 template<typename DataQualitySecurityConfigurationT = Aws::String>
117 CreateDataQualityRulesetRequest& WithDataQualitySecurityConfiguration(DataQualitySecurityConfigurationT&& value) { SetDataQualitySecurityConfiguration(std::forward<DataQualitySecurityConfigurationT>(value)); return *this;}
119
121
125 inline const Aws::String& GetClientToken() const { return m_clientToken; }
126 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
127 template<typename ClientTokenT = Aws::String>
128 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
129 template<typename ClientTokenT = Aws::String>
130 CreateDataQualityRulesetRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
132 private:
133
134 Aws::String m_name;
135 bool m_nameHasBeenSet = false;
136
137 Aws::String m_description;
138 bool m_descriptionHasBeenSet = false;
139
140 Aws::String m_ruleset;
141 bool m_rulesetHasBeenSet = false;
142
144 bool m_tagsHasBeenSet = false;
145
146 DataQualityTargetTable m_targetTable;
147 bool m_targetTableHasBeenSet = false;
148
149 Aws::String m_dataQualitySecurityConfiguration;
150 bool m_dataQualitySecurityConfigurationHasBeenSet = false;
151
152 Aws::String m_clientToken;
153 bool m_clientTokenHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace Glue
158} // 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