AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
51 inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
52 inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
55 inline DescribeDocumentVersionsRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
57
59
62 inline const Aws::String& GetDocumentId() const{ return m_documentId; }
63 inline bool DocumentIdHasBeenSet() const { return m_documentIdHasBeenSet; }
64 inline void SetDocumentId(const Aws::String& value) { m_documentIdHasBeenSet = true; m_documentId = value; }
65 inline void SetDocumentId(Aws::String&& value) { m_documentIdHasBeenSet = true; m_documentId = std::move(value); }
66 inline void SetDocumentId(const char* value) { m_documentIdHasBeenSet = true; m_documentId.assign(value); }
67 inline DescribeDocumentVersionsRequest& WithDocumentId(const Aws::String& value) { SetDocumentId(value); return *this;}
68 inline DescribeDocumentVersionsRequest& WithDocumentId(Aws::String&& value) { SetDocumentId(std::move(value)); return *this;}
69 inline DescribeDocumentVersionsRequest& WithDocumentId(const char* value) { SetDocumentId(value); return *this;}
71
73
77 inline const Aws::String& GetMarker() const{ return m_marker; }
78 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
79 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
80 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
81 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
82 inline DescribeDocumentVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
83 inline DescribeDocumentVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
84 inline DescribeDocumentVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
86
88
91 inline int GetLimit() const{ return m_limit; }
92 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
93 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
94 inline DescribeDocumentVersionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
96
98
102 inline const Aws::String& GetInclude() const{ return m_include; }
103 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
104 inline void SetInclude(const Aws::String& value) { m_includeHasBeenSet = true; m_include = value; }
105 inline void SetInclude(Aws::String&& value) { m_includeHasBeenSet = true; m_include = std::move(value); }
106 inline void SetInclude(const char* value) { m_includeHasBeenSet = true; m_include.assign(value); }
107 inline DescribeDocumentVersionsRequest& WithInclude(const Aws::String& value) { SetInclude(value); return *this;}
108 inline DescribeDocumentVersionsRequest& WithInclude(Aws::String&& value) { SetInclude(std::move(value)); return *this;}
109 inline DescribeDocumentVersionsRequest& WithInclude(const char* value) { SetInclude(value); return *this;}
111
113
117 inline const Aws::String& GetFields() const{ return m_fields; }
118 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
119 inline void SetFields(const Aws::String& value) { m_fieldsHasBeenSet = true; m_fields = value; }
120 inline void SetFields(Aws::String&& value) { m_fieldsHasBeenSet = true; m_fields = std::move(value); }
121 inline void SetFields(const char* value) { m_fieldsHasBeenSet = true; m_fields.assign(value); }
122 inline DescribeDocumentVersionsRequest& WithFields(const Aws::String& value) { SetFields(value); return *this;}
123 inline DescribeDocumentVersionsRequest& WithFields(Aws::String&& value) { SetFields(std::move(value)); return *this;}
124 inline DescribeDocumentVersionsRequest& WithFields(const char* value) { SetFields(value); return *this;}
126 private:
127
128 Aws::String m_authenticationToken;
129 bool m_authenticationTokenHasBeenSet = false;
130
131 Aws::String m_documentId;
132 bool m_documentIdHasBeenSet = false;
133
134 Aws::String m_marker;
135 bool m_markerHasBeenSet = false;
136
137 int m_limit;
138 bool m_limitHasBeenSet = false;
139
140 Aws::String m_include;
141 bool m_includeHasBeenSet = false;
142
143 Aws::String m_fields;
144 bool m_fieldsHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace WorkDocs
149} // namespace Aws
DescribeDocumentVersionsRequest & WithAuthenticationToken(Aws::String &&value)
DescribeDocumentVersionsRequest & WithMarker(const Aws::String &value)
DescribeDocumentVersionsRequest & WithInclude(Aws::String &&value)
DescribeDocumentVersionsRequest & WithAuthenticationToken(const char *value)
DescribeDocumentVersionsRequest & WithFields(Aws::String &&value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeDocumentVersionsRequest & WithDocumentId(const Aws::String &value)
DescribeDocumentVersionsRequest & WithInclude(const char *value)
DescribeDocumentVersionsRequest & WithFields(const char *value)
DescribeDocumentVersionsRequest & WithDocumentId(const char *value)
DescribeDocumentVersionsRequest & WithMarker(Aws::String &&value)
DescribeDocumentVersionsRequest & WithInclude(const Aws::String &value)
DescribeDocumentVersionsRequest & WithMarker(const char *value)
DescribeDocumentVersionsRequest & WithFields(const Aws::String &value)
DescribeDocumentVersionsRequest & WithAuthenticationToken(const Aws::String &value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
DescribeDocumentVersionsRequest & WithDocumentId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String