AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
ListAdaptersRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/textract/TextractRequest.h>
10#include <aws/textract/Textract_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Textract {
16namespace Model {
17
21 public:
22 AWS_TEXTRACT_API ListAdaptersRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ListAdapters"; }
29
30 AWS_TEXTRACT_API Aws::String SerializePayload() const override;
31
33
35
40 inline const Aws::Utils::DateTime& GetAfterCreationTime() const { return m_afterCreationTime; }
41 inline bool AfterCreationTimeHasBeenSet() const { return m_afterCreationTimeHasBeenSet; }
42 template <typename AfterCreationTimeT = Aws::Utils::DateTime>
43 void SetAfterCreationTime(AfterCreationTimeT&& value) {
44 m_afterCreationTimeHasBeenSet = true;
45 m_afterCreationTime = std::forward<AfterCreationTimeT>(value);
46 }
47 template <typename AfterCreationTimeT = Aws::Utils::DateTime>
48 ListAdaptersRequest& WithAfterCreationTime(AfterCreationTimeT&& value) {
49 SetAfterCreationTime(std::forward<AfterCreationTimeT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::Utils::DateTime& GetBeforeCreationTime() const { return m_beforeCreationTime; }
61 inline bool BeforeCreationTimeHasBeenSet() const { return m_beforeCreationTimeHasBeenSet; }
62 template <typename BeforeCreationTimeT = Aws::Utils::DateTime>
63 void SetBeforeCreationTime(BeforeCreationTimeT&& value) {
64 m_beforeCreationTimeHasBeenSet = true;
65 m_beforeCreationTime = std::forward<BeforeCreationTimeT>(value);
66 }
67 template <typename BeforeCreationTimeT = Aws::Utils::DateTime>
68 ListAdaptersRequest& WithBeforeCreationTime(BeforeCreationTimeT&& value) {
69 SetBeforeCreationTime(std::forward<BeforeCreationTimeT>(value));
70 return *this;
71 }
73
75
78 inline int GetMaxResults() const { return m_maxResults; }
79 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
80 inline void SetMaxResults(int value) {
81 m_maxResultsHasBeenSet = true;
82 m_maxResults = value;
83 }
85 SetMaxResults(value);
86 return *this;
87 }
89
91
94 inline const Aws::String& GetNextToken() const { return m_nextToken; }
95 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
96 template <typename NextTokenT = Aws::String>
97 void SetNextToken(NextTokenT&& value) {
98 m_nextTokenHasBeenSet = true;
99 m_nextToken = std::forward<NextTokenT>(value);
100 }
101 template <typename NextTokenT = Aws::String>
102 ListAdaptersRequest& WithNextToken(NextTokenT&& value) {
103 SetNextToken(std::forward<NextTokenT>(value));
104 return *this;
105 }
107 private:
108 Aws::Utils::DateTime m_afterCreationTime{};
109 bool m_afterCreationTimeHasBeenSet = false;
110
111 Aws::Utils::DateTime m_beforeCreationTime{};
112 bool m_beforeCreationTimeHasBeenSet = false;
113
114 int m_maxResults{0};
115 bool m_maxResultsHasBeenSet = false;
116
117 Aws::String m_nextToken;
118 bool m_nextTokenHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Textract
123} // namespace Aws
ListAdaptersRequest & WithAfterCreationTime(AfterCreationTimeT &&value)
AWS_TEXTRACT_API ListAdaptersRequest()=default
const Aws::Utils::DateTime & GetAfterCreationTime() const
AWS_TEXTRACT_API Aws::String SerializePayload() const override
void SetAfterCreationTime(AfterCreationTimeT &&value)
virtual const char * GetServiceRequestName() const override
ListAdaptersRequest & WithBeforeCreationTime(BeforeCreationTimeT &&value)
ListAdaptersRequest & WithNextToken(NextTokenT &&value)
AWS_TEXTRACT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Utils::DateTime & GetBeforeCreationTime() const
void SetBeforeCreationTime(BeforeCreationTimeT &&value)
ListAdaptersRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String