AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
NeptuneImportOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace NeptuneGraph {
20namespace Model {
21
28 public:
29 AWS_NEPTUNEGRAPH_API NeptuneImportOptions() = default;
30 AWS_NEPTUNEGRAPH_API NeptuneImportOptions(Aws::Utils::Json::JsonView jsonValue);
32 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetS3ExportPath() const { return m_s3ExportPath; }
39 inline bool S3ExportPathHasBeenSet() const { return m_s3ExportPathHasBeenSet; }
40 template <typename S3ExportPathT = Aws::String>
41 void SetS3ExportPath(S3ExportPathT&& value) {
42 m_s3ExportPathHasBeenSet = true;
43 m_s3ExportPath = std::forward<S3ExportPathT>(value);
44 }
45 template <typename S3ExportPathT = Aws::String>
46 NeptuneImportOptions& WithS3ExportPath(S3ExportPathT&& value) {
47 SetS3ExportPath(std::forward<S3ExportPathT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetS3ExportKmsKeyId() const { return m_s3ExportKmsKeyId; }
58 inline bool S3ExportKmsKeyIdHasBeenSet() const { return m_s3ExportKmsKeyIdHasBeenSet; }
59 template <typename S3ExportKmsKeyIdT = Aws::String>
60 void SetS3ExportKmsKeyId(S3ExportKmsKeyIdT&& value) {
61 m_s3ExportKmsKeyIdHasBeenSet = true;
62 m_s3ExportKmsKeyId = std::forward<S3ExportKmsKeyIdT>(value);
63 }
64 template <typename S3ExportKmsKeyIdT = Aws::String>
65 NeptuneImportOptions& WithS3ExportKmsKeyId(S3ExportKmsKeyIdT&& value) {
66 SetS3ExportKmsKeyId(std::forward<S3ExportKmsKeyIdT>(value));
67 return *this;
68 }
70
72
81 inline bool GetPreserveDefaultVertexLabels() const { return m_preserveDefaultVertexLabels; }
82 inline bool PreserveDefaultVertexLabelsHasBeenSet() const { return m_preserveDefaultVertexLabelsHasBeenSet; }
83 inline void SetPreserveDefaultVertexLabels(bool value) {
84 m_preserveDefaultVertexLabelsHasBeenSet = true;
85 m_preserveDefaultVertexLabels = value;
86 }
89 return *this;
90 }
92
94
100 inline bool GetPreserveEdgeIds() const { return m_preserveEdgeIds; }
101 inline bool PreserveEdgeIdsHasBeenSet() const { return m_preserveEdgeIdsHasBeenSet; }
102 inline void SetPreserveEdgeIds(bool value) {
103 m_preserveEdgeIdsHasBeenSet = true;
104 m_preserveEdgeIds = value;
105 }
107 SetPreserveEdgeIds(value);
108 return *this;
109 }
111 private:
112 Aws::String m_s3ExportPath;
113
114 Aws::String m_s3ExportKmsKeyId;
115
116 bool m_preserveDefaultVertexLabels{false};
117
118 bool m_preserveEdgeIds{false};
119 bool m_s3ExportPathHasBeenSet = false;
120 bool m_s3ExportKmsKeyIdHasBeenSet = false;
121 bool m_preserveDefaultVertexLabelsHasBeenSet = false;
122 bool m_preserveEdgeIdsHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace NeptuneGraph
127} // namespace Aws
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NEPTUNEGRAPH_API NeptuneImportOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEGRAPH_API NeptuneImportOptions()=default
NeptuneImportOptions & WithPreserveDefaultVertexLabels(bool value)
NeptuneImportOptions & WithS3ExportKmsKeyId(S3ExportKmsKeyIdT &&value)
void SetS3ExportKmsKeyId(S3ExportKmsKeyIdT &&value)
NeptuneImportOptions & WithS3ExportPath(S3ExportPathT &&value)
AWS_NEPTUNEGRAPH_API NeptuneImportOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
NeptuneImportOptions & WithPreserveEdgeIds(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue