AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartLoaderJobRequest.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/neptunedata/NeptunedataRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/neptunedata/model/Format.h>
11#include <aws/neptunedata/model/S3BucketRegion.h>
12#include <aws/neptunedata/model/Mode.h>
13#include <aws/neptunedata/model/Parallelism.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <utility>
17
18namespace Aws
19{
20namespace neptunedata
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_NEPTUNEDATA_API StartLoaderJobRequest();
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 "StartLoaderJob"; }
37
38 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
39
40
42
61 inline const Aws::String& GetSource() const{ return m_source; }
62 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
63 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
64 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
65 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
66 inline StartLoaderJobRequest& WithSource(const Aws::String& value) { SetSource(value); return *this;}
67 inline StartLoaderJobRequest& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
68 inline StartLoaderJobRequest& WithSource(const char* value) { SetSource(value); return *this;}
70
72
91 inline const Format& GetFormat() const{ return m_format; }
92 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
93 inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; }
94 inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
95 inline StartLoaderJobRequest& WithFormat(const Format& value) { SetFormat(value); return *this;}
96 inline StartLoaderJobRequest& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
98
100
104 inline const S3BucketRegion& GetS3BucketRegion() const{ return m_s3BucketRegion; }
105 inline bool S3BucketRegionHasBeenSet() const { return m_s3BucketRegionHasBeenSet; }
106 inline void SetS3BucketRegion(const S3BucketRegion& value) { m_s3BucketRegionHasBeenSet = true; m_s3BucketRegion = value; }
107 inline void SetS3BucketRegion(S3BucketRegion&& value) { m_s3BucketRegionHasBeenSet = true; m_s3BucketRegion = std::move(value); }
108 inline StartLoaderJobRequest& WithS3BucketRegion(const S3BucketRegion& value) { SetS3BucketRegion(value); return *this;}
109 inline StartLoaderJobRequest& WithS3BucketRegion(S3BucketRegion&& value) { SetS3BucketRegion(std::move(value)); return *this;}
111
113
120 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
121 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
122 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
123 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
124 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
125 inline StartLoaderJobRequest& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
126 inline StartLoaderJobRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
127 inline StartLoaderJobRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
129
131
152 inline const Mode& GetMode() const{ return m_mode; }
153 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
154 inline void SetMode(const Mode& value) { m_modeHasBeenSet = true; m_mode = value; }
155 inline void SetMode(Mode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
156 inline StartLoaderJobRequest& WithMode(const Mode& value) { SetMode(value); return *this;}
157 inline StartLoaderJobRequest& WithMode(Mode&& value) { SetMode(std::move(value)); return *this;}
159
161
170 inline bool GetFailOnError() const{ return m_failOnError; }
171 inline bool FailOnErrorHasBeenSet() const { return m_failOnErrorHasBeenSet; }
172 inline void SetFailOnError(bool value) { m_failOnErrorHasBeenSet = true; m_failOnError = value; }
173 inline StartLoaderJobRequest& WithFailOnError(bool value) { SetFailOnError(value); return *this;}
175
177
197 inline const Parallelism& GetParallelism() const{ return m_parallelism; }
198 inline bool ParallelismHasBeenSet() const { return m_parallelismHasBeenSet; }
199 inline void SetParallelism(const Parallelism& value) { m_parallelismHasBeenSet = true; m_parallelism = value; }
200 inline void SetParallelism(Parallelism&& value) { m_parallelismHasBeenSet = true; m_parallelism = std::move(value); }
201 inline StartLoaderJobRequest& WithParallelism(const Parallelism& value) { SetParallelism(value); return *this;}
202 inline StartLoaderJobRequest& WithParallelism(Parallelism&& value) { SetParallelism(std::move(value)); return *this;}
204
206
225 inline const Aws::Map<Aws::String, Aws::String>& GetParserConfiguration() const{ return m_parserConfiguration; }
226 inline bool ParserConfigurationHasBeenSet() const { return m_parserConfigurationHasBeenSet; }
227 inline void SetParserConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { m_parserConfigurationHasBeenSet = true; m_parserConfiguration = value; }
228 inline void SetParserConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { m_parserConfigurationHasBeenSet = true; m_parserConfiguration = std::move(value); }
231 inline StartLoaderJobRequest& AddParserConfiguration(const Aws::String& key, const Aws::String& value) { m_parserConfigurationHasBeenSet = true; m_parserConfiguration.emplace(key, value); return *this; }
232 inline StartLoaderJobRequest& AddParserConfiguration(Aws::String&& key, const Aws::String& value) { m_parserConfigurationHasBeenSet = true; m_parserConfiguration.emplace(std::move(key), value); return *this; }
233 inline StartLoaderJobRequest& AddParserConfiguration(const Aws::String& key, Aws::String&& value) { m_parserConfigurationHasBeenSet = true; m_parserConfiguration.emplace(key, std::move(value)); return *this; }
234 inline StartLoaderJobRequest& AddParserConfiguration(Aws::String&& key, Aws::String&& value) { m_parserConfigurationHasBeenSet = true; m_parserConfiguration.emplace(std::move(key), std::move(value)); return *this; }
235 inline StartLoaderJobRequest& AddParserConfiguration(const char* key, Aws::String&& value) { m_parserConfigurationHasBeenSet = true; m_parserConfiguration.emplace(key, std::move(value)); return *this; }
236 inline StartLoaderJobRequest& AddParserConfiguration(Aws::String&& key, const char* value) { m_parserConfigurationHasBeenSet = true; m_parserConfiguration.emplace(std::move(key), value); return *this; }
237 inline StartLoaderJobRequest& AddParserConfiguration(const char* key, const char* value) { m_parserConfigurationHasBeenSet = true; m_parserConfiguration.emplace(key, value); return *this; }
239
241
257 inline bool GetUpdateSingleCardinalityProperties() const{ return m_updateSingleCardinalityProperties; }
258 inline bool UpdateSingleCardinalityPropertiesHasBeenSet() const { return m_updateSingleCardinalityPropertiesHasBeenSet; }
259 inline void SetUpdateSingleCardinalityProperties(bool value) { m_updateSingleCardinalityPropertiesHasBeenSet = true; m_updateSingleCardinalityProperties = value; }
262
264
275 inline bool GetQueueRequest() const{ return m_queueRequest; }
276 inline bool QueueRequestHasBeenSet() const { return m_queueRequestHasBeenSet; }
277 inline void SetQueueRequest(bool value) { m_queueRequestHasBeenSet = true; m_queueRequest = value; }
278 inline StartLoaderJobRequest& WithQueueRequest(bool value) { SetQueueRequest(value); return *this;}
280
282
305 inline const Aws::Vector<Aws::String>& GetDependencies() const{ return m_dependencies; }
306 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
307 inline void SetDependencies(const Aws::Vector<Aws::String>& value) { m_dependenciesHasBeenSet = true; m_dependencies = value; }
308 inline void SetDependencies(Aws::Vector<Aws::String>&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::move(value); }
310 inline StartLoaderJobRequest& WithDependencies(Aws::Vector<Aws::String>&& value) { SetDependencies(std::move(value)); return *this;}
311 inline StartLoaderJobRequest& AddDependencies(const Aws::String& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; }
312 inline StartLoaderJobRequest& AddDependencies(Aws::String&& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(std::move(value)); return *this; }
313 inline StartLoaderJobRequest& AddDependencies(const char* value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; }
315
317
333 inline bool GetUserProvidedEdgeIds() const{ return m_userProvidedEdgeIds; }
334 inline bool UserProvidedEdgeIdsHasBeenSet() const { return m_userProvidedEdgeIdsHasBeenSet; }
335 inline void SetUserProvidedEdgeIds(bool value) { m_userProvidedEdgeIdsHasBeenSet = true; m_userProvidedEdgeIds = value; }
336 inline StartLoaderJobRequest& WithUserProvidedEdgeIds(bool value) { SetUserProvidedEdgeIds(value); return *this;}
338 private:
339
340 Aws::String m_source;
341 bool m_sourceHasBeenSet = false;
342
343 Format m_format;
344 bool m_formatHasBeenSet = false;
345
346 S3BucketRegion m_s3BucketRegion;
347 bool m_s3BucketRegionHasBeenSet = false;
348
349 Aws::String m_iamRoleArn;
350 bool m_iamRoleArnHasBeenSet = false;
351
352 Mode m_mode;
353 bool m_modeHasBeenSet = false;
354
355 bool m_failOnError;
356 bool m_failOnErrorHasBeenSet = false;
357
358 Parallelism m_parallelism;
359 bool m_parallelismHasBeenSet = false;
360
361 Aws::Map<Aws::String, Aws::String> m_parserConfiguration;
362 bool m_parserConfigurationHasBeenSet = false;
363
364 bool m_updateSingleCardinalityProperties;
365 bool m_updateSingleCardinalityPropertiesHasBeenSet = false;
366
367 bool m_queueRequest;
368 bool m_queueRequestHasBeenSet = false;
369
370 Aws::Vector<Aws::String> m_dependencies;
371 bool m_dependenciesHasBeenSet = false;
372
373 bool m_userProvidedEdgeIds;
374 bool m_userProvidedEdgeIdsHasBeenSet = false;
375 };
376
377} // namespace Model
378} // namespace neptunedata
379} // namespace Aws
StartLoaderJobRequest & AddDependencies(Aws::String &&value)
void SetDependencies(const Aws::Vector< Aws::String > &value)
StartLoaderJobRequest & WithParserConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
StartLoaderJobRequest & WithUpdateSingleCardinalityProperties(bool value)
StartLoaderJobRequest & WithParserConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
StartLoaderJobRequest & WithQueueRequest(bool value)
StartLoaderJobRequest & AddParserConfiguration(Aws::String &&key, const char *value)
StartLoaderJobRequest & WithMode(const Mode &value)
StartLoaderJobRequest & WithIamRoleArn(const Aws::String &value)
void SetParserConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
StartLoaderJobRequest & WithSource(const Aws::String &value)
StartLoaderJobRequest & AddParserConfiguration(const char *key, const char *value)
void SetDependencies(Aws::Vector< Aws::String > &&value)
StartLoaderJobRequest & AddParserConfiguration(const Aws::String &key, Aws::String &&value)
const Aws::Vector< Aws::String > & GetDependencies() const
StartLoaderJobRequest & WithUserProvidedEdgeIds(bool value)
StartLoaderJobRequest & WithDependencies(Aws::Vector< Aws::String > &&value)
StartLoaderJobRequest & WithParallelism(Parallelism &&value)
StartLoaderJobRequest & WithS3BucketRegion(S3BucketRegion &&value)
StartLoaderJobRequest & WithIamRoleArn(const char *value)
StartLoaderJobRequest & WithIamRoleArn(Aws::String &&value)
void SetParserConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
StartLoaderJobRequest & WithS3BucketRegion(const S3BucketRegion &value)
StartLoaderJobRequest & WithSource(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetParserConfiguration() const
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
StartLoaderJobRequest & AddDependencies(const char *value)
StartLoaderJobRequest & AddDependencies(const Aws::String &value)
StartLoaderJobRequest & WithFailOnError(bool value)
StartLoaderJobRequest & WithParallelism(const Parallelism &value)
StartLoaderJobRequest & AddParserConfiguration(const char *key, Aws::String &&value)
StartLoaderJobRequest & WithFormat(const Format &value)
void SetS3BucketRegion(const S3BucketRegion &value)
StartLoaderJobRequest & WithDependencies(const Aws::Vector< Aws::String > &value)
StartLoaderJobRequest & AddParserConfiguration(const Aws::String &key, const Aws::String &value)
StartLoaderJobRequest & WithFormat(Format &&value)
StartLoaderJobRequest & AddParserConfiguration(Aws::String &&key, const Aws::String &value)
StartLoaderJobRequest & AddParserConfiguration(Aws::String &&key, Aws::String &&value)
StartLoaderJobRequest & WithSource(const char *value)
StartLoaderJobRequest & WithMode(Mode &&value)
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
std::vector< T, Aws::Allocator< T > > Vector