AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListLineageEventsRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/LineageEventProcessingStatus.h>
11#include <aws/datazone/model/SortOrder.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace DataZone
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_DATAZONE_API ListLineageEventsRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListLineageEvents"; }
38
39 AWS_DATAZONE_API Aws::String SerializePayload() const override;
40
41 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
49 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
50 template<typename DomainIdentifierT = Aws::String>
51 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
52 template<typename DomainIdentifierT = Aws::String>
53 ListLineageEventsRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
55
57
64 inline int GetMaxResults() const { return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline ListLineageEventsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
78 inline const Aws::String& GetNextToken() const { return m_nextToken; }
79 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
80 template<typename NextTokenT = Aws::String>
81 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
82 template<typename NextTokenT = Aws::String>
83 ListLineageEventsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
85
87
90 inline LineageEventProcessingStatus GetProcessingStatus() const { return m_processingStatus; }
91 inline bool ProcessingStatusHasBeenSet() const { return m_processingStatusHasBeenSet; }
92 inline void SetProcessingStatus(LineageEventProcessingStatus value) { m_processingStatusHasBeenSet = true; m_processingStatus = value; }
95
97
100 inline SortOrder GetSortOrder() const { return m_sortOrder; }
101 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
102 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
103 inline ListLineageEventsRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetTimestampAfter() const { return m_timestampAfter; }
111 inline bool TimestampAfterHasBeenSet() const { return m_timestampAfterHasBeenSet; }
112 template<typename TimestampAfterT = Aws::Utils::DateTime>
113 void SetTimestampAfter(TimestampAfterT&& value) { m_timestampAfterHasBeenSet = true; m_timestampAfter = std::forward<TimestampAfterT>(value); }
114 template<typename TimestampAfterT = Aws::Utils::DateTime>
115 ListLineageEventsRequest& WithTimestampAfter(TimestampAfterT&& value) { SetTimestampAfter(std::forward<TimestampAfterT>(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetTimestampBefore() const { return m_timestampBefore; }
123 inline bool TimestampBeforeHasBeenSet() const { return m_timestampBeforeHasBeenSet; }
124 template<typename TimestampBeforeT = Aws::Utils::DateTime>
125 void SetTimestampBefore(TimestampBeforeT&& value) { m_timestampBeforeHasBeenSet = true; m_timestampBefore = std::forward<TimestampBeforeT>(value); }
126 template<typename TimestampBeforeT = Aws::Utils::DateTime>
127 ListLineageEventsRequest& WithTimestampBefore(TimestampBeforeT&& value) { SetTimestampBefore(std::forward<TimestampBeforeT>(value)); return *this;}
129 private:
130
131 Aws::String m_domainIdentifier;
132 bool m_domainIdentifierHasBeenSet = false;
133
134 int m_maxResults{0};
135 bool m_maxResultsHasBeenSet = false;
136
137 Aws::String m_nextToken;
138 bool m_nextTokenHasBeenSet = false;
139
141 bool m_processingStatusHasBeenSet = false;
142
143 SortOrder m_sortOrder{SortOrder::NOT_SET};
144 bool m_sortOrderHasBeenSet = false;
145
146 Aws::Utils::DateTime m_timestampAfter{};
147 bool m_timestampAfterHasBeenSet = false;
148
149 Aws::Utils::DateTime m_timestampBefore{};
150 bool m_timestampBeforeHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace DataZone
155} // namespace Aws
ListLineageEventsRequest & WithSortOrder(SortOrder value)
ListLineageEventsRequest & WithNextToken(NextTokenT &&value)
void SetProcessingStatus(LineageEventProcessingStatus value)
ListLineageEventsRequest & WithDomainIdentifier(DomainIdentifierT &&value)
ListLineageEventsRequest & WithTimestampAfter(TimestampAfterT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Utils::DateTime & GetTimestampAfter() const
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListLineageEventsRequest & WithTimestampBefore(TimestampBeforeT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListLineageEventsRequest & WithMaxResults(int value)
const Aws::Utils::DateTime & GetTimestampBefore() const
ListLineageEventsRequest & WithProcessingStatus(LineageEventProcessingStatus value)
AWS_DATAZONE_API ListLineageEventsRequest()=default
LineageEventProcessingStatus GetProcessingStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String