/** * 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 DirectoryService { namespace Model { /** *

The result of a DescribeEventTopic request.

See Also:

AWS * API Reference

*/ class AWS_DIRECTORYSERVICE_API DescribeEventTopicsResult { public: DescribeEventTopicsResult(); DescribeEventTopicsResult(const Aws::AmazonWebServiceResult& result); DescribeEventTopicsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of SNS topic names that receive status messages from the specified * Directory ID.

*/ inline const Aws::Vector& GetEventTopics() const{ return m_eventTopics; } /** *

A list of SNS topic names that receive status messages from the specified * Directory ID.

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

A list of SNS topic names that receive status messages from the specified * Directory ID.

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

A list of SNS topic names that receive status messages from the specified * Directory ID.

*/ inline DescribeEventTopicsResult& WithEventTopics(const Aws::Vector& value) { SetEventTopics(value); return *this;} /** *

A list of SNS topic names that receive status messages from the specified * Directory ID.

*/ inline DescribeEventTopicsResult& WithEventTopics(Aws::Vector&& value) { SetEventTopics(std::move(value)); return *this;} /** *

A list of SNS topic names that receive status messages from the specified * Directory ID.

*/ inline DescribeEventTopicsResult& AddEventTopics(const EventTopic& value) { m_eventTopics.push_back(value); return *this; } /** *

A list of SNS topic names that receive status messages from the specified * Directory ID.

*/ inline DescribeEventTopicsResult& AddEventTopics(EventTopic&& value) { m_eventTopics.push_back(std::move(value)); return *this; } private: Aws::Vector m_eventTopics; }; } // namespace Model } // namespace DirectoryService } // namespace Aws