AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeEventSubscriptionsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
10#include <aws/dms/model/EventSubscription.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DatabaseMigrationService {
24namespace Model {
31 public:
32 AWS_DATABASEMIGRATIONSERVICE_API DescribeEventSubscriptionsResult() = default;
34 AWS_DATABASEMIGRATIONSERVICE_API DescribeEventSubscriptionsResult& operator=(
36
38
43 inline const Aws::String& GetMarker() const { return m_marker; }
44 template <typename MarkerT = Aws::String>
45 void SetMarker(MarkerT&& value) {
46 m_markerHasBeenSet = true;
47 m_marker = std::forward<MarkerT>(value);
48 }
49 template <typename MarkerT = Aws::String>
51 SetMarker(std::forward<MarkerT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<EventSubscription>& GetEventSubscriptionsList() const { return m_eventSubscriptionsList; }
61 template <typename EventSubscriptionsListT = Aws::Vector<EventSubscription>>
62 void SetEventSubscriptionsList(EventSubscriptionsListT&& value) {
63 m_eventSubscriptionsListHasBeenSet = true;
64 m_eventSubscriptionsList = std::forward<EventSubscriptionsListT>(value);
65 }
66 template <typename EventSubscriptionsListT = Aws::Vector<EventSubscription>>
68 SetEventSubscriptionsList(std::forward<EventSubscriptionsListT>(value));
69 return *this;
70 }
71 template <typename EventSubscriptionsListT = EventSubscription>
73 m_eventSubscriptionsListHasBeenSet = true;
74 m_eventSubscriptionsList.emplace_back(std::forward<EventSubscriptionsListT>(value));
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_marker;
95
96 Aws::Vector<EventSubscription> m_eventSubscriptionsList;
97
98 Aws::String m_requestId;
99 bool m_markerHasBeenSet = false;
100 bool m_eventSubscriptionsListHasBeenSet = false;
101 bool m_requestIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace DatabaseMigrationService
106} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API DescribeEventSubscriptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATABASEMIGRATIONSERVICE_API DescribeEventSubscriptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATABASEMIGRATIONSERVICE_API DescribeEventSubscriptionsResult()=default
DescribeEventSubscriptionsResult & WithEventSubscriptionsList(EventSubscriptionsListT &&value)
DescribeEventSubscriptionsResult & AddEventSubscriptionsList(EventSubscriptionsListT &&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