AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListExecutionsRequest.h
1
6#pragma once
7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/snow-device-management/SnowDeviceManagementRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/snow-device-management/model/ExecutionState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace SnowDeviceManagement
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_SNOWDEVICEMANAGEMENT_API ListExecutionsRequest();
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 "ListExecutions"; }
36
37 AWS_SNOWDEVICEMANAGEMENT_API Aws::String SerializePayload() const override;
38
39 AWS_SNOWDEVICEMANAGEMENT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline int GetMaxResults() const{ return m_maxResults; }
47 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
48 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
49 inline ListExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
51
53
56 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
57 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
58 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
59 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
60 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
61 inline ListExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
62 inline ListExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
63 inline ListExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
65
67
70 inline const ExecutionState& GetState() const{ return m_state; }
71 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
72 inline void SetState(const ExecutionState& value) { m_stateHasBeenSet = true; m_state = value; }
73 inline void SetState(ExecutionState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
74 inline ListExecutionsRequest& WithState(const ExecutionState& value) { SetState(value); return *this;}
75 inline ListExecutionsRequest& WithState(ExecutionState&& value) { SetState(std::move(value)); return *this;}
77
79
82 inline const Aws::String& GetTaskId() const{ return m_taskId; }
83 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
84 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
85 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
86 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
87 inline ListExecutionsRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
88 inline ListExecutionsRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
89 inline ListExecutionsRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;}
91 private:
92
93 int m_maxResults;
94 bool m_maxResultsHasBeenSet = false;
95
96 Aws::String m_nextToken;
97 bool m_nextTokenHasBeenSet = false;
98
99 ExecutionState m_state;
100 bool m_stateHasBeenSet = false;
101
102 Aws::String m_taskId;
103 bool m_taskIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SnowDeviceManagement
108} // namespace Aws
ListExecutionsRequest & WithTaskId(Aws::String &&value)
AWS_SNOWDEVICEMANAGEMENT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListExecutionsRequest & WithNextToken(const Aws::String &value)
AWS_SNOWDEVICEMANAGEMENT_API ListExecutionsRequest()
ListExecutionsRequest & WithState(ExecutionState &&value)
ListExecutionsRequest & WithTaskId(const char *value)
ListExecutionsRequest & WithNextToken(Aws::String &&value)
ListExecutionsRequest & WithTaskId(const Aws::String &value)
ListExecutionsRequest & WithState(const ExecutionState &value)
ListExecutionsRequest & WithNextToken(const char *value)
AWS_SNOWDEVICEMANAGEMENT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String