/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ECS { namespace Model { class DiscoverPollEndpointResult { public: AWS_ECS_API DiscoverPollEndpointResult(); AWS_ECS_API DiscoverPollEndpointResult(const Aws::AmazonWebServiceResult& result); AWS_ECS_API DiscoverPollEndpointResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The endpoint for the Amazon ECS agent to poll.

*/ inline const Aws::String& GetEndpoint() const{ return m_endpoint; } /** *

The endpoint for the Amazon ECS agent to poll.

*/ inline void SetEndpoint(const Aws::String& value) { m_endpoint = value; } /** *

The endpoint for the Amazon ECS agent to poll.

*/ inline void SetEndpoint(Aws::String&& value) { m_endpoint = std::move(value); } /** *

The endpoint for the Amazon ECS agent to poll.

*/ inline void SetEndpoint(const char* value) { m_endpoint.assign(value); } /** *

The endpoint for the Amazon ECS agent to poll.

*/ inline DiscoverPollEndpointResult& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} /** *

The endpoint for the Amazon ECS agent to poll.

*/ inline DiscoverPollEndpointResult& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} /** *

The endpoint for the Amazon ECS agent to poll.

*/ inline DiscoverPollEndpointResult& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} /** *

The telemetry endpoint for the Amazon ECS agent.

*/ inline const Aws::String& GetTelemetryEndpoint() const{ return m_telemetryEndpoint; } /** *

The telemetry endpoint for the Amazon ECS agent.

*/ inline void SetTelemetryEndpoint(const Aws::String& value) { m_telemetryEndpoint = value; } /** *

The telemetry endpoint for the Amazon ECS agent.

*/ inline void SetTelemetryEndpoint(Aws::String&& value) { m_telemetryEndpoint = std::move(value); } /** *

The telemetry endpoint for the Amazon ECS agent.

*/ inline void SetTelemetryEndpoint(const char* value) { m_telemetryEndpoint.assign(value); } /** *

The telemetry endpoint for the Amazon ECS agent.

*/ inline DiscoverPollEndpointResult& WithTelemetryEndpoint(const Aws::String& value) { SetTelemetryEndpoint(value); return *this;} /** *

The telemetry endpoint for the Amazon ECS agent.

*/ inline DiscoverPollEndpointResult& WithTelemetryEndpoint(Aws::String&& value) { SetTelemetryEndpoint(std::move(value)); return *this;} /** *

The telemetry endpoint for the Amazon ECS agent.

*/ inline DiscoverPollEndpointResult& WithTelemetryEndpoint(const char* value) { SetTelemetryEndpoint(value); return *this;} /** *

The endpoint for the Amazon ECS agent to poll for Service Connect * configuration. For more information, see Service * Connect in the Amazon Elastic Container Service Developer Guide.

*/ inline const Aws::String& GetServiceConnectEndpoint() const{ return m_serviceConnectEndpoint; } /** *

The endpoint for the Amazon ECS agent to poll for Service Connect * configuration. For more information, see Service * Connect in the Amazon Elastic Container Service Developer Guide.

*/ inline void SetServiceConnectEndpoint(const Aws::String& value) { m_serviceConnectEndpoint = value; } /** *

The endpoint for the Amazon ECS agent to poll for Service Connect * configuration. For more information, see Service * Connect in the Amazon Elastic Container Service Developer Guide.

*/ inline void SetServiceConnectEndpoint(Aws::String&& value) { m_serviceConnectEndpoint = std::move(value); } /** *

The endpoint for the Amazon ECS agent to poll for Service Connect * configuration. For more information, see Service * Connect in the Amazon Elastic Container Service Developer Guide.

*/ inline void SetServiceConnectEndpoint(const char* value) { m_serviceConnectEndpoint.assign(value); } /** *

The endpoint for the Amazon ECS agent to poll for Service Connect * configuration. For more information, see Service * Connect in the Amazon Elastic Container Service Developer Guide.

*/ inline DiscoverPollEndpointResult& WithServiceConnectEndpoint(const Aws::String& value) { SetServiceConnectEndpoint(value); return *this;} /** *

The endpoint for the Amazon ECS agent to poll for Service Connect * configuration. For more information, see Service * Connect in the Amazon Elastic Container Service Developer Guide.

*/ inline DiscoverPollEndpointResult& WithServiceConnectEndpoint(Aws::String&& value) { SetServiceConnectEndpoint(std::move(value)); return *this;} /** *

The endpoint for the Amazon ECS agent to poll for Service Connect * configuration. For more information, see Service * Connect in the Amazon Elastic Container Service Developer Guide.

*/ inline DiscoverPollEndpointResult& WithServiceConnectEndpoint(const char* value) { SetServiceConnectEndpoint(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DiscoverPollEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DiscoverPollEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DiscoverPollEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_endpoint; Aws::String m_telemetryEndpoint; Aws::String m_serviceConnectEndpoint; Aws::String m_requestId; }; } // namespace Model } // namespace ECS } // namespace Aws