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

The destination.

*/ inline const Destination& GetDestination() const{ return m_destination; } /** *

The destination.

*/ inline void SetDestination(const Destination& value) { m_destination = value; } /** *

The destination.

*/ inline void SetDestination(Destination&& value) { m_destination = std::move(value); } /** *

The destination.

*/ inline PutDestinationResult& WithDestination(const Destination& value) { SetDestination(value); return *this;} /** *

The destination.

*/ inline PutDestinationResult& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;} private: Destination m_destination; }; } // namespace Model } // namespace CloudWatchLogs } // namespace Aws