AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ControlPanel.h
1
6#pragma once
7#include <aws/route53-recovery-control-config/Route53RecoveryControlConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53-recovery-control-config/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 Route53RecoveryControlConfig
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROUTE53RECOVERYCONTROLCONFIG_API ControlPanel();
37 AWS_ROUTE53RECOVERYCONTROLCONFIG_API ControlPanel(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53RECOVERYCONTROLCONFIG_API ControlPanel& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
48 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
49 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
50 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
51 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
52 inline ControlPanel& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
53 inline ControlPanel& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
54 inline ControlPanel& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
56
58
61 inline const Aws::String& GetControlPanelArn() const{ return m_controlPanelArn; }
62 inline bool ControlPanelArnHasBeenSet() const { return m_controlPanelArnHasBeenSet; }
63 inline void SetControlPanelArn(const Aws::String& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = value; }
64 inline void SetControlPanelArn(Aws::String&& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = std::move(value); }
65 inline void SetControlPanelArn(const char* value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn.assign(value); }
66 inline ControlPanel& WithControlPanelArn(const Aws::String& value) { SetControlPanelArn(value); return *this;}
67 inline ControlPanel& WithControlPanelArn(Aws::String&& value) { SetControlPanelArn(std::move(value)); return *this;}
68 inline ControlPanel& WithControlPanelArn(const char* value) { SetControlPanelArn(value); return *this;}
70
72
79 inline bool GetDefaultControlPanel() const{ return m_defaultControlPanel; }
80 inline bool DefaultControlPanelHasBeenSet() const { return m_defaultControlPanelHasBeenSet; }
81 inline void SetDefaultControlPanel(bool value) { m_defaultControlPanelHasBeenSet = true; m_defaultControlPanel = value; }
82 inline ControlPanel& WithDefaultControlPanel(bool value) { SetDefaultControlPanel(value); return *this;}
84
86
90 inline const Aws::String& GetName() const{ return m_name; }
91 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
92 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
93 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
94 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
95 inline ControlPanel& WithName(const Aws::String& value) { SetName(value); return *this;}
96 inline ControlPanel& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
97 inline ControlPanel& WithName(const char* value) { SetName(value); return *this;}
99
101
104 inline int GetRoutingControlCount() const{ return m_routingControlCount; }
105 inline bool RoutingControlCountHasBeenSet() const { return m_routingControlCountHasBeenSet; }
106 inline void SetRoutingControlCount(int value) { m_routingControlCountHasBeenSet = true; m_routingControlCount = value; }
107 inline ControlPanel& WithRoutingControlCount(int value) { SetRoutingControlCount(value); return *this;}
109
111
115 inline const Status& GetStatus() const{ return m_status; }
116 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
117 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
118 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
119 inline ControlPanel& WithStatus(const Status& value) { SetStatus(value); return *this;}
120 inline ControlPanel& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
122
124
127 inline const Aws::String& GetOwner() const{ return m_owner; }
128 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
129 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
130 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
131 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
132 inline ControlPanel& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
133 inline ControlPanel& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
134 inline ControlPanel& WithOwner(const char* value) { SetOwner(value); return *this;}
136 private:
137
138 Aws::String m_clusterArn;
139 bool m_clusterArnHasBeenSet = false;
140
141 Aws::String m_controlPanelArn;
142 bool m_controlPanelArnHasBeenSet = false;
143
144 bool m_defaultControlPanel;
145 bool m_defaultControlPanelHasBeenSet = false;
146
147 Aws::String m_name;
148 bool m_nameHasBeenSet = false;
149
150 int m_routingControlCount;
151 bool m_routingControlCountHasBeenSet = false;
152
153 Status m_status;
154 bool m_statusHasBeenSet = false;
155
156 Aws::String m_owner;
157 bool m_ownerHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace Route53RecoveryControlConfig
162} // namespace Aws
AWS_ROUTE53RECOVERYCONTROLCONFIG_API ControlPanel(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API ControlPanel & operator=(Aws::Utils::Json::JsonView jsonValue)
ControlPanel & WithControlPanelArn(const Aws::String &value)
ControlPanel & WithClusterArn(const Aws::String &value)
ControlPanel & WithControlPanelArn(Aws::String &&value)
ControlPanel & WithName(const Aws::String &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API ControlPanel()
ControlPanel & WithStatus(const Status &value)
ControlPanel & WithName(Aws::String &&value)
ControlPanel & WithClusterArn(Aws::String &&value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
ControlPanel & WithOwner(const Aws::String &value)
ControlPanel & WithClusterArn(const char *value)
ControlPanel & WithOwner(Aws::String &&value)
ControlPanel & WithControlPanelArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue