/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #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 DescribeDestinationsResult { public: DescribeDestinationsResult(); DescribeDestinationsResult(const Aws::AmazonWebServiceResult& result); DescribeDestinationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The destinations.

*/ inline const Aws::Vector& GetDestinations() const{ return m_destinations; } /** *

The destinations.

*/ inline void SetDestinations(const Aws::Vector& value) { m_destinations = value; } /** *

The destinations.

*/ inline void SetDestinations(Aws::Vector&& value) { m_destinations = std::move(value); } /** *

The destinations.

*/ inline DescribeDestinationsResult& WithDestinations(const Aws::Vector& value) { SetDestinations(value); return *this;} /** *

The destinations.

*/ inline DescribeDestinationsResult& WithDestinations(Aws::Vector&& value) { SetDestinations(std::move(value)); return *this;} /** *

The destinations.

*/ inline DescribeDestinationsResult& AddDestinations(const Destination& value) { m_destinations.push_back(value); return *this; } /** *

The destinations.

*/ inline DescribeDestinationsResult& AddDestinations(Destination&& value) { m_destinations.push_back(std::move(value)); return *this; } inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } inline void SetNextToken(const char* value) { m_nextToken.assign(value); } inline DescribeDestinationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} inline DescribeDestinationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline DescribeDestinationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_destinations; Aws::String m_nextToken; }; } // namespace Model } // namespace CloudWatchLogs } // namespace Aws