AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename SourceT = Aws::String>
64 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
65 template<typename SourceT = Aws::String>
66 StartLoaderJobRequest& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
68
70
89 inline Format GetFormat() const { return m_format; }
90 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
91 inline void SetFormat(Format value) { m_formatHasBeenSet = true; m_format = value; }
92 inline StartLoaderJobRequest& WithFormat(Format value) { SetFormat(value); return *this;}
94
96
100 inline S3BucketRegion GetS3BucketRegion() const { return m_s3BucketRegion; }
101 inline bool S3BucketRegionHasBeenSet() const { return m_s3BucketRegionHasBeenSet; }
102 inline void SetS3BucketRegion(S3BucketRegion value) { m_s3BucketRegionHasBeenSet = true; m_s3BucketRegion = value; }
105
107
114 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
115 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
116 template<typename IamRoleArnT = Aws::String>
117 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
118 template<typename IamRoleArnT = Aws::String>
119 StartLoaderJobRequest& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
121
123
144 inline Mode GetMode() const { return m_mode; }
145 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
146 inline void SetMode(Mode value) { m_modeHasBeenSet = true; m_mode = value; }
147 inline StartLoaderJobRequest& WithMode(Mode value) { SetMode(value); return *this;}
149
151
160 inline bool GetFailOnError() const { return m_failOnError; }
161 inline bool FailOnErrorHasBeenSet() const { return m_failOnErrorHasBeenSet; }
162 inline void SetFailOnError(bool value) { m_failOnErrorHasBeenSet = true; m_failOnError = value; }
163 inline StartLoaderJobRequest& WithFailOnError(bool value) { SetFailOnError(value); return *this;}
165
167
187 inline Parallelism GetParallelism() const { return m_parallelism; }
188 inline bool ParallelismHasBeenSet() const { return m_parallelismHasBeenSet; }
189 inline void SetParallelism(Parallelism value) { m_parallelismHasBeenSet = true; m_parallelism = value; }
190 inline StartLoaderJobRequest& WithParallelism(Parallelism value) { SetParallelism(value); return *this;}
192
194
213 inline const Aws::Map<Aws::String, Aws::String>& GetParserConfiguration() const { return m_parserConfiguration; }
214 inline bool ParserConfigurationHasBeenSet() const { return m_parserConfigurationHasBeenSet; }
215 template<typename ParserConfigurationT = Aws::Map<Aws::String, Aws::String>>
216 void SetParserConfiguration(ParserConfigurationT&& value) { m_parserConfigurationHasBeenSet = true; m_parserConfiguration = std::forward<ParserConfigurationT>(value); }
217 template<typename ParserConfigurationT = Aws::Map<Aws::String, Aws::String>>
218 StartLoaderJobRequest& WithParserConfiguration(ParserConfigurationT&& value) { SetParserConfiguration(std::forward<ParserConfigurationT>(value)); return *this;}
219 template<typename ParserConfigurationKeyT = Aws::String, typename ParserConfigurationValueT = Aws::String>
220 StartLoaderJobRequest& AddParserConfiguration(ParserConfigurationKeyT&& key, ParserConfigurationValueT&& value) {
221 m_parserConfigurationHasBeenSet = true; m_parserConfiguration.emplace(std::forward<ParserConfigurationKeyT>(key), std::forward<ParserConfigurationValueT>(value)); return *this;
222 }
224
226
242 inline bool GetUpdateSingleCardinalityProperties() const { return m_updateSingleCardinalityProperties; }
243 inline bool UpdateSingleCardinalityPropertiesHasBeenSet() const { return m_updateSingleCardinalityPropertiesHasBeenSet; }
244 inline void SetUpdateSingleCardinalityProperties(bool value) { m_updateSingleCardinalityPropertiesHasBeenSet = true; m_updateSingleCardinalityProperties = value; }
247
249
260 inline bool GetQueueRequest() const { return m_queueRequest; }
261 inline bool QueueRequestHasBeenSet() const { return m_queueRequestHasBeenSet; }
262 inline void SetQueueRequest(bool value) { m_queueRequestHasBeenSet = true; m_queueRequest = value; }
263 inline StartLoaderJobRequest& WithQueueRequest(bool value) { SetQueueRequest(value); return *this;}
265
267
290 inline const Aws::Vector<Aws::String>& GetDependencies() const { return m_dependencies; }
291 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
292 template<typename DependenciesT = Aws::Vector<Aws::String>>
293 void SetDependencies(DependenciesT&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::forward<DependenciesT>(value); }
294 template<typename DependenciesT = Aws::Vector<Aws::String>>
295 StartLoaderJobRequest& WithDependencies(DependenciesT&& value) { SetDependencies(std::forward<DependenciesT>(value)); return *this;}
296 template<typename DependenciesT = Aws::String>
297 StartLoaderJobRequest& AddDependencies(DependenciesT&& value) { m_dependenciesHasBeenSet = true; m_dependencies.emplace_back(std::forward<DependenciesT>(value)); return *this; }
299
301
317 inline bool GetUserProvidedEdgeIds() const { return m_userProvidedEdgeIds; }
318 inline bool UserProvidedEdgeIdsHasBeenSet() const { return m_userProvidedEdgeIdsHasBeenSet; }
319 inline void SetUserProvidedEdgeIds(bool value) { m_userProvidedEdgeIdsHasBeenSet = true; m_userProvidedEdgeIds = value; }
320 inline StartLoaderJobRequest& WithUserProvidedEdgeIds(bool value) { SetUserProvidedEdgeIds(value); return *this;}
322 private:
323
324 Aws::String m_source;
325 bool m_sourceHasBeenSet = false;
326
327 Format m_format{Format::NOT_SET};
328 bool m_formatHasBeenSet = false;
329
330 S3BucketRegion m_s3BucketRegion{S3BucketRegion::NOT_SET};
331 bool m_s3BucketRegionHasBeenSet = false;
332
333 Aws::String m_iamRoleArn;
334 bool m_iamRoleArnHasBeenSet = false;
335
336 Mode m_mode{Mode::NOT_SET};
337 bool m_modeHasBeenSet = false;
338
339 bool m_failOnError{false};
340 bool m_failOnErrorHasBeenSet = false;
341
342 Parallelism m_parallelism{Parallelism::NOT_SET};
343 bool m_parallelismHasBeenSet = false;
344
345 Aws::Map<Aws::String, Aws::String> m_parserConfiguration;
346 bool m_parserConfigurationHasBeenSet = false;
347
348 bool m_updateSingleCardinalityProperties{false};
349 bool m_updateSingleCardinalityPropertiesHasBeenSet = false;
350
351 bool m_queueRequest{false};
352 bool m_queueRequestHasBeenSet = false;
353
354 Aws::Vector<Aws::String> m_dependencies;
355 bool m_dependenciesHasBeenSet = false;
356
357 bool m_userProvidedEdgeIds{false};
358 bool m_userProvidedEdgeIdsHasBeenSet = false;
359 };
360
361} // namespace Model
362} // namespace neptunedata
363} // namespace Aws
StartLoaderJobRequest & WithParserConfiguration(ParserConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
StartLoaderJobRequest & WithFormat(Format value)
StartLoaderJobRequest & WithUpdateSingleCardinalityProperties(bool value)
StartLoaderJobRequest & WithQueueRequest(bool value)
StartLoaderJobRequest & WithDependencies(DependenciesT &&value)
StartLoaderJobRequest & AddParserConfiguration(ParserConfigurationKeyT &&key, ParserConfigurationValueT &&value)
StartLoaderJobRequest & WithIamRoleArn(IamRoleArnT &&value)
StartLoaderJobRequest & WithParallelism(Parallelism value)
const Aws::Vector< Aws::String > & GetDependencies() const
StartLoaderJobRequest & WithSource(SourceT &&value)
StartLoaderJobRequest & WithUserProvidedEdgeIds(bool value)
StartLoaderJobRequest & AddDependencies(DependenciesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParserConfiguration() const
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
StartLoaderJobRequest & WithFailOnError(bool value)
AWS_NEPTUNEDATA_API StartLoaderJobRequest()=default
void SetParserConfiguration(ParserConfigurationT &&value)
StartLoaderJobRequest & WithS3BucketRegion(S3BucketRegion 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