AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartImportTaskRequest.h
1
6#pragma once
7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/neptune-graph/NeptuneGraphRequest.h>
9#include <aws/neptune-graph/model/ImportOptions.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/neptune-graph/model/Format.h>
12#include <aws/neptune-graph/model/BlankNodeHandling.h>
13#include <utility>
14
15namespace Aws
16{
17namespace NeptuneGraph
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_NEPTUNEGRAPH_API StartImportTaskRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "StartImportTask"; }
34
35 AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override;
36
40 AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override;
41
43
44 inline const ImportOptions& GetImportOptions() const{ return m_importOptions; }
45 inline bool ImportOptionsHasBeenSet() const { return m_importOptionsHasBeenSet; }
46 inline void SetImportOptions(const ImportOptions& value) { m_importOptionsHasBeenSet = true; m_importOptions = value; }
47 inline void SetImportOptions(ImportOptions&& value) { m_importOptionsHasBeenSet = true; m_importOptions = std::move(value); }
48 inline StartImportTaskRequest& WithImportOptions(const ImportOptions& value) { SetImportOptions(value); return *this;}
49 inline StartImportTaskRequest& WithImportOptions(ImportOptions&& value) { SetImportOptions(std::move(value)); return *this;}
51
53
58 inline bool GetFailOnError() const{ return m_failOnError; }
59 inline bool FailOnErrorHasBeenSet() const { return m_failOnErrorHasBeenSet; }
60 inline void SetFailOnError(bool value) { m_failOnErrorHasBeenSet = true; m_failOnError = value; }
61 inline StartImportTaskRequest& WithFailOnError(bool value) { SetFailOnError(value); return *this;}
63
65
69 inline const Aws::String& GetSource() const{ return m_source; }
70 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
71 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
72 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
73 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
74 inline StartImportTaskRequest& WithSource(const Aws::String& value) { SetSource(value); return *this;}
75 inline StartImportTaskRequest& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
76 inline StartImportTaskRequest& WithSource(const char* value) { SetSource(value); return *this;}
78
80
85 inline const Format& GetFormat() const{ return m_format; }
86 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
87 inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; }
88 inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
89 inline StartImportTaskRequest& WithFormat(const Format& value) { SetFormat(value); return *this;}
90 inline StartImportTaskRequest& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;}
92
94
102 inline const BlankNodeHandling& GetBlankNodeHandling() const{ return m_blankNodeHandling; }
103 inline bool BlankNodeHandlingHasBeenSet() const { return m_blankNodeHandlingHasBeenSet; }
104 inline void SetBlankNodeHandling(const BlankNodeHandling& value) { m_blankNodeHandlingHasBeenSet = true; m_blankNodeHandling = value; }
105 inline void SetBlankNodeHandling(BlankNodeHandling&& value) { m_blankNodeHandlingHasBeenSet = true; m_blankNodeHandling = std::move(value); }
107 inline StartImportTaskRequest& WithBlankNodeHandling(BlankNodeHandling&& value) { SetBlankNodeHandling(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetGraphIdentifier() const{ return m_graphIdentifier; }
115 inline bool GraphIdentifierHasBeenSet() const { return m_graphIdentifierHasBeenSet; }
116 inline void SetGraphIdentifier(const Aws::String& value) { m_graphIdentifierHasBeenSet = true; m_graphIdentifier = value; }
117 inline void SetGraphIdentifier(Aws::String&& value) { m_graphIdentifierHasBeenSet = true; m_graphIdentifier = std::move(value); }
118 inline void SetGraphIdentifier(const char* value) { m_graphIdentifierHasBeenSet = true; m_graphIdentifier.assign(value); }
119 inline StartImportTaskRequest& WithGraphIdentifier(const Aws::String& value) { SetGraphIdentifier(value); return *this;}
120 inline StartImportTaskRequest& WithGraphIdentifier(Aws::String&& value) { SetGraphIdentifier(std::move(value)); return *this;}
121 inline StartImportTaskRequest& WithGraphIdentifier(const char* value) { SetGraphIdentifier(value); return *this;}
123
125
129 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
130 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
131 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
132 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
133 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
134 inline StartImportTaskRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
135 inline StartImportTaskRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
136 inline StartImportTaskRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
138 private:
139
140 ImportOptions m_importOptions;
141 bool m_importOptionsHasBeenSet = false;
142
143 bool m_failOnError;
144 bool m_failOnErrorHasBeenSet = false;
145
146 Aws::String m_source;
147 bool m_sourceHasBeenSet = false;
148
149 Format m_format;
150 bool m_formatHasBeenSet = false;
151
152 BlankNodeHandling m_blankNodeHandling;
153 bool m_blankNodeHandlingHasBeenSet = false;
154
155 Aws::String m_graphIdentifier;
156 bool m_graphIdentifierHasBeenSet = false;
157
158 Aws::String m_roleArn;
159 bool m_roleArnHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace NeptuneGraph
164} // namespace Aws
StartImportTaskRequest & WithRoleArn(const char *value)
StartImportTaskRequest & WithGraphIdentifier(const Aws::String &value)
StartImportTaskRequest & WithGraphIdentifier(const char *value)
StartImportTaskRequest & WithBlankNodeHandling(const BlankNodeHandling &value)
void SetBlankNodeHandling(const BlankNodeHandling &value)
StartImportTaskRequest & WithFormat(Format &&value)
StartImportTaskRequest & WithFormat(const Format &value)
StartImportTaskRequest & WithImportOptions(ImportOptions &&value)
StartImportTaskRequest & WithSource(const char *value)
AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override
StartImportTaskRequest & WithSource(Aws::String &&value)
StartImportTaskRequest & WithSource(const Aws::String &value)
StartImportTaskRequest & WithFailOnError(bool value)
StartImportTaskRequest & WithImportOptions(const ImportOptions &value)
StartImportTaskRequest & WithGraphIdentifier(Aws::String &&value)
StartImportTaskRequest & WithBlankNodeHandling(BlankNodeHandling &&value)
StartImportTaskRequest & WithRoleArn(Aws::String &&value)
StartImportTaskRequest & WithRoleArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override
Aws::Endpoint::EndpointParameters EndpointParameters
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String