AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClusterInList.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 ClusterInList();
36 AWS_DOCDBELASTIC_API ClusterInList(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DOCDBELASTIC_API ClusterInList& operator=(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 ClusterInList& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
51 inline ClusterInList& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
52 inline ClusterInList& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
54
56
59 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
60 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
61 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
62 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
63 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
64 inline ClusterInList& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
65 inline ClusterInList& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
66 inline ClusterInList& WithClusterName(const char* value) { SetClusterName(value); return *this;}
68
70
73 inline const Status& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline ClusterInList& WithStatus(const Status& value) { SetStatus(value); return *this;}
78 inline ClusterInList& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_clusterArn;
83 bool m_clusterArnHasBeenSet = false;
84
85 Aws::String m_clusterName;
86 bool m_clusterNameHasBeenSet = false;
87
88 Status m_status;
89 bool m_statusHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace DocDBElastic
94} // namespace Aws
ClusterInList & WithStatus(const Status &value)
ClusterInList & WithClusterName(const Aws::String &value)
void SetClusterArn(const Aws::String &value)
ClusterInList & WithClusterName(Aws::String &&value)
void SetClusterName(const Aws::String &value)
ClusterInList & WithClusterArn(const Aws::String &value)
void SetClusterArn(const char *value)
ClusterInList & WithClusterName(const char *value)
const Aws::String & GetClusterName() const
AWS_DOCDBELASTIC_API ClusterInList()
ClusterInList & WithClusterArn(const char *value)
void SetClusterArn(Aws::String &&value)
const Aws::String & GetClusterArn() const
ClusterInList & WithStatus(Status &&value)
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const Status &value)
AWS_DOCDBELASTIC_API ClusterInList(Aws::Utils::Json::JsonView jsonValue)
ClusterInList & WithClusterArn(Aws::String &&value)
void SetClusterName(const char *value)
void SetClusterName(Aws::String &&value)
AWS_DOCDBELASTIC_API ClusterInList & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue