AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRoutingControlStateResult.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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Route53RecoveryCluster
25{
26namespace Model
27{
29 {
30 public:
31 AWS_ROUTE53RECOVERYCLUSTER_API GetRoutingControlStateResult();
34
35
37
40 inline const Aws::String& GetRoutingControlArn() const{ return m_routingControlArn; }
41 inline void SetRoutingControlArn(const Aws::String& value) { m_routingControlArn = value; }
42 inline void SetRoutingControlArn(Aws::String&& value) { m_routingControlArn = std::move(value); }
43 inline void SetRoutingControlArn(const char* value) { m_routingControlArn.assign(value); }
45 inline GetRoutingControlStateResult& WithRoutingControlArn(Aws::String&& value) { SetRoutingControlArn(std::move(value)); return *this;}
46 inline GetRoutingControlStateResult& WithRoutingControlArn(const char* value) { SetRoutingControlArn(value); return *this;}
48
50
53 inline const RoutingControlState& GetRoutingControlState() const{ return m_routingControlState; }
54 inline void SetRoutingControlState(const RoutingControlState& value) { m_routingControlState = value; }
55 inline void SetRoutingControlState(RoutingControlState&& value) { m_routingControlState = std::move(value); }
59
61
64 inline const Aws::String& GetRoutingControlName() const{ return m_routingControlName; }
65 inline void SetRoutingControlName(const Aws::String& value) { m_routingControlName = value; }
66 inline void SetRoutingControlName(Aws::String&& value) { m_routingControlName = std::move(value); }
67 inline void SetRoutingControlName(const char* value) { m_routingControlName.assign(value); }
69 inline GetRoutingControlStateResult& WithRoutingControlName(Aws::String&& value) { SetRoutingControlName(std::move(value)); return *this;}
70 inline GetRoutingControlStateResult& WithRoutingControlName(const char* value) { SetRoutingControlName(value); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline GetRoutingControlStateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline GetRoutingControlStateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline GetRoutingControlStateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_routingControlArn;
86
87 RoutingControlState m_routingControlState;
88
89 Aws::String m_routingControlName;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace Route53RecoveryCluster
96} // namespace Aws
GetRoutingControlStateResult & WithRoutingControlName(const char *value)
GetRoutingControlStateResult & WithRequestId(Aws::String &&value)
GetRoutingControlStateResult & WithRequestId(const Aws::String &value)
GetRoutingControlStateResult & WithRoutingControlState(RoutingControlState &&value)
GetRoutingControlStateResult & WithRoutingControlArn(Aws::String &&value)
GetRoutingControlStateResult & WithRoutingControlState(const RoutingControlState &value)
GetRoutingControlStateResult & WithRoutingControlName(const Aws::String &value)
GetRoutingControlStateResult & WithRoutingControlName(Aws::String &&value)
GetRoutingControlStateResult & WithRoutingControlArn(const Aws::String &value)
GetRoutingControlStateResult & WithRoutingControlArn(const char *value)
AWS_ROUTE53RECOVERYCLUSTER_API GetRoutingControlStateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROUTE53RECOVERYCLUSTER_API GetRoutingControlStateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue