AWS SDK for C++

AWS SDK for C++ Version 1.11.922

Loading...
Searching...
No Matches
DisassociateGatewayFromClusterResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/ECS_EXPORTS.h>
10#include <aws/ecs/model/GatewayClusterAssociationStatus.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 ECS {
24namespace Model {
26 public:
27 AWS_ECS_API DisassociateGatewayFromClusterResult() = default;
30
32
35 inline const Aws::String& GetGatewayArn() const { return m_gatewayArn; }
36 template <typename GatewayArnT = Aws::String>
37 void SetGatewayArn(GatewayArnT&& value) {
38 m_gatewayArnHasBeenSet = true;
39 m_gatewayArn = std::forward<GatewayArnT>(value);
40 }
41 template <typename GatewayArnT = Aws::String>
43 SetGatewayArn(std::forward<GatewayArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
53 template <typename ClusterArnT = Aws::String>
54 void SetClusterArn(ClusterArnT&& value) {
55 m_clusterArnHasBeenSet = true;
56 m_clusterArn = std::forward<ClusterArnT>(value);
57 }
58 template <typename ClusterArnT = Aws::String>
60 SetClusterArn(std::forward<ClusterArnT>(value));
61 return *this;
62 }
64
66
71 inline GatewayClusterAssociationStatus GetStatus() const { return m_status; }
73 m_statusHasBeenSet = true;
74 m_status = value;
75 }
77 SetStatus(value);
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::String m_gatewayArn;
100
101 Aws::String m_clusterArn;
102
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_gatewayArnHasBeenSet = false;
108 bool m_clusterArnHasBeenSet = false;
109 bool m_statusHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace ECS
115} // namespace Aws
AWS_ECS_API DisassociateGatewayFromClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateGatewayFromClusterResult & WithStatus(GatewayClusterAssociationStatus value)
AWS_ECS_API DisassociateGatewayFromClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateGatewayFromClusterResult & WithGatewayArn(GatewayArnT &&value)
DisassociateGatewayFromClusterResult & WithClusterArn(ClusterArnT &&value)
DisassociateGatewayFromClusterResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue