AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
48 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
49 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
50 inline ClusterSnapshotInList& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
51 inline ClusterSnapshotInList& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
52 inline ClusterSnapshotInList& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
54
56
59 inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; }
60 inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; }
61 inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; }
62 inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); }
63 inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); }
64 inline ClusterSnapshotInList& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;}
65 inline ClusterSnapshotInList& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;}
66 inline ClusterSnapshotInList& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;}
68
70
74 inline const Aws::String& GetSnapshotCreationTime() const{ return m_snapshotCreationTime; }
75 inline bool SnapshotCreationTimeHasBeenSet() const { return m_snapshotCreationTimeHasBeenSet; }
76 inline void SetSnapshotCreationTime(const Aws::String& value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime = value; }
77 inline void SetSnapshotCreationTime(Aws::String&& value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime = std::move(value); }
78 inline void SetSnapshotCreationTime(const char* value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime.assign(value); }
80 inline ClusterSnapshotInList& WithSnapshotCreationTime(Aws::String&& value) { SetSnapshotCreationTime(std::move(value)); return *this;}
81 inline ClusterSnapshotInList& WithSnapshotCreationTime(const char* value) { SetSnapshotCreationTime(value); return *this;}
83
85
88 inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
89 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
90 inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
91 inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); }
92 inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); }
93 inline ClusterSnapshotInList& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
94 inline ClusterSnapshotInList& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;}
95 inline ClusterSnapshotInList& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
97
99
102 inline const Status& GetStatus() const{ return m_status; }
103 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
104 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
105 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
106 inline ClusterSnapshotInList& WithStatus(const Status& value) { SetStatus(value); return *this;}
107 inline ClusterSnapshotInList& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_clusterArn;
112 bool m_clusterArnHasBeenSet = false;
113
114 Aws::String m_snapshotArn;
115 bool m_snapshotArnHasBeenSet = false;
116
117 Aws::String m_snapshotCreationTime;
118 bool m_snapshotCreationTimeHasBeenSet = false;
119
120 Aws::String m_snapshotName;
121 bool m_snapshotNameHasBeenSet = false;
122
123 Status m_status;
124 bool m_statusHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace DocDBElastic
129} // namespace Aws
ClusterSnapshotInList & WithSnapshotName(const Aws::String &value)
ClusterSnapshotInList & WithSnapshotCreationTime(Aws::String &&value)
ClusterSnapshotInList & WithStatus(const Status &value)
ClusterSnapshotInList & WithSnapshotCreationTime(const Aws::String &value)
ClusterSnapshotInList & WithSnapshotName(const char *value)
ClusterSnapshotInList & WithSnapshotArn(const char *value)
ClusterSnapshotInList & WithSnapshotArn(Aws::String &&value)
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterSnapshotInList & WithStatus(Status &&value)
ClusterSnapshotInList & WithClusterArn(const Aws::String &value)
AWS_DOCDBELASTIC_API ClusterSnapshotInList & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DOCDBELASTIC_API ClusterSnapshotInList(Aws::Utils::Json::JsonView jsonValue)
ClusterSnapshotInList & WithSnapshotName(Aws::String &&value)
ClusterSnapshotInList & WithSnapshotCreationTime(const char *value)
ClusterSnapshotInList & WithClusterArn(Aws::String &&value)
ClusterSnapshotInList & WithClusterArn(const char *value)
ClusterSnapshotInList & WithSnapshotArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue