/** * 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 KinesisVideo { namespace Model { class GetDataEndpointResult { public: AWS_KINESISVIDEO_API GetDataEndpointResult(); AWS_KINESISVIDEO_API GetDataEndpointResult(const Aws::AmazonWebServiceResult& result); AWS_KINESISVIDEO_API GetDataEndpointResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The endpoint value. To read data from the stream or to write data to it, * specify this endpoint in your application.

*/ inline const Aws::String& GetDataEndpoint() const{ return m_dataEndpoint; } /** *

The endpoint value. To read data from the stream or to write data to it, * specify this endpoint in your application.

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

The endpoint value. To read data from the stream or to write data to it, * specify this endpoint in your application.

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

The endpoint value. To read data from the stream or to write data to it, * specify this endpoint in your application.

*/ inline void SetDataEndpoint(const char* value) { m_dataEndpoint.assign(value); } /** *

The endpoint value. To read data from the stream or to write data to it, * specify this endpoint in your application.

*/ inline GetDataEndpointResult& WithDataEndpoint(const Aws::String& value) { SetDataEndpoint(value); return *this;} /** *

The endpoint value. To read data from the stream or to write data to it, * specify this endpoint in your application.

*/ inline GetDataEndpointResult& WithDataEndpoint(Aws::String&& value) { SetDataEndpoint(std::move(value)); return *this;} /** *

The endpoint value. To read data from the stream or to write data to it, * specify this endpoint in your application.

*/ inline GetDataEndpointResult& WithDataEndpoint(const char* value) { SetDataEndpoint(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 GetDataEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDataEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDataEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_dataEndpoint; Aws::String m_requestId; }; } // namespace Model } // namespace KinesisVideo } // namespace Aws