AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ChangeRequest.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/model/ChangeType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace finspace
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_FINSPACE_API ChangeRequest() = default;
36 AWS_FINSPACE_API ChangeRequest(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline ChangeType GetChangeType() const { return m_changeType; }
49 inline bool ChangeTypeHasBeenSet() const { return m_changeTypeHasBeenSet; }
50 inline void SetChangeType(ChangeType value) { m_changeTypeHasBeenSet = true; m_changeType = value; }
51 inline ChangeRequest& WithChangeType(ChangeType value) { SetChangeType(value); return *this;}
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) { m_s3PathHasBeenSet = true; m_s3Path = std::forward<S3PathT>(value); }
63 template<typename S3PathT = Aws::String>
64 ChangeRequest& WithS3Path(S3PathT&& value) { SetS3Path(std::forward<S3PathT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDbPath() const { return m_dbPath; }
72 inline bool DbPathHasBeenSet() const { return m_dbPathHasBeenSet; }
73 template<typename DbPathT = Aws::String>
74 void SetDbPath(DbPathT&& value) { m_dbPathHasBeenSet = true; m_dbPath = std::forward<DbPathT>(value); }
75 template<typename DbPathT = Aws::String>
76 ChangeRequest& WithDbPath(DbPathT&& value) { SetDbPath(std::forward<DbPathT>(value)); return *this;}
78 private:
79
80 ChangeType m_changeType{ChangeType::NOT_SET};
81 bool m_changeTypeHasBeenSet = false;
82
83 Aws::String m_s3Path;
84 bool m_s3PathHasBeenSet = false;
85
86 Aws::String m_dbPath;
87 bool m_dbPathHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace finspace
92} // 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