AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRunsRequest.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/RunStatus.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 ListRunsRequest();
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 "ListRuns"; }
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& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline ListRunsRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline ListRunsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline ListRunsRequest& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetRunGroupId() const{ return m_runGroupId; }
61 inline bool RunGroupIdHasBeenSet() const { return m_runGroupIdHasBeenSet; }
62 inline void SetRunGroupId(const Aws::String& value) { m_runGroupIdHasBeenSet = true; m_runGroupId = value; }
63 inline void SetRunGroupId(Aws::String&& value) { m_runGroupIdHasBeenSet = true; m_runGroupId = std::move(value); }
64 inline void SetRunGroupId(const char* value) { m_runGroupIdHasBeenSet = true; m_runGroupId.assign(value); }
65 inline ListRunsRequest& WithRunGroupId(const Aws::String& value) { SetRunGroupId(value); return *this;}
66 inline ListRunsRequest& WithRunGroupId(Aws::String&& value) { SetRunGroupId(std::move(value)); return *this;}
67 inline ListRunsRequest& WithRunGroupId(const char* value) { SetRunGroupId(value); return *this;}
69
71
75 inline const Aws::String& GetStartingToken() const{ return m_startingToken; }
76 inline bool StartingTokenHasBeenSet() const { return m_startingTokenHasBeenSet; }
77 inline void SetStartingToken(const Aws::String& value) { m_startingTokenHasBeenSet = true; m_startingToken = value; }
78 inline void SetStartingToken(Aws::String&& value) { m_startingTokenHasBeenSet = true; m_startingToken = std::move(value); }
79 inline void SetStartingToken(const char* value) { m_startingTokenHasBeenSet = true; m_startingToken.assign(value); }
80 inline ListRunsRequest& WithStartingToken(const Aws::String& value) { SetStartingToken(value); return *this;}
81 inline ListRunsRequest& WithStartingToken(Aws::String&& value) { SetStartingToken(std::move(value)); return *this;}
82 inline ListRunsRequest& WithStartingToken(const char* value) { SetStartingToken(value); return *this;}
84
86
89 inline int GetMaxResults() const{ return m_maxResults; }
90 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
92 inline ListRunsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
94
96
99 inline const RunStatus& GetStatus() const{ return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 inline void SetStatus(const RunStatus& value) { m_statusHasBeenSet = true; m_status = value; }
102 inline void SetStatus(RunStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
103 inline ListRunsRequest& WithStatus(const RunStatus& value) { SetStatus(value); return *this;}
104 inline ListRunsRequest& WithStatus(RunStatus&& value) { SetStatus(std::move(value)); return *this;}
106 private:
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 Aws::String m_runGroupId;
112 bool m_runGroupIdHasBeenSet = false;
113
114 Aws::String m_startingToken;
115 bool m_startingTokenHasBeenSet = false;
116
117 int m_maxResults;
118 bool m_maxResultsHasBeenSet = false;
119
120 RunStatus m_status;
121 bool m_statusHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Omics
126} // namespace Aws
ListRunsRequest & WithStartingToken(const Aws::String &value)
void SetStartingToken(const char *value)
void SetName(const char *value)
const RunStatus & GetStatus() const
ListRunsRequest & WithRunGroupId(const Aws::String &value)
void SetRunGroupId(Aws::String &&value)
ListRunsRequest & WithMaxResults(int value)
void SetName(Aws::String &&value)
ListRunsRequest & WithRunGroupId(const char *value)
virtual const char * GetServiceRequestName() const override
void SetRunGroupId(const Aws::String &value)
AWS_OMICS_API Aws::String SerializePayload() const override
void SetStartingToken(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::String & GetName() const
void SetStatus(const RunStatus &value)
ListRunsRequest & WithRunGroupId(Aws::String &&value)
void SetStartingToken(const Aws::String &value)
const Aws::String & GetRunGroupId() const
ListRunsRequest & WithStartingToken(const char *value)
ListRunsRequest & WithName(const Aws::String &value)
ListRunsRequest & WithName(Aws::String &&value)
void SetStatus(RunStatus &&value)
const Aws::String & GetStartingToken() const
ListRunsRequest & WithStatus(RunStatus &&value)
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetRunGroupId(const char *value)
ListRunsRequest & WithStatus(const RunStatus &value)
ListRunsRequest & WithName(const char *value)
ListRunsRequest & WithStartingToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String