AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRecipeJobRequest.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/GlueDataBrewRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/databrew/model/EncryptionMode.h>
11#include <aws/databrew/model/LogSubscription.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/databrew/model/Output.h>
14#include <aws/databrew/model/DataCatalogOutput.h>
15#include <aws/databrew/model/DatabaseOutput.h>
16#include <utility>
17
18namespace Aws
19{
20namespace GlueDataBrew
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_GLUEDATABREW_API UpdateRecipeJobRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateRecipeJob"; }
37
38 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
39
40
42
46 inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; }
47 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
48 inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = value; }
49 inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::move(value); }
50 inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn.assign(value); }
51 inline UpdateRecipeJobRequest& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;}
52 inline UpdateRecipeJobRequest& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;}
53 inline UpdateRecipeJobRequest& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;}
55
57
63 inline const EncryptionMode& GetEncryptionMode() const{ return m_encryptionMode; }
64 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
65 inline void SetEncryptionMode(const EncryptionMode& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = value; }
66 inline void SetEncryptionMode(EncryptionMode&& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = std::move(value); }
67 inline UpdateRecipeJobRequest& WithEncryptionMode(const EncryptionMode& value) { SetEncryptionMode(value); return *this;}
68 inline UpdateRecipeJobRequest& WithEncryptionMode(EncryptionMode&& value) { SetEncryptionMode(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline UpdateRecipeJobRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline UpdateRecipeJobRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline UpdateRecipeJobRequest& WithName(const char* value) { SetName(value); return *this;}
84
86
90 inline const LogSubscription& GetLogSubscription() const{ return m_logSubscription; }
91 inline bool LogSubscriptionHasBeenSet() const { return m_logSubscriptionHasBeenSet; }
92 inline void SetLogSubscription(const LogSubscription& value) { m_logSubscriptionHasBeenSet = true; m_logSubscription = value; }
93 inline void SetLogSubscription(LogSubscription&& value) { m_logSubscriptionHasBeenSet = true; m_logSubscription = std::move(value); }
95 inline UpdateRecipeJobRequest& WithLogSubscription(LogSubscription&& value) { SetLogSubscription(std::move(value)); return *this;}
97
99
103 inline int GetMaxCapacity() const{ return m_maxCapacity; }
104 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
105 inline void SetMaxCapacity(int value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
106 inline UpdateRecipeJobRequest& WithMaxCapacity(int value) { SetMaxCapacity(value); return *this;}
108
110
113 inline int GetMaxRetries() const{ return m_maxRetries; }
114 inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
115 inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; }
116 inline UpdateRecipeJobRequest& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
118
120
123 inline const Aws::Vector<Output>& GetOutputs() const{ return m_outputs; }
124 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
125 inline void SetOutputs(const Aws::Vector<Output>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
126 inline void SetOutputs(Aws::Vector<Output>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
127 inline UpdateRecipeJobRequest& WithOutputs(const Aws::Vector<Output>& value) { SetOutputs(value); return *this;}
128 inline UpdateRecipeJobRequest& WithOutputs(Aws::Vector<Output>&& value) { SetOutputs(std::move(value)); return *this;}
129 inline UpdateRecipeJobRequest& AddOutputs(const Output& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
130 inline UpdateRecipeJobRequest& AddOutputs(Output&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
132
134
138 inline const Aws::Vector<DataCatalogOutput>& GetDataCatalogOutputs() const{ return m_dataCatalogOutputs; }
139 inline bool DataCatalogOutputsHasBeenSet() const { return m_dataCatalogOutputsHasBeenSet; }
140 inline void SetDataCatalogOutputs(const Aws::Vector<DataCatalogOutput>& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs = value; }
141 inline void SetDataCatalogOutputs(Aws::Vector<DataCatalogOutput>&& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs = std::move(value); }
144 inline UpdateRecipeJobRequest& AddDataCatalogOutputs(const DataCatalogOutput& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs.push_back(value); return *this; }
145 inline UpdateRecipeJobRequest& AddDataCatalogOutputs(DataCatalogOutput&& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs.push_back(std::move(value)); return *this; }
147
149
153 inline const Aws::Vector<DatabaseOutput>& GetDatabaseOutputs() const{ return m_databaseOutputs; }
154 inline bool DatabaseOutputsHasBeenSet() const { return m_databaseOutputsHasBeenSet; }
155 inline void SetDatabaseOutputs(const Aws::Vector<DatabaseOutput>& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs = value; }
156 inline void SetDatabaseOutputs(Aws::Vector<DatabaseOutput>&& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs = std::move(value); }
159 inline UpdateRecipeJobRequest& AddDatabaseOutputs(const DatabaseOutput& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs.push_back(value); return *this; }
160 inline UpdateRecipeJobRequest& AddDatabaseOutputs(DatabaseOutput&& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs.push_back(std::move(value)); return *this; }
162
164
168 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
169 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
170 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
171 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
172 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
173 inline UpdateRecipeJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
174 inline UpdateRecipeJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
175 inline UpdateRecipeJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
177
179
183 inline int GetTimeout() const{ return m_timeout; }
184 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
185 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
186 inline UpdateRecipeJobRequest& WithTimeout(int value) { SetTimeout(value); return *this;}
188 private:
189
190 Aws::String m_encryptionKeyArn;
191 bool m_encryptionKeyArnHasBeenSet = false;
192
193 EncryptionMode m_encryptionMode;
194 bool m_encryptionModeHasBeenSet = false;
195
196 Aws::String m_name;
197 bool m_nameHasBeenSet = false;
198
199 LogSubscription m_logSubscription;
200 bool m_logSubscriptionHasBeenSet = false;
201
202 int m_maxCapacity;
203 bool m_maxCapacityHasBeenSet = false;
204
205 int m_maxRetries;
206 bool m_maxRetriesHasBeenSet = false;
207
208 Aws::Vector<Output> m_outputs;
209 bool m_outputsHasBeenSet = false;
210
211 Aws::Vector<DataCatalogOutput> m_dataCatalogOutputs;
212 bool m_dataCatalogOutputsHasBeenSet = false;
213
214 Aws::Vector<DatabaseOutput> m_databaseOutputs;
215 bool m_databaseOutputsHasBeenSet = false;
216
217 Aws::String m_roleArn;
218 bool m_roleArnHasBeenSet = false;
219
220 int m_timeout;
221 bool m_timeoutHasBeenSet = false;
222 };
223
224} // namespace Model
225} // namespace GlueDataBrew
226} // namespace Aws
UpdateRecipeJobRequest & WithRoleArn(const char *value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
void SetOutputs(const Aws::Vector< Output > &value)
UpdateRecipeJobRequest & WithEncryptionKeyArn(Aws::String &&value)
UpdateRecipeJobRequest & WithRoleArn(Aws::String &&value)
UpdateRecipeJobRequest & WithName(const char *value)
UpdateRecipeJobRequest & WithEncryptionKeyArn(const char *value)
UpdateRecipeJobRequest & AddDataCatalogOutputs(const DataCatalogOutput &value)
UpdateRecipeJobRequest & WithDataCatalogOutputs(Aws::Vector< DataCatalogOutput > &&value)
UpdateRecipeJobRequest & WithEncryptionMode(EncryptionMode &&value)
const Aws::Vector< Output > & GetOutputs() const
UpdateRecipeJobRequest & WithOutputs(Aws::Vector< Output > &&value)
UpdateRecipeJobRequest & WithDatabaseOutputs(const Aws::Vector< DatabaseOutput > &value)
UpdateRecipeJobRequest & WithMaxCapacity(int value)
void SetDataCatalogOutputs(const Aws::Vector< DataCatalogOutput > &value)
UpdateRecipeJobRequest & WithLogSubscription(LogSubscription &&value)
UpdateRecipeJobRequest & WithName(const Aws::String &value)
void SetDatabaseOutputs(Aws::Vector< DatabaseOutput > &&value)
UpdateRecipeJobRequest & WithEncryptionMode(const EncryptionMode &value)
UpdateRecipeJobRequest & WithDatabaseOutputs(Aws::Vector< DatabaseOutput > &&value)
UpdateRecipeJobRequest & AddOutputs(const Output &value)
const Aws::Vector< DatabaseOutput > & GetDatabaseOutputs() const
UpdateRecipeJobRequest & WithRoleArn(const Aws::String &value)
UpdateRecipeJobRequest & AddDataCatalogOutputs(DataCatalogOutput &&value)
UpdateRecipeJobRequest & AddDatabaseOutputs(const DatabaseOutput &value)
UpdateRecipeJobRequest & WithEncryptionKeyArn(const Aws::String &value)
void SetLogSubscription(const LogSubscription &value)
const Aws::Vector< DataCatalogOutput > & GetDataCatalogOutputs() const
UpdateRecipeJobRequest & WithName(Aws::String &&value)
UpdateRecipeJobRequest & AddDatabaseOutputs(DatabaseOutput &&value)
UpdateRecipeJobRequest & AddOutputs(Output &&value)
void SetDatabaseOutputs(const Aws::Vector< DatabaseOutput > &value)
UpdateRecipeJobRequest & WithDataCatalogOutputs(const Aws::Vector< DataCatalogOutput > &value)
virtual const char * GetServiceRequestName() const override
void SetDataCatalogOutputs(Aws::Vector< DataCatalogOutput > &&value)
UpdateRecipeJobRequest & WithLogSubscription(const LogSubscription &value)
UpdateRecipeJobRequest & WithOutputs(const Aws::Vector< Output > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector