AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoutingControl.h
1
6#pragma once
7#include <aws/route53-recovery-cluster/Route53RecoveryCluster_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53-recovery-cluster/model/RoutingControlState.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 Route53RecoveryCluster
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_ROUTE53RECOVERYCLUSTER_API RoutingControl();
39 AWS_ROUTE53RECOVERYCLUSTER_API RoutingControl(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROUTE53RECOVERYCLUSTER_API RoutingControl& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ROUTE53RECOVERYCLUSTER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetControlPanelArn() const{ return m_controlPanelArn; }
50 inline bool ControlPanelArnHasBeenSet() const { return m_controlPanelArnHasBeenSet; }
51 inline void SetControlPanelArn(const Aws::String& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = value; }
52 inline void SetControlPanelArn(Aws::String&& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = std::move(value); }
53 inline void SetControlPanelArn(const char* value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn.assign(value); }
54 inline RoutingControl& WithControlPanelArn(const Aws::String& value) { SetControlPanelArn(value); return *this;}
55 inline RoutingControl& WithControlPanelArn(Aws::String&& value) { SetControlPanelArn(std::move(value)); return *this;}
56 inline RoutingControl& WithControlPanelArn(const char* value) { SetControlPanelArn(value); return *this;}
58
60
64 inline const Aws::String& GetControlPanelName() const{ return m_controlPanelName; }
65 inline bool ControlPanelNameHasBeenSet() const { return m_controlPanelNameHasBeenSet; }
66 inline void SetControlPanelName(const Aws::String& value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName = value; }
67 inline void SetControlPanelName(Aws::String&& value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName = std::move(value); }
68 inline void SetControlPanelName(const char* value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName.assign(value); }
69 inline RoutingControl& WithControlPanelName(const Aws::String& value) { SetControlPanelName(value); return *this;}
70 inline RoutingControl& WithControlPanelName(Aws::String&& value) { SetControlPanelName(std::move(value)); return *this;}
71 inline RoutingControl& WithControlPanelName(const char* value) { SetControlPanelName(value); return *this;}
73
75
78 inline const Aws::String& GetRoutingControlArn() const{ return m_routingControlArn; }
79 inline bool RoutingControlArnHasBeenSet() const { return m_routingControlArnHasBeenSet; }
80 inline void SetRoutingControlArn(const Aws::String& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = value; }
81 inline void SetRoutingControlArn(Aws::String&& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = std::move(value); }
82 inline void SetRoutingControlArn(const char* value) { m_routingControlArnHasBeenSet = true; m_routingControlArn.assign(value); }
83 inline RoutingControl& WithRoutingControlArn(const Aws::String& value) { SetRoutingControlArn(value); return *this;}
84 inline RoutingControl& WithRoutingControlArn(Aws::String&& value) { SetRoutingControlArn(std::move(value)); return *this;}
85 inline RoutingControl& WithRoutingControlArn(const char* value) { SetRoutingControlArn(value); return *this;}
87
89
92 inline const Aws::String& GetRoutingControlName() const{ return m_routingControlName; }
93 inline bool RoutingControlNameHasBeenSet() const { return m_routingControlNameHasBeenSet; }
94 inline void SetRoutingControlName(const Aws::String& value) { m_routingControlNameHasBeenSet = true; m_routingControlName = value; }
95 inline void SetRoutingControlName(Aws::String&& value) { m_routingControlNameHasBeenSet = true; m_routingControlName = std::move(value); }
96 inline void SetRoutingControlName(const char* value) { m_routingControlNameHasBeenSet = true; m_routingControlName.assign(value); }
97 inline RoutingControl& WithRoutingControlName(const Aws::String& value) { SetRoutingControlName(value); return *this;}
98 inline RoutingControl& WithRoutingControlName(Aws::String&& value) { SetRoutingControlName(std::move(value)); return *this;}
99 inline RoutingControl& WithRoutingControlName(const char* value) { SetRoutingControlName(value); return *this;}
101
103
108 inline const RoutingControlState& GetRoutingControlState() const{ return m_routingControlState; }
109 inline bool RoutingControlStateHasBeenSet() const { return m_routingControlStateHasBeenSet; }
110 inline void SetRoutingControlState(const RoutingControlState& value) { m_routingControlStateHasBeenSet = true; m_routingControlState = value; }
111 inline void SetRoutingControlState(RoutingControlState&& value) { m_routingControlStateHasBeenSet = true; m_routingControlState = std::move(value); }
113 inline RoutingControl& WithRoutingControlState(RoutingControlState&& value) { SetRoutingControlState(std::move(value)); return *this;}
115
117
120 inline const Aws::String& GetOwner() const{ return m_owner; }
121 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
122 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
123 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
124 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
125 inline RoutingControl& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
126 inline RoutingControl& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
127 inline RoutingControl& WithOwner(const char* value) { SetOwner(value); return *this;}
129 private:
130
131 Aws::String m_controlPanelArn;
132 bool m_controlPanelArnHasBeenSet = false;
133
134 Aws::String m_controlPanelName;
135 bool m_controlPanelNameHasBeenSet = false;
136
137 Aws::String m_routingControlArn;
138 bool m_routingControlArnHasBeenSet = false;
139
140 Aws::String m_routingControlName;
141 bool m_routingControlNameHasBeenSet = false;
142
143 RoutingControlState m_routingControlState;
144 bool m_routingControlStateHasBeenSet = false;
145
146 Aws::String m_owner;
147 bool m_ownerHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace Route53RecoveryCluster
152} // namespace Aws
const RoutingControlState & GetRoutingControlState() const
RoutingControl & WithRoutingControlName(Aws::String &&value)
AWS_ROUTE53RECOVERYCLUSTER_API RoutingControl & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutingControl & WithOwner(const Aws::String &value)
RoutingControl & WithControlPanelName(Aws::String &&value)
RoutingControl & WithControlPanelArn(const Aws::String &value)
RoutingControl & WithRoutingControlName(const char *value)
RoutingControl & WithOwner(const char *value)
void SetControlPanelArn(const Aws::String &value)
RoutingControl & WithRoutingControlState(RoutingControlState &&value)
void SetRoutingControlState(RoutingControlState &&value)
void SetControlPanelName(const Aws::String &value)
RoutingControl & WithOwner(Aws::String &&value)
AWS_ROUTE53RECOVERYCLUSTER_API Aws::Utils::Json::JsonValue Jsonize() const
RoutingControl & WithRoutingControlState(const RoutingControlState &value)
void SetRoutingControlName(const Aws::String &value)
RoutingControl & WithControlPanelName(const Aws::String &value)
AWS_ROUTE53RECOVERYCLUSTER_API RoutingControl()
RoutingControl & WithRoutingControlArn(const char *value)
RoutingControl & WithRoutingControlName(const Aws::String &value)
RoutingControl & WithRoutingControlArn(Aws::String &&value)
void SetRoutingControlState(const RoutingControlState &value)
AWS_ROUTE53RECOVERYCLUSTER_API RoutingControl(Aws::Utils::Json::JsonView jsonValue)
RoutingControl & WithControlPanelName(const char *value)
RoutingControl & WithControlPanelArn(const char *value)
void SetRoutingControlArn(const Aws::String &value)
RoutingControl & WithControlPanelArn(Aws::String &&value)
RoutingControl & WithRoutingControlArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue