AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeActivitiesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace WorkDocs
20 {
21 namespace Model
22 {
23 
27  {
28  public:
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::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42 
43 
48  inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
49 
54  inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
55 
60  inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
61 
66  inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
67 
72  inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
73 
78  inline DescribeActivitiesRequest& WithAuthenticationToken(const Aws::String& value) { SetAuthenticationToken(value); return *this;}
79 
84  inline DescribeActivitiesRequest& WithAuthenticationToken(Aws::String&& value) { SetAuthenticationToken(std::move(value)); return *this;}
85 
90  inline DescribeActivitiesRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
91 
92 
97  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
98 
103  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
104 
109  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
110 
115  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
116 
121  inline DescribeActivitiesRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
122 
127  inline DescribeActivitiesRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
128 
129 
134  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
135 
140  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
141 
146  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
147 
152  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
153 
158  inline DescribeActivitiesRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
159 
164  inline DescribeActivitiesRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
165 
166 
171  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
172 
177  inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
178 
183  inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
184 
189  inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
190 
195  inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
196 
201  inline DescribeActivitiesRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
202 
207  inline DescribeActivitiesRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
208 
213  inline DescribeActivitiesRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
214 
215 
220  inline const Aws::String& GetActivityTypes() const{ return m_activityTypes; }
221 
226  inline bool ActivityTypesHasBeenSet() const { return m_activityTypesHasBeenSet; }
227 
232  inline void SetActivityTypes(const Aws::String& value) { m_activityTypesHasBeenSet = true; m_activityTypes = value; }
233 
238  inline void SetActivityTypes(Aws::String&& value) { m_activityTypesHasBeenSet = true; m_activityTypes = std::move(value); }
239 
244  inline void SetActivityTypes(const char* value) { m_activityTypesHasBeenSet = true; m_activityTypes.assign(value); }
245 
250  inline DescribeActivitiesRequest& WithActivityTypes(const Aws::String& value) { SetActivityTypes(value); return *this;}
251 
256  inline DescribeActivitiesRequest& WithActivityTypes(Aws::String&& value) { SetActivityTypes(std::move(value)); return *this;}
257 
262  inline DescribeActivitiesRequest& WithActivityTypes(const char* value) { SetActivityTypes(value); return *this;}
263 
264 
268  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
269 
273  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
274 
278  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
279 
283  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
284 
288  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
289 
293  inline DescribeActivitiesRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
294 
298  inline DescribeActivitiesRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
299 
303  inline DescribeActivitiesRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
304 
305 
311  inline const Aws::String& GetUserId() const{ return m_userId; }
312 
318  inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
319 
325  inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
326 
332  inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
333 
339  inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
340 
346  inline DescribeActivitiesRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
347 
353  inline DescribeActivitiesRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
354 
360  inline DescribeActivitiesRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
361 
362 
369  inline bool GetIncludeIndirectActivities() const{ return m_includeIndirectActivities; }
370 
377  inline bool IncludeIndirectActivitiesHasBeenSet() const { return m_includeIndirectActivitiesHasBeenSet; }
378 
385  inline void SetIncludeIndirectActivities(bool value) { m_includeIndirectActivitiesHasBeenSet = true; m_includeIndirectActivities = value; }
386 
393  inline DescribeActivitiesRequest& WithIncludeIndirectActivities(bool value) { SetIncludeIndirectActivities(value); return *this;}
394 
395 
399  inline int GetLimit() const{ return m_limit; }
400 
404  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
405 
409  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
410 
414  inline DescribeActivitiesRequest& WithLimit(int value) { SetLimit(value); return *this;}
415 
416 
420  inline const Aws::String& GetMarker() const{ return m_marker; }
421 
425  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
426 
430  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
431 
435  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
436 
440  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
441 
445  inline DescribeActivitiesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
446 
450  inline DescribeActivitiesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
451 
455  inline DescribeActivitiesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
456 
457  private:
458 
459  Aws::String m_authenticationToken;
460  bool m_authenticationTokenHasBeenSet;
461 
462  Aws::Utils::DateTime m_startTime;
463  bool m_startTimeHasBeenSet;
464 
465  Aws::Utils::DateTime m_endTime;
466  bool m_endTimeHasBeenSet;
467 
468  Aws::String m_organizationId;
469  bool m_organizationIdHasBeenSet;
470 
471  Aws::String m_activityTypes;
472  bool m_activityTypesHasBeenSet;
473 
474  Aws::String m_resourceId;
475  bool m_resourceIdHasBeenSet;
476 
477  Aws::String m_userId;
478  bool m_userIdHasBeenSet;
479 
480  bool m_includeIndirectActivities;
481  bool m_includeIndirectActivitiesHasBeenSet;
482 
483  int m_limit;
484  bool m_limitHasBeenSet;
485 
486  Aws::String m_marker;
487  bool m_markerHasBeenSet;
488  };
489 
490 } // namespace Model
491 } // namespace WorkDocs
492 } // namespace Aws
DescribeActivitiesRequest & WithIncludeIndirectActivities(bool value)
void SetStartTime(const Aws::Utils::DateTime &value)
DescribeActivitiesRequest & WithStartTime(Aws::Utils::DateTime &&value)
DescribeActivitiesRequest & WithEndTime(Aws::Utils::DateTime &&value)
DescribeActivitiesRequest & WithEndTime(const Aws::Utils::DateTime &value)
DescribeActivitiesRequest & WithUserId(const Aws::String &value)
DescribeActivitiesRequest & WithResourceId(const Aws::String &value)
DescribeActivitiesRequest & WithOrganizationId(Aws::String &&value)
DescribeActivitiesRequest & WithAuthenticationToken(const Aws::String &value)
DescribeActivitiesRequest & WithOrganizationId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
DescribeActivitiesRequest & WithActivityTypes(const Aws::String &value)
#define AWS_WORKDOCS_API
DescribeActivitiesRequest & WithAuthenticationToken(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeActivitiesRequest & WithAuthenticationToken(Aws::String &&value)
DescribeActivitiesRequest & WithUserId(Aws::String &&value)
DescribeActivitiesRequest & WithMarker(const char *value)
DescribeActivitiesRequest & WithMarker(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
DescribeActivitiesRequest & WithActivityTypes(const char *value)
void SetEndTime(const Aws::Utils::DateTime &value)
DescribeActivitiesRequest & WithOrganizationId(const Aws::String &value)
DescribeActivitiesRequest & WithMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeActivitiesRequest & WithLimit(int value)
DescribeActivitiesRequest & WithResourceId(Aws::String &&value)
DescribeActivitiesRequest & WithStartTime(const Aws::Utils::DateTime &value)
DescribeActivitiesRequest & WithActivityTypes(Aws::String &&value)
DescribeActivitiesRequest & WithUserId(const char *value)
DescribeActivitiesRequest & WithResourceId(const char *value)