AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DiscoverPollEndpointResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace ECS {
22namespace Model {
29 public:
30 AWS_ECS_API DiscoverPollEndpointResult() = default;
33
35
38 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
39 template <typename EndpointT = Aws::String>
40 void SetEndpoint(EndpointT&& value) {
41 m_endpointHasBeenSet = true;
42 m_endpoint = std::forward<EndpointT>(value);
43 }
44 template <typename EndpointT = Aws::String>
46 SetEndpoint(std::forward<EndpointT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetTelemetryEndpoint() const { return m_telemetryEndpoint; }
56 template <typename TelemetryEndpointT = Aws::String>
57 void SetTelemetryEndpoint(TelemetryEndpointT&& value) {
58 m_telemetryEndpointHasBeenSet = true;
59 m_telemetryEndpoint = std::forward<TelemetryEndpointT>(value);
60 }
61 template <typename TelemetryEndpointT = Aws::String>
63 SetTelemetryEndpoint(std::forward<TelemetryEndpointT>(value));
64 return *this;
65 }
67
69
75 inline const Aws::String& GetServiceConnectEndpoint() const { return m_serviceConnectEndpoint; }
76 template <typename ServiceConnectEndpointT = Aws::String>
77 void SetServiceConnectEndpoint(ServiceConnectEndpointT&& value) {
78 m_serviceConnectEndpointHasBeenSet = true;
79 m_serviceConnectEndpoint = std::forward<ServiceConnectEndpointT>(value);
80 }
81 template <typename ServiceConnectEndpointT = Aws::String>
82 DiscoverPollEndpointResult& WithServiceConnectEndpoint(ServiceConnectEndpointT&& value) {
83 SetServiceConnectEndpoint(std::forward<ServiceConnectEndpointT>(value));
84 return *this;
85 }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template <typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) {
93 m_requestIdHasBeenSet = true;
94 m_requestId = std::forward<RequestIdT>(value);
95 }
96 template <typename RequestIdT = Aws::String>
98 SetRequestId(std::forward<RequestIdT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_endpoint;
104
105 Aws::String m_telemetryEndpoint;
106
107 Aws::String m_serviceConnectEndpoint;
108
109 Aws::String m_requestId;
110 bool m_endpointHasBeenSet = false;
111 bool m_telemetryEndpointHasBeenSet = false;
112 bool m_serviceConnectEndpointHasBeenSet = false;
113 bool m_requestIdHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace ECS
118} // 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)
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