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

A structure containing information about the delivery source.

*/ inline const DeliverySource& GetDeliverySource() const{ return m_deliverySource; } /** *

A structure containing information about the delivery source.

*/ inline void SetDeliverySource(const DeliverySource& value) { m_deliverySource = value; } /** *

A structure containing information about the delivery source.

*/ inline void SetDeliverySource(DeliverySource&& value) { m_deliverySource = std::move(value); } /** *

A structure containing information about the delivery source.

*/ inline GetDeliverySourceResult& WithDeliverySource(const DeliverySource& value) { SetDeliverySource(value); return *this;} /** *

A structure containing information about the delivery source.

*/ inline GetDeliverySourceResult& WithDeliverySource(DeliverySource&& value) { SetDeliverySource(std::move(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 GetDeliverySourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDeliverySourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDeliverySourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DeliverySource m_deliverySource; Aws::String m_requestId; }; } // namespace Model } // namespace CloudWatchLogs } // namespace Aws