AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DescribeEventsResult.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/Event.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 DescribeEventsResult() = default;
35
37
42 inline const Aws::String& GetMarker() const { return m_marker; }
43 template <typename MarkerT = Aws::String>
44 void SetMarker(MarkerT&& value) {
45 m_markerHasBeenSet = true;
46 m_marker = std::forward<MarkerT>(value);
47 }
48 template <typename MarkerT = Aws::String>
49 DescribeEventsResult& WithMarker(MarkerT&& value) {
50 SetMarker(std::forward<MarkerT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<Event>& GetEvents() const { return m_events; }
60 template <typename EventsT = Aws::Vector<Event>>
61 void SetEvents(EventsT&& value) {
62 m_eventsHasBeenSet = true;
63 m_events = std::forward<EventsT>(value);
64 }
65 template <typename EventsT = Aws::Vector<Event>>
66 DescribeEventsResult& WithEvents(EventsT&& value) {
67 SetEvents(std::forward<EventsT>(value));
68 return *this;
69 }
70 template <typename EventsT = Event>
71 DescribeEventsResult& AddEvents(EventsT&& value) {
72 m_eventsHasBeenSet = true;
73 m_events.emplace_back(std::forward<EventsT>(value));
74 return *this;
75 }
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template <typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) {
83 m_requestIdHasBeenSet = true;
84 m_requestId = std::forward<RequestIdT>(value);
85 }
86 template <typename RequestIdT = Aws::String>
87 DescribeEventsResult& WithRequestId(RequestIdT&& value) {
88 SetRequestId(std::forward<RequestIdT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_marker;
94
95 Aws::Vector<Event> m_events;
96
97 Aws::String m_requestId;
98 bool m_markerHasBeenSet = false;
99 bool m_eventsHasBeenSet = false;
100 bool m_requestIdHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace DatabaseMigrationService
105} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API DescribeEventsResult()=default
AWS_DATABASEMIGRATIONSERVICE_API DescribeEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEventsResult & WithRequestId(RequestIdT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DescribeEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue