AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 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 ClusterInList& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetClusterName() const { return m_clusterName; }
58 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
59 template<typename ClusterNameT = Aws::String>
60 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
61 template<typename ClusterNameT = Aws::String>
62 ClusterInList& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
64
66
69 inline Status GetStatus() const { return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
72 inline ClusterInList& WithStatus(Status value) { SetStatus(value); return *this;}
74 private:
75
76 Aws::String m_clusterArn;
77 bool m_clusterArnHasBeenSet = false;
78
79 Aws::String m_clusterName;
80 bool m_clusterNameHasBeenSet = false;
81
82 Status m_status{Status::NOT_SET};
83 bool m_statusHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace DocDBElastic
88} // namespace Aws
ClusterInList & WithClusterArn(ClusterArnT &&value)
AWS_DOCDBELASTIC_API ClusterInList()=default
void SetClusterArn(ClusterArnT &&value)
void SetClusterName(ClusterNameT &&value)
ClusterInList & WithStatus(Status value)
ClusterInList & WithClusterName(ClusterNameT &&value)
const Aws::String & GetClusterName() const
const Aws::String & GetClusterArn() const
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DOCDBELASTIC_API ClusterInList(Aws::Utils::Json::JsonView jsonValue)
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