AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListAdapterVersionsRequest.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/TextractRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Textract
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TEXTRACT_API ListAdapterVersionsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListAdapterVersions"; }
32
33 AWS_TEXTRACT_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetAdapterId() const { return m_adapterId; }
44 inline bool AdapterIdHasBeenSet() const { return m_adapterIdHasBeenSet; }
45 template<typename AdapterIdT = Aws::String>
46 void SetAdapterId(AdapterIdT&& value) { m_adapterIdHasBeenSet = true; m_adapterId = std::forward<AdapterIdT>(value); }
47 template<typename AdapterIdT = Aws::String>
48 ListAdapterVersionsRequest& WithAdapterId(AdapterIdT&& value) { SetAdapterId(std::forward<AdapterIdT>(value)); return *this;}
50
52
57 inline const Aws::Utils::DateTime& GetAfterCreationTime() const { return m_afterCreationTime; }
58 inline bool AfterCreationTimeHasBeenSet() const { return m_afterCreationTimeHasBeenSet; }
59 template<typename AfterCreationTimeT = Aws::Utils::DateTime>
60 void SetAfterCreationTime(AfterCreationTimeT&& value) { m_afterCreationTimeHasBeenSet = true; m_afterCreationTime = std::forward<AfterCreationTimeT>(value); }
61 template<typename AfterCreationTimeT = Aws::Utils::DateTime>
62 ListAdapterVersionsRequest& WithAfterCreationTime(AfterCreationTimeT&& value) { SetAfterCreationTime(std::forward<AfterCreationTimeT>(value)); return *this;}
64
66
71 inline const Aws::Utils::DateTime& GetBeforeCreationTime() const { return m_beforeCreationTime; }
72 inline bool BeforeCreationTimeHasBeenSet() const { return m_beforeCreationTimeHasBeenSet; }
73 template<typename BeforeCreationTimeT = Aws::Utils::DateTime>
74 void SetBeforeCreationTime(BeforeCreationTimeT&& value) { m_beforeCreationTimeHasBeenSet = true; m_beforeCreationTime = std::forward<BeforeCreationTimeT>(value); }
75 template<typename BeforeCreationTimeT = Aws::Utils::DateTime>
76 ListAdapterVersionsRequest& WithBeforeCreationTime(BeforeCreationTimeT&& value) { SetBeforeCreationTime(std::forward<BeforeCreationTimeT>(value)); return *this;}
78
80
83 inline int GetMaxResults() const { return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
86 inline ListAdapterVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
88
90
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) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
98 template<typename NextTokenT = Aws::String>
99 ListAdapterVersionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
101 private:
102
103 Aws::String m_adapterId;
104 bool m_adapterIdHasBeenSet = false;
105
106 Aws::Utils::DateTime m_afterCreationTime{};
107 bool m_afterCreationTimeHasBeenSet = false;
108
109 Aws::Utils::DateTime m_beforeCreationTime{};
110 bool m_beforeCreationTimeHasBeenSet = false;
111
112 int m_maxResults{0};
113 bool m_maxResultsHasBeenSet = false;
114
115 Aws::String m_nextToken;
116 bool m_nextTokenHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Textract
121} // namespace Aws
const Aws::Utils::DateTime & GetBeforeCreationTime() const
AWS_TEXTRACT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_TEXTRACT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListAdapterVersionsRequest & WithAfterCreationTime(AfterCreationTimeT &&value)
const Aws::Utils::DateTime & GetAfterCreationTime() const
ListAdapterVersionsRequest & WithBeforeCreationTime(BeforeCreationTimeT &&value)
ListAdapterVersionsRequest & WithMaxResults(int value)
AWS_TEXTRACT_API ListAdapterVersionsRequest()=default
ListAdapterVersionsRequest & WithNextToken(NextTokenT &&value)
ListAdapterVersionsRequest & WithAdapterId(AdapterIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String