AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ClusterSnapshotInList.h
1
6#pragma once
7#include <aws/docdb-elastic/DocDBElastic_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/docdb-elastic/model/Status.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 DocDBElastic
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DOCDBELASTIC_API ClusterSnapshotInList() = default;
36 AWS_DOCDBELASTIC_API ClusterSnapshotInList(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
46 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
47 template<typename ClusterArnT = Aws::String>
48 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
49 template<typename ClusterArnT = Aws::String>
50 ClusterSnapshotInList& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetSnapshotArn() const { return m_snapshotArn; }
58 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
59 template<typename SnapshotArnT = Aws::String>
60 void SetSnapshotArn(SnapshotArnT&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::forward<SnapshotArnT>(value); }
61 template<typename SnapshotArnT = Aws::String>
62 ClusterSnapshotInList& WithSnapshotArn(SnapshotArnT&& value) { SetSnapshotArn(std::forward<SnapshotArnT>(value)); return *this;}
64
66
70 inline const Aws::String& GetSnapshotCreationTime() const { return m_snapshotCreationTime; }
71 inline bool SnapshotCreationTimeHasBeenSet() const { return m_snapshotCreationTimeHasBeenSet; }
72 template<typename SnapshotCreationTimeT = Aws::String>
73 void SetSnapshotCreationTime(SnapshotCreationTimeT&& value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime = std::forward<SnapshotCreationTimeT>(value); }
74 template<typename SnapshotCreationTimeT = Aws::String>
75 ClusterSnapshotInList& WithSnapshotCreationTime(SnapshotCreationTimeT&& value) { SetSnapshotCreationTime(std::forward<SnapshotCreationTimeT>(value)); return *this;}
77
79
82 inline const Aws::String& GetSnapshotName() const { return m_snapshotName; }
83 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
84 template<typename SnapshotNameT = Aws::String>
85 void SetSnapshotName(SnapshotNameT&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::forward<SnapshotNameT>(value); }
86 template<typename SnapshotNameT = Aws::String>
87 ClusterSnapshotInList& WithSnapshotName(SnapshotNameT&& value) { SetSnapshotName(std::forward<SnapshotNameT>(value)); return *this;}
89
91
94 inline Status GetStatus() const { return m_status; }
95 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
96 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
97 inline ClusterSnapshotInList& WithStatus(Status value) { SetStatus(value); return *this;}
99 private:
100
101 Aws::String m_clusterArn;
102 bool m_clusterArnHasBeenSet = false;
103
104 Aws::String m_snapshotArn;
105 bool m_snapshotArnHasBeenSet = false;
106
107 Aws::String m_snapshotCreationTime;
108 bool m_snapshotCreationTimeHasBeenSet = false;
109
110 Aws::String m_snapshotName;
111 bool m_snapshotNameHasBeenSet = false;
112
113 Status m_status{Status::NOT_SET};
114 bool m_statusHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace DocDBElastic
119} // namespace Aws
ClusterSnapshotInList & WithSnapshotName(SnapshotNameT &&value)
ClusterSnapshotInList & WithClusterArn(ClusterArnT &&value)
ClusterSnapshotInList & WithStatus(Status value)
ClusterSnapshotInList & WithSnapshotArn(SnapshotArnT &&value)
ClusterSnapshotInList & WithSnapshotCreationTime(SnapshotCreationTimeT &&value)
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSnapshotCreationTime(SnapshotCreationTimeT &&value)
AWS_DOCDBELASTIC_API ClusterSnapshotInList & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DOCDBELASTIC_API ClusterSnapshotInList(Aws::Utils::Json::JsonView jsonValue)
AWS_DOCDBELASTIC_API ClusterSnapshotInList()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue