AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ChangeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/finspace/Finspace_EXPORTS.h>
9#include <aws/finspace/model/ChangeType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace finspace {
21namespace Model {
22
29 public:
30 AWS_FINSPACE_API ChangeRequest() = default;
31 AWS_FINSPACE_API ChangeRequest(Aws::Utils::Json::JsonView jsonValue);
33 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline ChangeType GetChangeType() const { return m_changeType; }
43 inline bool ChangeTypeHasBeenSet() const { return m_changeTypeHasBeenSet; }
44 inline void SetChangeType(ChangeType value) {
45 m_changeTypeHasBeenSet = true;
46 m_changeType = value;
47 }
49 SetChangeType(value);
50 return *this;
51 }
53
55
59 inline const Aws::String& GetS3Path() const { return m_s3Path; }
60 inline bool S3PathHasBeenSet() const { return m_s3PathHasBeenSet; }
61 template <typename S3PathT = Aws::String>
62 void SetS3Path(S3PathT&& value) {
63 m_s3PathHasBeenSet = true;
64 m_s3Path = std::forward<S3PathT>(value);
65 }
66 template <typename S3PathT = Aws::String>
67 ChangeRequest& WithS3Path(S3PathT&& value) {
68 SetS3Path(std::forward<S3PathT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDbPath() const { return m_dbPath; }
78 inline bool DbPathHasBeenSet() const { return m_dbPathHasBeenSet; }
79 template <typename DbPathT = Aws::String>
80 void SetDbPath(DbPathT&& value) {
81 m_dbPathHasBeenSet = true;
82 m_dbPath = std::forward<DbPathT>(value);
83 }
84 template <typename DbPathT = Aws::String>
85 ChangeRequest& WithDbPath(DbPathT&& value) {
86 SetDbPath(std::forward<DbPathT>(value));
87 return *this;
88 }
90 private:
91 ChangeType m_changeType{ChangeType::NOT_SET};
92
93 Aws::String m_s3Path;
94
95 Aws::String m_dbPath;
96 bool m_changeTypeHasBeenSet = false;
97 bool m_s3PathHasBeenSet = false;
98 bool m_dbPathHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace finspace
103} // namespace Aws
void SetChangeType(ChangeType value)
ChangeRequest & WithDbPath(DbPathT &&value)
AWS_FINSPACE_API ChangeRequest()=default
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
ChangeRequest & WithS3Path(S3PathT &&value)
AWS_FINSPACE_API ChangeRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API ChangeRequest(Aws::Utils::Json::JsonView jsonValue)
ChangeRequest & WithChangeType(ChangeType value)
const Aws::String & GetDbPath() const
const Aws::String & GetS3Path() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue