AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
GetRoutingControlStateResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53-recovery-cluster/Route53RecoveryCluster_EXPORTS.h>
10#include <aws/route53-recovery-cluster/model/RoutingControlState.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Route53RecoveryCluster {
24namespace Model {
26 public:
27 AWS_ROUTE53RECOVERYCLUSTER_API GetRoutingControlStateResult() = default;
29 AWS_ROUTE53RECOVERYCLUSTER_API GetRoutingControlStateResult& operator=(
31
33
36 inline const Aws::String& GetRoutingControlArn() const { return m_routingControlArn; }
37 template <typename RoutingControlArnT = Aws::String>
38 void SetRoutingControlArn(RoutingControlArnT&& value) {
39 m_routingControlArnHasBeenSet = true;
40 m_routingControlArn = std::forward<RoutingControlArnT>(value);
41 }
42 template <typename RoutingControlArnT = Aws::String>
44 SetRoutingControlArn(std::forward<RoutingControlArnT>(value));
45 return *this;
46 }
48
50
53 inline RoutingControlState GetRoutingControlState() const { return m_routingControlState; }
55 m_routingControlStateHasBeenSet = true;
56 m_routingControlState = value;
57 }
60 return *this;
61 }
63
65
68 inline const Aws::String& GetRoutingControlName() const { return m_routingControlName; }
69 template <typename RoutingControlNameT = Aws::String>
70 void SetRoutingControlName(RoutingControlNameT&& value) {
71 m_routingControlNameHasBeenSet = true;
72 m_routingControlName = std::forward<RoutingControlNameT>(value);
73 }
74 template <typename RoutingControlNameT = Aws::String>
76 SetRoutingControlName(std::forward<RoutingControlNameT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
98 Aws::String m_routingControlArn;
99
101
102 Aws::String m_routingControlName;
103
104 Aws::String m_requestId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_routingControlArnHasBeenSet = false;
107 bool m_routingControlStateHasBeenSet = false;
108 bool m_routingControlNameHasBeenSet = false;
109 bool m_requestIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Route53RecoveryCluster
114} // namespace Aws
GetRoutingControlStateResult & WithRoutingControlArn(RoutingControlArnT &&value)
GetRoutingControlStateResult & WithRequestId(RequestIdT &&value)
AWS_ROUTE53RECOVERYCLUSTER_API GetRoutingControlStateResult()=default
GetRoutingControlStateResult & WithRoutingControlName(RoutingControlNameT &&value)
GetRoutingControlStateResult & WithRoutingControlState(RoutingControlState 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