AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
StartExportTaskRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune-graph/NeptuneGraphRequest.h>
10#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
11#include <aws/neptune-graph/model/ExportFilter.h>
12#include <aws/neptune-graph/model/ExportFormat.h>
13#include <aws/neptune-graph/model/ParquetType.h>
14
15#include <utility>
16
17namespace Aws {
18namespace NeptuneGraph {
19namespace Model {
20
24 public:
25 AWS_NEPTUNEGRAPH_API StartExportTaskRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartExportTask"; }
32
33 AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override;
34
38 AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override;
39
41
44 inline const Aws::String& GetGraphIdentifier() const { return m_graphIdentifier; }
45 inline bool GraphIdentifierHasBeenSet() const { return m_graphIdentifierHasBeenSet; }
46 template <typename GraphIdentifierT = Aws::String>
47 void SetGraphIdentifier(GraphIdentifierT&& value) {
48 m_graphIdentifierHasBeenSet = true;
49 m_graphIdentifier = std::forward<GraphIdentifierT>(value);
50 }
51 template <typename GraphIdentifierT = Aws::String>
52 StartExportTaskRequest& WithGraphIdentifier(GraphIdentifierT&& value) {
53 SetGraphIdentifier(std::forward<GraphIdentifierT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
64 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
65 template <typename RoleArnT = Aws::String>
66 void SetRoleArn(RoleArnT&& value) {
67 m_roleArnHasBeenSet = true;
68 m_roleArn = std::forward<RoleArnT>(value);
69 }
70 template <typename RoleArnT = Aws::String>
72 SetRoleArn(std::forward<RoleArnT>(value));
73 return *this;
74 }
76
78
81 inline ExportFormat GetFormat() const { return m_format; }
82 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
83 inline void SetFormat(ExportFormat value) {
84 m_formatHasBeenSet = true;
85 m_format = value;
86 }
88 SetFormat(value);
89 return *this;
90 }
92
94
97 inline const Aws::String& GetDestination() const { return m_destination; }
98 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
99 template <typename DestinationT = Aws::String>
100 void SetDestination(DestinationT&& value) {
101 m_destinationHasBeenSet = true;
102 m_destination = std::forward<DestinationT>(value);
103 }
104 template <typename DestinationT = Aws::String>
106 SetDestination(std::forward<DestinationT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
116 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
117 template <typename KmsKeyIdentifierT = Aws::String>
118 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
119 m_kmsKeyIdentifierHasBeenSet = true;
120 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
121 }
122 template <typename KmsKeyIdentifierT = Aws::String>
123 StartExportTaskRequest& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
124 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
125 return *this;
126 }
128
130
133 inline ParquetType GetParquetType() const { return m_parquetType; }
134 inline bool ParquetTypeHasBeenSet() const { return m_parquetTypeHasBeenSet; }
135 inline void SetParquetType(ParquetType value) {
136 m_parquetTypeHasBeenSet = true;
137 m_parquetType = value;
138 }
140 SetParquetType(value);
141 return *this;
142 }
144
146
149 inline const ExportFilter& GetExportFilter() const { return m_exportFilter; }
150 inline bool ExportFilterHasBeenSet() const { return m_exportFilterHasBeenSet; }
151 template <typename ExportFilterT = ExportFilter>
152 void SetExportFilter(ExportFilterT&& value) {
153 m_exportFilterHasBeenSet = true;
154 m_exportFilter = std::forward<ExportFilterT>(value);
155 }
156 template <typename ExportFilterT = ExportFilter>
157 StartExportTaskRequest& WithExportFilter(ExportFilterT&& value) {
158 SetExportFilter(std::forward<ExportFilterT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
168 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
169 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
170 void SetTags(TagsT&& value) {
171 m_tagsHasBeenSet = true;
172 m_tags = std::forward<TagsT>(value);
173 }
174 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 SetTags(std::forward<TagsT>(value));
177 return *this;
178 }
179 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
180 StartExportTaskRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
181 m_tagsHasBeenSet = true;
182 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
183 return *this;
184 }
186 private:
187 Aws::String m_graphIdentifier;
188
189 Aws::String m_roleArn;
190
192
193 Aws::String m_destination;
194
195 Aws::String m_kmsKeyIdentifier;
196
197 ParquetType m_parquetType{ParquetType::NOT_SET};
198
199 ExportFilter m_exportFilter;
200
202 bool m_graphIdentifierHasBeenSet = false;
203 bool m_roleArnHasBeenSet = false;
204 bool m_formatHasBeenSet = false;
205 bool m_destinationHasBeenSet = false;
206 bool m_kmsKeyIdentifierHasBeenSet = false;
207 bool m_parquetTypeHasBeenSet = false;
208 bool m_exportFilterHasBeenSet = false;
209 bool m_tagsHasBeenSet = false;
210};
211
212} // namespace Model
213} // namespace NeptuneGraph
214} // namespace Aws
StartExportTaskRequest & WithParquetType(ParquetType value)
AWS_NEPTUNEGRAPH_API StartExportTaskRequest()=default
AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override
StartExportTaskRequest & WithRoleArn(RoleArnT &&value)
StartExportTaskRequest & WithFormat(ExportFormat value)
StartExportTaskRequest & WithGraphIdentifier(GraphIdentifierT &&value)
StartExportTaskRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartExportTaskRequest & WithTags(TagsT &&value)
AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartExportTaskRequest & WithDestination(DestinationT &&value)
StartExportTaskRequest & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
StartExportTaskRequest & WithExportFilter(ExportFilterT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
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