/** * 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 PinpointSMSVoice { namespace Model { /** * An object that contains information about an event destination.

See * Also:

AWS * API Reference

*/ class GetConfigurationSetEventDestinationsResult { public: AWS_PINPOINTSMSVOICE_API GetConfigurationSetEventDestinationsResult(); AWS_PINPOINTSMSVOICE_API GetConfigurationSetEventDestinationsResult(const Aws::AmazonWebServiceResult& result); AWS_PINPOINTSMSVOICE_API GetConfigurationSetEventDestinationsResult& operator=(const Aws::AmazonWebServiceResult& result); inline const Aws::Vector& GetEventDestinations() const{ return m_eventDestinations; } inline void SetEventDestinations(const Aws::Vector& value) { m_eventDestinations = value; } inline void SetEventDestinations(Aws::Vector&& value) { m_eventDestinations = std::move(value); } inline GetConfigurationSetEventDestinationsResult& WithEventDestinations(const Aws::Vector& value) { SetEventDestinations(value); return *this;} inline GetConfigurationSetEventDestinationsResult& WithEventDestinations(Aws::Vector&& value) { SetEventDestinations(std::move(value)); return *this;} inline GetConfigurationSetEventDestinationsResult& AddEventDestinations(const EventDestination& value) { m_eventDestinations.push_back(value); return *this; } inline GetConfigurationSetEventDestinationsResult& AddEventDestinations(EventDestination&& value) { m_eventDestinations.push_back(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 GetConfigurationSetEventDestinationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetConfigurationSetEventDestinationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetConfigurationSetEventDestinationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_eventDestinations; Aws::String m_requestId; }; } // namespace Model } // namespace PinpointSMSVoice } // namespace Aws