AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DescribeDocumentVersionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/workdocs/WorkDocs_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace WorkDocs {
18namespace Model {
19
23 public:
24 AWS_WORKDOCS_API DescribeDocumentVersionsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeDocumentVersions"; }
31
32 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
33
34 AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
39
43 inline const Aws::String& GetAuthenticationToken() const { return m_authenticationToken; }
44 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
45 template <typename AuthenticationTokenT = Aws::String>
46 void SetAuthenticationToken(AuthenticationTokenT&& value) {
47 m_authenticationTokenHasBeenSet = true;
48 m_authenticationToken = std::forward<AuthenticationTokenT>(value);
49 }
50 template <typename AuthenticationTokenT = Aws::String>
52 SetAuthenticationToken(std::forward<AuthenticationTokenT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetDocumentId() const { return m_documentId; }
62 inline bool DocumentIdHasBeenSet() const { return m_documentIdHasBeenSet; }
63 template <typename DocumentIdT = Aws::String>
64 void SetDocumentId(DocumentIdT&& value) {
65 m_documentIdHasBeenSet = true;
66 m_documentId = std::forward<DocumentIdT>(value);
67 }
68 template <typename DocumentIdT = Aws::String>
70 SetDocumentId(std::forward<DocumentIdT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetMarker() const { return m_marker; }
81 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
82 template <typename MarkerT = Aws::String>
83 void SetMarker(MarkerT&& value) {
84 m_markerHasBeenSet = true;
85 m_marker = std::forward<MarkerT>(value);
86 }
87 template <typename MarkerT = Aws::String>
89 SetMarker(std::forward<MarkerT>(value));
90 return *this;
91 }
93
95
98 inline int GetLimit() const { return m_limit; }
99 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
100 inline void SetLimit(int value) {
101 m_limitHasBeenSet = true;
102 m_limit = value;
103 }
105 SetLimit(value);
106 return *this;
107 }
109
111
115 inline const Aws::String& GetInclude() const { return m_include; }
116 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
117 template <typename IncludeT = Aws::String>
118 void SetInclude(IncludeT&& value) {
119 m_includeHasBeenSet = true;
120 m_include = std::forward<IncludeT>(value);
121 }
122 template <typename IncludeT = Aws::String>
124 SetInclude(std::forward<IncludeT>(value));
125 return *this;
126 }
128
130
134 inline const Aws::String& GetFields() const { return m_fields; }
135 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
136 template <typename FieldsT = Aws::String>
137 void SetFields(FieldsT&& value) {
138 m_fieldsHasBeenSet = true;
139 m_fields = std::forward<FieldsT>(value);
140 }
141 template <typename FieldsT = Aws::String>
143 SetFields(std::forward<FieldsT>(value));
144 return *this;
145 }
147 private:
148 Aws::String m_authenticationToken;
149
150 Aws::String m_documentId;
151
152 Aws::String m_marker;
153
154 int m_limit{0};
155
156 Aws::String m_include;
157
158 Aws::String m_fields;
159 bool m_authenticationTokenHasBeenSet = false;
160 bool m_documentIdHasBeenSet = false;
161 bool m_markerHasBeenSet = false;
162 bool m_limitHasBeenSet = false;
163 bool m_includeHasBeenSet = false;
164 bool m_fieldsHasBeenSet = false;
165};
166
167} // namespace Model
168} // namespace WorkDocs
169} // namespace Aws
DescribeDocumentVersionsRequest & WithDocumentId(DocumentIdT &&value)
DescribeDocumentVersionsRequest & WithFields(FieldsT &&value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeDocumentVersionsRequest & WithAuthenticationToken(AuthenticationTokenT &&value)
DescribeDocumentVersionsRequest & WithInclude(IncludeT &&value)
AWS_WORKDOCS_API DescribeDocumentVersionsRequest()=default
DescribeDocumentVersionsRequest & WithMarker(MarkerT &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String