AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateDataAutomationProjectRequest.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomationRequest.h>
8#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
9#include <aws/bedrock-data-automation/model/CustomOutputConfiguration.h>
10#include <aws/bedrock-data-automation/model/DataAutomationProjectStage.h>
11#include <aws/bedrock-data-automation/model/DataAutomationProjectType.h>
12#include <aws/bedrock-data-automation/model/EncryptionConfiguration.h>
13#include <aws/bedrock-data-automation/model/OverrideConfiguration.h>
14#include <aws/bedrock-data-automation/model/StandardOutputConfiguration.h>
15#include <aws/bedrock-data-automation/model/Tag.h>
16#include <aws/core/utils/UUID.h>
17#include <aws/core/utils/memory/stl/AWSString.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19
20#include <utility>
21
22namespace Aws {
23namespace BedrockDataAutomation {
24namespace Model {
25
32 public:
33 AWS_BEDROCKDATAAUTOMATION_API CreateDataAutomationProjectRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreateDataAutomationProject"; }
40
41 AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override;
42
44
45 inline const Aws::String& GetProjectName() const { return m_projectName; }
46 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
47 template <typename ProjectNameT = Aws::String>
48 void SetProjectName(ProjectNameT&& value) {
49 m_projectNameHasBeenSet = true;
50 m_projectName = std::forward<ProjectNameT>(value);
51 }
52 template <typename ProjectNameT = Aws::String>
54 SetProjectName(std::forward<ProjectNameT>(value));
55 return *this;
56 }
58
60
61 inline const Aws::String& GetProjectDescription() const { return m_projectDescription; }
62 inline bool ProjectDescriptionHasBeenSet() const { return m_projectDescriptionHasBeenSet; }
63 template <typename ProjectDescriptionT = Aws::String>
64 void SetProjectDescription(ProjectDescriptionT&& value) {
65 m_projectDescriptionHasBeenSet = true;
66 m_projectDescription = std::forward<ProjectDescriptionT>(value);
67 }
68 template <typename ProjectDescriptionT = Aws::String>
70 SetProjectDescription(std::forward<ProjectDescriptionT>(value));
71 return *this;
72 }
74
76
77 inline DataAutomationProjectStage GetProjectStage() const { return m_projectStage; }
78 inline bool ProjectStageHasBeenSet() const { return m_projectStageHasBeenSet; }
80 m_projectStageHasBeenSet = true;
81 m_projectStage = value;
82 }
84 SetProjectStage(value);
85 return *this;
86 }
88
90
91 inline DataAutomationProjectType GetProjectType() const { return m_projectType; }
92 inline bool ProjectTypeHasBeenSet() const { return m_projectTypeHasBeenSet; }
94 m_projectTypeHasBeenSet = true;
95 m_projectType = value;
96 }
98 SetProjectType(value);
99 return *this;
100 }
102
104
105 inline const StandardOutputConfiguration& GetStandardOutputConfiguration() const { return m_standardOutputConfiguration; }
106 inline bool StandardOutputConfigurationHasBeenSet() const { return m_standardOutputConfigurationHasBeenSet; }
107 template <typename StandardOutputConfigurationT = StandardOutputConfiguration>
108 void SetStandardOutputConfiguration(StandardOutputConfigurationT&& value) {
109 m_standardOutputConfigurationHasBeenSet = true;
110 m_standardOutputConfiguration = std::forward<StandardOutputConfigurationT>(value);
111 }
112 template <typename StandardOutputConfigurationT = StandardOutputConfiguration>
114 SetStandardOutputConfiguration(std::forward<StandardOutputConfigurationT>(value));
115 return *this;
116 }
118
120
121 inline const CustomOutputConfiguration& GetCustomOutputConfiguration() const { return m_customOutputConfiguration; }
122 inline bool CustomOutputConfigurationHasBeenSet() const { return m_customOutputConfigurationHasBeenSet; }
123 template <typename CustomOutputConfigurationT = CustomOutputConfiguration>
124 void SetCustomOutputConfiguration(CustomOutputConfigurationT&& value) {
125 m_customOutputConfigurationHasBeenSet = true;
126 m_customOutputConfiguration = std::forward<CustomOutputConfigurationT>(value);
127 }
128 template <typename CustomOutputConfigurationT = CustomOutputConfiguration>
130 SetCustomOutputConfiguration(std::forward<CustomOutputConfigurationT>(value));
131 return *this;
132 }
134
136
137 inline const OverrideConfiguration& GetOverrideConfiguration() const { return m_overrideConfiguration; }
138 inline bool OverrideConfigurationHasBeenSet() const { return m_overrideConfigurationHasBeenSet; }
139 template <typename OverrideConfigurationT = OverrideConfiguration>
140 void SetOverrideConfiguration(OverrideConfigurationT&& value) {
141 m_overrideConfigurationHasBeenSet = true;
142 m_overrideConfiguration = std::forward<OverrideConfigurationT>(value);
143 }
144 template <typename OverrideConfigurationT = OverrideConfiguration>
146 SetOverrideConfiguration(std::forward<OverrideConfigurationT>(value));
147 return *this;
148 }
150
152
153 inline const Aws::String& GetClientToken() const { return m_clientToken; }
154 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
155 template <typename ClientTokenT = Aws::String>
156 void SetClientToken(ClientTokenT&& value) {
157 m_clientTokenHasBeenSet = true;
158 m_clientToken = std::forward<ClientTokenT>(value);
159 }
160 template <typename ClientTokenT = Aws::String>
162 SetClientToken(std::forward<ClientTokenT>(value));
163 return *this;
164 }
166
168
169 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
170 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
171 template <typename EncryptionConfigurationT = EncryptionConfiguration>
172 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
173 m_encryptionConfigurationHasBeenSet = true;
174 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
175 }
176 template <typename EncryptionConfigurationT = EncryptionConfiguration>
178 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
179 return *this;
180 }
182
184
185 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
186 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
187 template <typename TagsT = Aws::Vector<Tag>>
188 void SetTags(TagsT&& value) {
189 m_tagsHasBeenSet = true;
190 m_tags = std::forward<TagsT>(value);
191 }
192 template <typename TagsT = Aws::Vector<Tag>>
194 SetTags(std::forward<TagsT>(value));
195 return *this;
196 }
197 template <typename TagsT = Tag>
199 m_tagsHasBeenSet = true;
200 m_tags.emplace_back(std::forward<TagsT>(value));
201 return *this;
202 }
204 private:
205 Aws::String m_projectName;
206
207 Aws::String m_projectDescription;
208
210
212
213 StandardOutputConfiguration m_standardOutputConfiguration;
214
215 CustomOutputConfiguration m_customOutputConfiguration;
216
217 OverrideConfiguration m_overrideConfiguration;
218
220
221 EncryptionConfiguration m_encryptionConfiguration;
222
223 Aws::Vector<Tag> m_tags;
224 bool m_projectNameHasBeenSet = false;
225 bool m_projectDescriptionHasBeenSet = false;
226 bool m_projectStageHasBeenSet = false;
227 bool m_projectTypeHasBeenSet = false;
228 bool m_standardOutputConfigurationHasBeenSet = false;
229 bool m_customOutputConfigurationHasBeenSet = false;
230 bool m_overrideConfigurationHasBeenSet = false;
231 bool m_clientTokenHasBeenSet = true;
232 bool m_encryptionConfigurationHasBeenSet = false;
233 bool m_tagsHasBeenSet = false;
234};
235
236} // namespace Model
237} // namespace BedrockDataAutomation
238} // namespace Aws
CreateDataAutomationProjectRequest & WithProjectName(ProjectNameT &&value)
AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override
AWS_BEDROCKDATAAUTOMATION_API CreateDataAutomationProjectRequest()=default
CreateDataAutomationProjectRequest & WithClientToken(ClientTokenT &&value)
CreateDataAutomationProjectRequest & WithProjectDescription(ProjectDescriptionT &&value)
CreateDataAutomationProjectRequest & WithCustomOutputConfiguration(CustomOutputConfigurationT &&value)
CreateDataAutomationProjectRequest & WithProjectStage(DataAutomationProjectStage value)
CreateDataAutomationProjectRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
CreateDataAutomationProjectRequest & WithOverrideConfiguration(OverrideConfigurationT &&value)
CreateDataAutomationProjectRequest & WithStandardOutputConfiguration(StandardOutputConfigurationT &&value)
CreateDataAutomationProjectRequest & WithProjectType(DataAutomationProjectType value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector