AWS SDK for C++  1.9.153
AWS SDK for C++
DiscoverPollEndpointResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ECS
24 {
25 namespace 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 
94  inline DiscoverPollEndpointResult& WithTelemetryEndpoint(const Aws::String& value) { SetTelemetryEndpoint(value); return *this;}
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  private:
107 
108  Aws::String m_endpoint;
109 
110  Aws::String m_telemetryEndpoint;
111  };
112 
113 } // namespace Model
114 } // namespace ECS
115 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECS::Model::DiscoverPollEndpointResult::DiscoverPollEndpointResult
DiscoverPollEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECS::Model::DiscoverPollEndpointResult::SetTelemetryEndpoint
void SetTelemetryEndpoint(const Aws::String &value)
Definition: DiscoverPollEndpointResult.h:79
Aws::ECS::Model::DiscoverPollEndpointResult::SetTelemetryEndpoint
void SetTelemetryEndpoint(const char *value)
Definition: DiscoverPollEndpointResult.h:89
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::DiscoverPollEndpointResult::SetEndpoint
void SetEndpoint(Aws::String &&value)
Definition: DiscoverPollEndpointResult.h:48
Aws::ECS::Model::DiscoverPollEndpointResult::operator=
DiscoverPollEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECS::Model::DiscoverPollEndpointResult::SetEndpoint
void SetEndpoint(const char *value)
Definition: DiscoverPollEndpointResult.h:53
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::DiscoverPollEndpointResult::WithEndpoint
DiscoverPollEndpointResult & WithEndpoint(Aws::String &&value)
Definition: DiscoverPollEndpointResult.h:63
Aws::ECS::Model::DiscoverPollEndpointResult::GetTelemetryEndpoint
const Aws::String & GetTelemetryEndpoint() const
Definition: DiscoverPollEndpointResult.h:74
Aws::ECS::Model::DiscoverPollEndpointResult::SetTelemetryEndpoint
void SetTelemetryEndpoint(Aws::String &&value)
Definition: DiscoverPollEndpointResult.h:84
Aws::ECS::Model::DiscoverPollEndpointResult
Definition: DiscoverPollEndpointResult.h:28
AWSString.h
Aws::ECS::Model::DiscoverPollEndpointResult::GetEndpoint
const Aws::String & GetEndpoint() const
Definition: DiscoverPollEndpointResult.h:38
Aws::ECS::Model::DiscoverPollEndpointResult::WithTelemetryEndpoint
DiscoverPollEndpointResult & WithTelemetryEndpoint(const Aws::String &value)
Definition: DiscoverPollEndpointResult.h:94
Aws::ECS::Model::DiscoverPollEndpointResult::WithEndpoint
DiscoverPollEndpointResult & WithEndpoint(const Aws::String &value)
Definition: DiscoverPollEndpointResult.h:58
Aws::ECS::Model::DiscoverPollEndpointResult::SetEndpoint
void SetEndpoint(const Aws::String &value)
Definition: DiscoverPollEndpointResult.h:43
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::DiscoverPollEndpointResult::DiscoverPollEndpointResult
DiscoverPollEndpointResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::DiscoverPollEndpointResult::WithEndpoint
DiscoverPollEndpointResult & WithEndpoint(const char *value)
Definition: DiscoverPollEndpointResult.h:68
Aws::ECS::Model::DiscoverPollEndpointResult::WithTelemetryEndpoint
DiscoverPollEndpointResult & WithTelemetryEndpoint(Aws::String &&value)
Definition: DiscoverPollEndpointResult.h:99
ECS_EXPORTS.h
Aws::ECS::Model::DiscoverPollEndpointResult::WithTelemetryEndpoint
DiscoverPollEndpointResult & WithTelemetryEndpoint(const char *value)
Definition: DiscoverPollEndpointResult.h:104