AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DiscoverPollEndpointResult.h
Go to the documentation of this file.
1
6#pragma once
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:
33
34
38 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
39
43 inline void SetEndpoint(const Aws::String& value) { m_endpoint = value; }
44
48 inline void SetEndpoint(Aws::String&& value) { m_endpoint = std::move(value); }
49
53 inline void SetEndpoint(const char* value) { m_endpoint.assign(value); }
54
58 inline DiscoverPollEndpointResult& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
59
63 inline DiscoverPollEndpointResult& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
64
68 inline DiscoverPollEndpointResult& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
69
70
74 inline const Aws::String& GetTelemetryEndpoint() const{ return m_telemetryEndpoint; }
75
79 inline void SetTelemetryEndpoint(const Aws::String& value) { m_telemetryEndpoint = value; }
80
84 inline void SetTelemetryEndpoint(Aws::String&& value) { m_telemetryEndpoint = std::move(value); }
85
89 inline void SetTelemetryEndpoint(const char* value) { m_telemetryEndpoint.assign(value); }
90
95
99 inline DiscoverPollEndpointResult& WithTelemetryEndpoint(Aws::String&& value) { SetTelemetryEndpoint(std::move(value)); return *this;}
100
104 inline DiscoverPollEndpointResult& WithTelemetryEndpoint(const char* value) { SetTelemetryEndpoint(value); return *this;}
105
106
113 inline const Aws::String& GetServiceConnectEndpoint() const{ return m_serviceConnectEndpoint; }
114
121 inline void SetServiceConnectEndpoint(const Aws::String& value) { m_serviceConnectEndpoint = value; }
122
129 inline void SetServiceConnectEndpoint(Aws::String&& value) { m_serviceConnectEndpoint = std::move(value); }
130
137 inline void SetServiceConnectEndpoint(const char* value) { m_serviceConnectEndpoint.assign(value); }
138
146
154
161 inline DiscoverPollEndpointResult& WithServiceConnectEndpoint(const char* value) { SetServiceConnectEndpoint(value); return *this;}
162
163 private:
164
165 Aws::String m_endpoint;
166
167 Aws::String m_telemetryEndpoint;
168
169 Aws::String m_serviceConnectEndpoint;
170 };
171
172} // namespace Model
173} // namespace ECS
174} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
DiscoverPollEndpointResult & WithServiceConnectEndpoint(const Aws::String &value)
DiscoverPollEndpointResult & WithEndpoint(const Aws::String &value)
DiscoverPollEndpointResult & WithTelemetryEndpoint(const Aws::String &value)
DiscoverPollEndpointResult & WithServiceConnectEndpoint(const char *value)
AWS_ECS_API DiscoverPollEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DiscoverPollEndpointResult & WithEndpoint(const char *value)
void SetServiceConnectEndpoint(const Aws::String &value)
AWS_ECS_API DiscoverPollEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DiscoverPollEndpointResult & WithEndpoint(Aws::String &&value)
DiscoverPollEndpointResult & WithServiceConnectEndpoint(Aws::String &&value)
DiscoverPollEndpointResult & WithTelemetryEndpoint(Aws::String &&value)
DiscoverPollEndpointResult & WithTelemetryEndpoint(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String