AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetConfigurationSetEventDestinationsResult.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint-email/model/EventDestination.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace PinpointEmail
26{
27namespace Model
28{
36 {
37 public:
38 AWS_PINPOINTEMAIL_API GetConfigurationSetEventDestinationsResult() = default;
41
42
44
48 inline const Aws::Vector<EventDestination>& GetEventDestinations() const { return m_eventDestinations; }
49 template<typename EventDestinationsT = Aws::Vector<EventDestination>>
50 void SetEventDestinations(EventDestinationsT&& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations = std::forward<EventDestinationsT>(value); }
51 template<typename EventDestinationsT = Aws::Vector<EventDestination>>
52 GetConfigurationSetEventDestinationsResult& WithEventDestinations(EventDestinationsT&& value) { SetEventDestinations(std::forward<EventDestinationsT>(value)); return *this;}
53 template<typename EventDestinationsT = EventDestination>
54 GetConfigurationSetEventDestinationsResult& AddEventDestinations(EventDestinationsT&& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations.emplace_back(std::forward<EventDestinationsT>(value)); return *this; }
56
58
59 inline const Aws::String& GetRequestId() const { return m_requestId; }
60 template<typename RequestIdT = Aws::String>
61 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
62 template<typename RequestIdT = Aws::String>
63 GetConfigurationSetEventDestinationsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
65 private:
66
67 Aws::Vector<EventDestination> m_eventDestinations;
68 bool m_eventDestinationsHasBeenSet = false;
69
70 Aws::String m_requestId;
71 bool m_requestIdHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace PinpointEmail
76} // namespace Aws
GetConfigurationSetEventDestinationsResult & AddEventDestinations(EventDestinationsT &&value)
AWS_PINPOINTEMAIL_API GetConfigurationSetEventDestinationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationSetEventDestinationsResult & WithRequestId(RequestIdT &&value)
AWS_PINPOINTEMAIL_API GetConfigurationSetEventDestinationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationSetEventDestinationsResult & WithEventDestinations(EventDestinationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue