AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeDocumentVersionsRequest.h
1
6#pragma once
7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace WorkDocs
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_WORKDOCS_API DescribeDocumentVersionsRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeDocumentVersions"; }
35
36 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
37
38 AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
42
44
48 inline const Aws::String& GetAuthenticationToken() const { return m_authenticationToken; }
49 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
50 template<typename AuthenticationTokenT = Aws::String>
51 void SetAuthenticationToken(AuthenticationTokenT&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::forward<AuthenticationTokenT>(value); }
52 template<typename AuthenticationTokenT = Aws::String>
53 DescribeDocumentVersionsRequest& WithAuthenticationToken(AuthenticationTokenT&& value) { SetAuthenticationToken(std::forward<AuthenticationTokenT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDocumentId() const { return m_documentId; }
61 inline bool DocumentIdHasBeenSet() const { return m_documentIdHasBeenSet; }
62 template<typename DocumentIdT = Aws::String>
63 void SetDocumentId(DocumentIdT&& value) { m_documentIdHasBeenSet = true; m_documentId = std::forward<DocumentIdT>(value); }
64 template<typename DocumentIdT = Aws::String>
65 DescribeDocumentVersionsRequest& WithDocumentId(DocumentIdT&& value) { SetDocumentId(std::forward<DocumentIdT>(value)); return *this;}
67
69
73 inline const Aws::String& GetMarker() const { return m_marker; }
74 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
75 template<typename MarkerT = Aws::String>
76 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
77 template<typename MarkerT = Aws::String>
78 DescribeDocumentVersionsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
80
82
85 inline int GetLimit() const { return m_limit; }
86 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
87 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
88 inline DescribeDocumentVersionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
90
92
96 inline const Aws::String& GetInclude() const { return m_include; }
97 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
98 template<typename IncludeT = Aws::String>
99 void SetInclude(IncludeT&& value) { m_includeHasBeenSet = true; m_include = std::forward<IncludeT>(value); }
100 template<typename IncludeT = Aws::String>
101 DescribeDocumentVersionsRequest& WithInclude(IncludeT&& value) { SetInclude(std::forward<IncludeT>(value)); return *this;}
103
105
109 inline const Aws::String& GetFields() const { return m_fields; }
110 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
111 template<typename FieldsT = Aws::String>
112 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields = std::forward<FieldsT>(value); }
113 template<typename FieldsT = Aws::String>
114 DescribeDocumentVersionsRequest& WithFields(FieldsT&& value) { SetFields(std::forward<FieldsT>(value)); return *this;}
116 private:
117
118 Aws::String m_authenticationToken;
119 bool m_authenticationTokenHasBeenSet = false;
120
121 Aws::String m_documentId;
122 bool m_documentIdHasBeenSet = false;
123
124 Aws::String m_marker;
125 bool m_markerHasBeenSet = false;
126
127 int m_limit{0};
128 bool m_limitHasBeenSet = false;
129
130 Aws::String m_include;
131 bool m_includeHasBeenSet = false;
132
133 Aws::String m_fields;
134 bool m_fieldsHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace WorkDocs
139} // 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