AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DiscoverPollEndpointResult.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
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace ECS {
23namespace Model {
30 public:
31 AWS_ECS_API DiscoverPollEndpointResult() = default;
34
36
39 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
40 template <typename EndpointT = Aws::String>
41 void SetEndpoint(EndpointT&& value) {
42 m_endpointHasBeenSet = true;
43 m_endpoint = std::forward<EndpointT>(value);
44 }
45 template <typename EndpointT = Aws::String>
47 SetEndpoint(std::forward<EndpointT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTelemetryEndpoint() const { return m_telemetryEndpoint; }
57 template <typename TelemetryEndpointT = Aws::String>
58 void SetTelemetryEndpoint(TelemetryEndpointT&& value) {
59 m_telemetryEndpointHasBeenSet = true;
60 m_telemetryEndpoint = std::forward<TelemetryEndpointT>(value);
61 }
62 template <typename TelemetryEndpointT = Aws::String>
64 SetTelemetryEndpoint(std::forward<TelemetryEndpointT>(value));
65 return *this;
66 }
68
70
76 inline const Aws::String& GetServiceConnectEndpoint() const { return m_serviceConnectEndpoint; }
77 template <typename ServiceConnectEndpointT = Aws::String>
78 void SetServiceConnectEndpoint(ServiceConnectEndpointT&& value) {
79 m_serviceConnectEndpointHasBeenSet = true;
80 m_serviceConnectEndpoint = std::forward<ServiceConnectEndpointT>(value);
81 }
82 template <typename ServiceConnectEndpointT = Aws::String>
83 DiscoverPollEndpointResult& WithServiceConnectEndpoint(ServiceConnectEndpointT&& value) {
84 SetServiceConnectEndpoint(std::forward<ServiceConnectEndpointT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template <typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) {
94 m_requestIdHasBeenSet = true;
95 m_requestId = std::forward<RequestIdT>(value);
96 }
97 template <typename RequestIdT = Aws::String>
99 SetRequestId(std::forward<RequestIdT>(value));
100 return *this;
101 }
103 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
104
105 private:
106 Aws::String m_endpoint;
107
108 Aws::String m_telemetryEndpoint;
109
110 Aws::String m_serviceConnectEndpoint;
111
112 Aws::String m_requestId;
113 Aws::Http::HttpResponseCode m_HttpResponseCode;
114 bool m_endpointHasBeenSet = false;
115 bool m_telemetryEndpointHasBeenSet = false;
116 bool m_serviceConnectEndpointHasBeenSet = false;
117 bool m_requestIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace ECS
122} // namespace Aws
DiscoverPollEndpointResult & WithRequestId(RequestIdT &&value)
void SetServiceConnectEndpoint(ServiceConnectEndpointT &&value)
AWS_ECS_API DiscoverPollEndpointResult()=default
AWS_ECS_API DiscoverPollEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DiscoverPollEndpointResult & WithServiceConnectEndpoint(ServiceConnectEndpointT &&value)
DiscoverPollEndpointResult & WithTelemetryEndpoint(TelemetryEndpointT &&value)
AWS_ECS_API DiscoverPollEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DiscoverPollEndpointResult & WithEndpoint(EndpointT &&value)
void SetTelemetryEndpoint(TelemetryEndpointT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue