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

The endpoint's service type.

*/ inline const WirelessGatewayServiceType& GetServiceType() const{ return m_serviceType; } /** *

The endpoint's service type.

*/ inline void SetServiceType(const WirelessGatewayServiceType& value) { m_serviceType = value; } /** *

The endpoint's service type.

*/ inline void SetServiceType(WirelessGatewayServiceType&& value) { m_serviceType = std::move(value); } /** *

The endpoint's service type.

*/ inline GetServiceEndpointResult& WithServiceType(const WirelessGatewayServiceType& value) { SetServiceType(value); return *this;} /** *

The endpoint's service type.

*/ inline GetServiceEndpointResult& WithServiceType(WirelessGatewayServiceType&& value) { SetServiceType(std::move(value)); return *this;} /** *

The service endpoint value.

*/ inline const Aws::String& GetServiceEndpoint() const{ return m_serviceEndpoint; } /** *

The service endpoint value.

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

The service endpoint value.

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

The service endpoint value.

*/ inline void SetServiceEndpoint(const char* value) { m_serviceEndpoint.assign(value); } /** *

The service endpoint value.

*/ inline GetServiceEndpointResult& WithServiceEndpoint(const Aws::String& value) { SetServiceEndpoint(value); return *this;} /** *

The service endpoint value.

*/ inline GetServiceEndpointResult& WithServiceEndpoint(Aws::String&& value) { SetServiceEndpoint(std::move(value)); return *this;} /** *

The service endpoint value.

*/ inline GetServiceEndpointResult& WithServiceEndpoint(const char* value) { SetServiceEndpoint(value); return *this;} /** *

The Root CA of the server trust certificate.

*/ inline const Aws::String& GetServerTrust() const{ return m_serverTrust; } /** *

The Root CA of the server trust certificate.

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

The Root CA of the server trust certificate.

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

The Root CA of the server trust certificate.

*/ inline void SetServerTrust(const char* value) { m_serverTrust.assign(value); } /** *

The Root CA of the server trust certificate.

*/ inline GetServiceEndpointResult& WithServerTrust(const Aws::String& value) { SetServerTrust(value); return *this;} /** *

The Root CA of the server trust certificate.

*/ inline GetServiceEndpointResult& WithServerTrust(Aws::String&& value) { SetServerTrust(std::move(value)); return *this;} /** *

The Root CA of the server trust certificate.

*/ inline GetServiceEndpointResult& WithServerTrust(const char* value) { SetServerTrust(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 GetServiceEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetServiceEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetServiceEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: WirelessGatewayServiceType m_serviceType; Aws::String m_serviceEndpoint; Aws::String m_serverTrust; Aws::String m_requestId; }; } // namespace Model } // namespace IoTWireless } // namespace Aws