AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRunTasksRequest.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/model/TaskStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Omics
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_OMICS_API ListRunTasksRequest();
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 "ListRunTasks"; }
36
37 AWS_OMICS_API Aws::String SerializePayload() const override;
38
39 AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline ListRunTasksRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ListRunTasksRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ListRunTasksRequest& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const TaskStatus& GetStatus() const{ return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(const TaskStatus& value) { m_statusHasBeenSet = true; m_status = value; }
63 inline void SetStatus(TaskStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 inline ListRunTasksRequest& WithStatus(const TaskStatus& value) { SetStatus(value); return *this;}
65 inline ListRunTasksRequest& WithStatus(TaskStatus&& value) { SetStatus(std::move(value)); return *this;}
67
69
73 inline const Aws::String& GetStartingToken() const{ return m_startingToken; }
74 inline bool StartingTokenHasBeenSet() const { return m_startingTokenHasBeenSet; }
75 inline void SetStartingToken(const Aws::String& value) { m_startingTokenHasBeenSet = true; m_startingToken = value; }
76 inline void SetStartingToken(Aws::String&& value) { m_startingTokenHasBeenSet = true; m_startingToken = std::move(value); }
77 inline void SetStartingToken(const char* value) { m_startingTokenHasBeenSet = true; m_startingToken.assign(value); }
78 inline ListRunTasksRequest& WithStartingToken(const Aws::String& value) { SetStartingToken(value); return *this;}
79 inline ListRunTasksRequest& WithStartingToken(Aws::String&& value) { SetStartingToken(std::move(value)); return *this;}
80 inline ListRunTasksRequest& WithStartingToken(const char* value) { SetStartingToken(value); return *this;}
82
84
87 inline int GetMaxResults() const{ return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 inline ListRunTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92 private:
93
94 Aws::String m_id;
95 bool m_idHasBeenSet = false;
96
97 TaskStatus m_status;
98 bool m_statusHasBeenSet = false;
99
100 Aws::String m_startingToken;
101 bool m_startingTokenHasBeenSet = false;
102
103 int m_maxResults;
104 bool m_maxResultsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Omics
109} // namespace Aws
void SetStartingToken(const Aws::String &value)
ListRunTasksRequest & WithId(Aws::String &&value)
ListRunTasksRequest & WithStatus(const TaskStatus &value)
ListRunTasksRequest & WithId(const char *value)
ListRunTasksRequest & WithStartingToken(const Aws::String &value)
const Aws::String & GetStartingToken() const
virtual const char * GetServiceRequestName() const override
ListRunTasksRequest & WithStartingToken(Aws::String &&value)
ListRunTasksRequest & WithStatus(TaskStatus &&value)
void SetId(const Aws::String &value)
ListRunTasksRequest & WithId(const Aws::String &value)
ListRunTasksRequest & WithMaxResults(int value)
void SetStatus(const TaskStatus &value)
ListRunTasksRequest & WithStartingToken(const char *value)
AWS_OMICS_API Aws::String SerializePayload() const override
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String