AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
34
35
37
40 inline const Aws::String& GetRoutingControlArn() const { return m_routingControlArn; }
41 template<typename RoutingControlArnT = Aws::String>
42 void SetRoutingControlArn(RoutingControlArnT&& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = std::forward<RoutingControlArnT>(value); }
43 template<typename RoutingControlArnT = Aws::String>
44 GetRoutingControlStateResult& WithRoutingControlArn(RoutingControlArnT&& value) { SetRoutingControlArn(std::forward<RoutingControlArnT>(value)); return *this;}
46
48
51 inline RoutingControlState GetRoutingControlState() const { return m_routingControlState; }
52 inline void SetRoutingControlState(RoutingControlState value) { m_routingControlStateHasBeenSet = true; m_routingControlState = value; }
55
57
60 inline const Aws::String& GetRoutingControlName() const { return m_routingControlName; }
61 template<typename RoutingControlNameT = Aws::String>
62 void SetRoutingControlName(RoutingControlNameT&& value) { m_routingControlNameHasBeenSet = true; m_routingControlName = std::forward<RoutingControlNameT>(value); }
63 template<typename RoutingControlNameT = Aws::String>
64 GetRoutingControlStateResult& WithRoutingControlName(RoutingControlNameT&& value) { SetRoutingControlName(std::forward<RoutingControlNameT>(value)); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template<typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
72 template<typename RequestIdT = Aws::String>
73 GetRoutingControlStateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
77 Aws::String m_routingControlArn;
78 bool m_routingControlArnHasBeenSet = false;
79
81 bool m_routingControlStateHasBeenSet = false;
82
83 Aws::String m_routingControlName;
84 bool m_routingControlNameHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Route53RecoveryCluster
92} // 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