AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeActivitiesRequest.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 <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace WorkDocs
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_WORKDOCS_API DescribeActivitiesRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeActivities"; }
36
37 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
38
39 AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
43
45
49 inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
50 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
51 inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
52 inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
53 inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
55 inline DescribeActivitiesRequest& WithAuthenticationToken(Aws::String&& value) { SetAuthenticationToken(std::move(value)); return *this;}
56 inline DescribeActivitiesRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
58
60
64 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
65 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
66 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
67 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
68 inline DescribeActivitiesRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
69 inline DescribeActivitiesRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
71
73
77 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
78 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
79 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
80 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
81 inline DescribeActivitiesRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
82 inline DescribeActivitiesRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
84
86
90 inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
91 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
92 inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
93 inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
94 inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
95 inline DescribeActivitiesRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
96 inline DescribeActivitiesRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
97 inline DescribeActivitiesRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
99
101
105 inline const Aws::String& GetActivityTypes() const{ return m_activityTypes; }
106 inline bool ActivityTypesHasBeenSet() const { return m_activityTypesHasBeenSet; }
107 inline void SetActivityTypes(const Aws::String& value) { m_activityTypesHasBeenSet = true; m_activityTypes = value; }
108 inline void SetActivityTypes(Aws::String&& value) { m_activityTypesHasBeenSet = true; m_activityTypes = std::move(value); }
109 inline void SetActivityTypes(const char* value) { m_activityTypesHasBeenSet = true; m_activityTypes.assign(value); }
110 inline DescribeActivitiesRequest& WithActivityTypes(const Aws::String& value) { SetActivityTypes(value); return *this;}
111 inline DescribeActivitiesRequest& WithActivityTypes(Aws::String&& value) { SetActivityTypes(std::move(value)); return *this;}
112 inline DescribeActivitiesRequest& WithActivityTypes(const char* value) { SetActivityTypes(value); return *this;}
114
116
119 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
120 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
121 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
122 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
123 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
124 inline DescribeActivitiesRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
125 inline DescribeActivitiesRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
126 inline DescribeActivitiesRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
128
130
135 inline const Aws::String& GetUserId() const{ return m_userId; }
136 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
137 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
138 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
139 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
140 inline DescribeActivitiesRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
141 inline DescribeActivitiesRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
142 inline DescribeActivitiesRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
144
146
152 inline bool GetIncludeIndirectActivities() const{ return m_includeIndirectActivities; }
153 inline bool IncludeIndirectActivitiesHasBeenSet() const { return m_includeIndirectActivitiesHasBeenSet; }
154 inline void SetIncludeIndirectActivities(bool value) { m_includeIndirectActivitiesHasBeenSet = true; m_includeIndirectActivities = value; }
157
159
162 inline int GetLimit() const{ return m_limit; }
163 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
164 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
165 inline DescribeActivitiesRequest& WithLimit(int value) { SetLimit(value); return *this;}
167
169
172 inline const Aws::String& GetMarker() const{ return m_marker; }
173 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
174 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
175 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
176 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
177 inline DescribeActivitiesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
178 inline DescribeActivitiesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
179 inline DescribeActivitiesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
181 private:
182
183 Aws::String m_authenticationToken;
184 bool m_authenticationTokenHasBeenSet = false;
185
186 Aws::Utils::DateTime m_startTime;
187 bool m_startTimeHasBeenSet = false;
188
189 Aws::Utils::DateTime m_endTime;
190 bool m_endTimeHasBeenSet = false;
191
192 Aws::String m_organizationId;
193 bool m_organizationIdHasBeenSet = false;
194
195 Aws::String m_activityTypes;
196 bool m_activityTypesHasBeenSet = false;
197
198 Aws::String m_resourceId;
199 bool m_resourceIdHasBeenSet = false;
200
201 Aws::String m_userId;
202 bool m_userIdHasBeenSet = false;
203
204 bool m_includeIndirectActivities;
205 bool m_includeIndirectActivitiesHasBeenSet = false;
206
207 int m_limit;
208 bool m_limitHasBeenSet = false;
209
210 Aws::String m_marker;
211 bool m_markerHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace WorkDocs
216} // namespace Aws
void SetStartTime(const Aws::Utils::DateTime &value)
DescribeActivitiesRequest & WithMarker(Aws::String &&value)
DescribeActivitiesRequest & WithMarker(const char *value)
DescribeActivitiesRequest & WithOrganizationId(Aws::String &&value)
DescribeActivitiesRequest & WithStartTime(const Aws::Utils::DateTime &value)
DescribeActivitiesRequest & WithEndTime(Aws::Utils::DateTime &&value)
DescribeActivitiesRequest & WithUserId(const Aws::String &value)
DescribeActivitiesRequest & WithResourceId(Aws::String &&value)
DescribeActivitiesRequest & WithAuthenticationToken(const char *value)
DescribeActivitiesRequest & WithAuthenticationToken(const Aws::String &value)
DescribeActivitiesRequest & WithIncludeIndirectActivities(bool value)
DescribeActivitiesRequest & WithMarker(const Aws::String &value)
void SetEndTime(const Aws::Utils::DateTime &value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeActivitiesRequest & WithActivityTypes(const char *value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
DescribeActivitiesRequest & WithActivityTypes(const Aws::String &value)
DescribeActivitiesRequest & WithResourceId(const char *value)
DescribeActivitiesRequest & WithUserId(Aws::String &&value)
DescribeActivitiesRequest & WithOrganizationId(const Aws::String &value)
DescribeActivitiesRequest & WithActivityTypes(Aws::String &&value)
DescribeActivitiesRequest & WithResourceId(const Aws::String &value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
DescribeActivitiesRequest & WithStartTime(Aws::Utils::DateTime &&value)
DescribeActivitiesRequest & WithOrganizationId(const char *value)
DescribeActivitiesRequest & WithUserId(const char *value)
DescribeActivitiesRequest & WithAuthenticationToken(Aws::String &&value)
DescribeActivitiesRequest & WithEndTime(const Aws::Utils::DateTime &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String