/** * 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 AWS_ECS_API DiscoverPollEndpointResult { public: DiscoverPollEndpointResult(); DiscoverPollEndpointResult(const Aws::AmazonWebServiceResult& result); 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;} private: Aws::String m_endpoint; Aws::String m_telemetryEndpoint; }; } // namespace Model } // namespace ECS } // namespace Aws