AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartExportTaskRequest.h
1
6#pragma once
7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/neptune-graph/NeptuneGraphRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/neptune-graph/model/ExportFormat.h>
11#include <aws/neptune-graph/model/ParquetType.h>
12#include <aws/neptune-graph/model/ExportFilter.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18namespace NeptuneGraph
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_NEPTUNEGRAPH_API StartExportTaskRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartExportTask"; }
35
36 AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override;
37
41 AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override;
42
44
47 inline const Aws::String& GetGraphIdentifier() const { return m_graphIdentifier; }
48 inline bool GraphIdentifierHasBeenSet() const { return m_graphIdentifierHasBeenSet; }
49 template<typename GraphIdentifierT = Aws::String>
50 void SetGraphIdentifier(GraphIdentifierT&& value) { m_graphIdentifierHasBeenSet = true; m_graphIdentifier = std::forward<GraphIdentifierT>(value); }
51 template<typename GraphIdentifierT = Aws::String>
52 StartExportTaskRequest& WithGraphIdentifier(GraphIdentifierT&& value) { SetGraphIdentifier(std::forward<GraphIdentifierT>(value)); return *this;}
54
56
60 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
61 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
62 template<typename RoleArnT = Aws::String>
63 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
64 template<typename RoleArnT = Aws::String>
65 StartExportTaskRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
67
69
72 inline ExportFormat GetFormat() const { return m_format; }
73 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
74 inline void SetFormat(ExportFormat value) { m_formatHasBeenSet = true; m_format = value; }
75 inline StartExportTaskRequest& WithFormat(ExportFormat value) { SetFormat(value); return *this;}
77
79
82 inline const Aws::String& GetDestination() const { return m_destination; }
83 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
84 template<typename DestinationT = Aws::String>
85 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
86 template<typename DestinationT = Aws::String>
87 StartExportTaskRequest& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
89
91
94 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
95 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
96 template<typename KmsKeyIdentifierT = Aws::String>
97 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
98 template<typename KmsKeyIdentifierT = Aws::String>
99 StartExportTaskRequest& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
101
103
106 inline ParquetType GetParquetType() const { return m_parquetType; }
107 inline bool ParquetTypeHasBeenSet() const { return m_parquetTypeHasBeenSet; }
108 inline void SetParquetType(ParquetType value) { m_parquetTypeHasBeenSet = true; m_parquetType = value; }
109 inline StartExportTaskRequest& WithParquetType(ParquetType value) { SetParquetType(value); return *this;}
111
113
116 inline const ExportFilter& GetExportFilter() const { return m_exportFilter; }
117 inline bool ExportFilterHasBeenSet() const { return m_exportFilterHasBeenSet; }
118 template<typename ExportFilterT = ExportFilter>
119 void SetExportFilter(ExportFilterT&& value) { m_exportFilterHasBeenSet = true; m_exportFilter = std::forward<ExportFilterT>(value); }
120 template<typename ExportFilterT = ExportFilter>
121 StartExportTaskRequest& WithExportFilter(ExportFilterT&& value) { SetExportFilter(std::forward<ExportFilterT>(value)); return *this;}
123
125
128 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
129 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
130 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
132 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 StartExportTaskRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
134 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
135 StartExportTaskRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
136 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
137 }
139 private:
140
141 Aws::String m_graphIdentifier;
142 bool m_graphIdentifierHasBeenSet = false;
143
144 Aws::String m_roleArn;
145 bool m_roleArnHasBeenSet = false;
146
148 bool m_formatHasBeenSet = false;
149
150 Aws::String m_destination;
151 bool m_destinationHasBeenSet = false;
152
153 Aws::String m_kmsKeyIdentifier;
154 bool m_kmsKeyIdentifierHasBeenSet = false;
155
156 ParquetType m_parquetType{ParquetType::NOT_SET};
157 bool m_parquetTypeHasBeenSet = false;
158
159 ExportFilter m_exportFilter;
160 bool m_exportFilterHasBeenSet = false;
161
163 bool m_tagsHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace NeptuneGraph
168} // 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