AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NeptuneImportOptions.h
1
6#pragma once
7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace NeptuneGraph
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_NEPTUNEGRAPH_API NeptuneImportOptions() = default;
35 AWS_NEPTUNEGRAPH_API NeptuneImportOptions(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetS3ExportPath() const { return m_s3ExportPath; }
45 inline bool S3ExportPathHasBeenSet() const { return m_s3ExportPathHasBeenSet; }
46 template<typename S3ExportPathT = Aws::String>
47 void SetS3ExportPath(S3ExportPathT&& value) { m_s3ExportPathHasBeenSet = true; m_s3ExportPath = std::forward<S3ExportPathT>(value); }
48 template<typename S3ExportPathT = Aws::String>
49 NeptuneImportOptions& WithS3ExportPath(S3ExportPathT&& value) { SetS3ExportPath(std::forward<S3ExportPathT>(value)); return *this;}
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) { m_s3ExportKmsKeyIdHasBeenSet = true; m_s3ExportKmsKeyId = std::forward<S3ExportKmsKeyIdT>(value); }
61 template<typename S3ExportKmsKeyIdT = Aws::String>
62 NeptuneImportOptions& WithS3ExportKmsKeyId(S3ExportKmsKeyIdT&& value) { SetS3ExportKmsKeyId(std::forward<S3ExportKmsKeyIdT>(value)); return *this;}
64
66
75 inline bool GetPreserveDefaultVertexLabels() const { return m_preserveDefaultVertexLabels; }
76 inline bool PreserveDefaultVertexLabelsHasBeenSet() const { return m_preserveDefaultVertexLabelsHasBeenSet; }
77 inline void SetPreserveDefaultVertexLabels(bool value) { m_preserveDefaultVertexLabelsHasBeenSet = true; m_preserveDefaultVertexLabels = value; }
80
82
88 inline bool GetPreserveEdgeIds() const { return m_preserveEdgeIds; }
89 inline bool PreserveEdgeIdsHasBeenSet() const { return m_preserveEdgeIdsHasBeenSet; }
90 inline void SetPreserveEdgeIds(bool value) { m_preserveEdgeIdsHasBeenSet = true; m_preserveEdgeIds = value; }
91 inline NeptuneImportOptions& WithPreserveEdgeIds(bool value) { SetPreserveEdgeIds(value); return *this;}
93 private:
94
95 Aws::String m_s3ExportPath;
96 bool m_s3ExportPathHasBeenSet = false;
97
98 Aws::String m_s3ExportKmsKeyId;
99 bool m_s3ExportKmsKeyIdHasBeenSet = false;
100
101 bool m_preserveDefaultVertexLabels{false};
102 bool m_preserveDefaultVertexLabelsHasBeenSet = false;
103
104 bool m_preserveEdgeIds{false};
105 bool m_preserveEdgeIdsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace NeptuneGraph
110} // 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