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-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
35 {
36 public:
37 AWS_ROUTE53RECOVERYCONTROLCONFIG_API RoutingControl();
38 AWS_ROUTE53RECOVERYCONTROLCONFIG_API RoutingControl(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROUTE53RECOVERYCONTROLCONFIG_API RoutingControl& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetControlPanelArn() const{ return m_controlPanelArn; }
49 inline bool ControlPanelArnHasBeenSet() const { return m_controlPanelArnHasBeenSet; }
50 inline void SetControlPanelArn(const Aws::String& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = value; }
51 inline void SetControlPanelArn(Aws::String&& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = std::move(value); }
52 inline void SetControlPanelArn(const char* value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn.assign(value); }
53 inline RoutingControl& WithControlPanelArn(const Aws::String& value) { SetControlPanelArn(value); return *this;}
54 inline RoutingControl& WithControlPanelArn(Aws::String&& value) { SetControlPanelArn(std::move(value)); return *this;}
55 inline RoutingControl& WithControlPanelArn(const char* value) { SetControlPanelArn(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline RoutingControl& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline RoutingControl& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline RoutingControl& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const Aws::String& GetRoutingControlArn() const{ return m_routingControlArn; }
77 inline bool RoutingControlArnHasBeenSet() const { return m_routingControlArnHasBeenSet; }
78 inline void SetRoutingControlArn(const Aws::String& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = value; }
79 inline void SetRoutingControlArn(Aws::String&& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = std::move(value); }
80 inline void SetRoutingControlArn(const char* value) { m_routingControlArnHasBeenSet = true; m_routingControlArn.assign(value); }
81 inline RoutingControl& WithRoutingControlArn(const Aws::String& value) { SetRoutingControlArn(value); return *this;}
82 inline RoutingControl& WithRoutingControlArn(Aws::String&& value) { SetRoutingControlArn(std::move(value)); return *this;}
83 inline RoutingControl& WithRoutingControlArn(const char* value) { SetRoutingControlArn(value); return *this;}
85
87
91 inline const Status& GetStatus() const{ return m_status; }
92 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
94 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
95 inline RoutingControl& WithStatus(const Status& value) { SetStatus(value); return *this;}
96 inline RoutingControl& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
98
100
103 inline const Aws::String& GetOwner() const{ return m_owner; }
104 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
105 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
106 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
107 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
108 inline RoutingControl& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
109 inline RoutingControl& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
110 inline RoutingControl& WithOwner(const char* value) { SetOwner(value); return *this;}
112 private:
113
114 Aws::String m_controlPanelArn;
115 bool m_controlPanelArnHasBeenSet = false;
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 Aws::String m_routingControlArn;
121 bool m_routingControlArnHasBeenSet = false;
122
123 Status m_status;
124 bool m_statusHasBeenSet = false;
125
126 Aws::String m_owner;
127 bool m_ownerHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Route53RecoveryControlConfig
132} // namespace Aws
RoutingControl & WithOwner(Aws::String &&value)
RoutingControl & WithRoutingControlArn(const char *value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API RoutingControl & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutingControl & WithControlPanelArn(Aws::String &&value)
RoutingControl & WithControlPanelArn(const char *value)
RoutingControl & WithName(const Aws::String &value)
RoutingControl & WithRoutingControlArn(Aws::String &&value)
RoutingControl & WithOwner(const Aws::String &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
RoutingControl & WithControlPanelArn(const Aws::String &value)
RoutingControl & WithName(Aws::String &&value)
RoutingControl & WithStatus(const Status &value)
RoutingControl & WithRoutingControlArn(const Aws::String &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API RoutingControl(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API RoutingControl()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue