AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DiscoverPollEndpointResult.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ECS
24{
25namespace Model
26{
28 {
29 public:
30 AWS_ECS_API DiscoverPollEndpointResult() = default;
33
34
36
39 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
40 template<typename EndpointT = Aws::String>
41 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
42 template<typename EndpointT = Aws::String>
43 DiscoverPollEndpointResult& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
45
47
50 inline const Aws::String& GetTelemetryEndpoint() const { return m_telemetryEndpoint; }
51 template<typename TelemetryEndpointT = Aws::String>
52 void SetTelemetryEndpoint(TelemetryEndpointT&& value) { m_telemetryEndpointHasBeenSet = true; m_telemetryEndpoint = std::forward<TelemetryEndpointT>(value); }
53 template<typename TelemetryEndpointT = Aws::String>
54 DiscoverPollEndpointResult& WithTelemetryEndpoint(TelemetryEndpointT&& value) { SetTelemetryEndpoint(std::forward<TelemetryEndpointT>(value)); return *this;}
56
58
64 inline const Aws::String& GetServiceConnectEndpoint() const { return m_serviceConnectEndpoint; }
65 template<typename ServiceConnectEndpointT = Aws::String>
66 void SetServiceConnectEndpoint(ServiceConnectEndpointT&& value) { m_serviceConnectEndpointHasBeenSet = true; m_serviceConnectEndpoint = std::forward<ServiceConnectEndpointT>(value); }
67 template<typename ServiceConnectEndpointT = Aws::String>
68 DiscoverPollEndpointResult& WithServiceConnectEndpoint(ServiceConnectEndpointT&& value) { SetServiceConnectEndpoint(std::forward<ServiceConnectEndpointT>(value)); return *this;}
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template<typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
76 template<typename RequestIdT = Aws::String>
77 DiscoverPollEndpointResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
79 private:
80
81 Aws::String m_endpoint;
82 bool m_endpointHasBeenSet = false;
83
84 Aws::String m_telemetryEndpoint;
85 bool m_telemetryEndpointHasBeenSet = false;
86
87 Aws::String m_serviceConnectEndpoint;
88 bool m_serviceConnectEndpointHasBeenSet = false;
89
90 Aws::String m_requestId;
91 bool m_requestIdHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ECS
96} // 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