AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
ListBatchRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/omics/Omics_EXPORTS.h>
10#include <aws/omics/model/BatchStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace Omics {
19namespace Model {
20
24 public:
25 AWS_OMICS_API ListBatchRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListBatch"; }
32
33 AWS_OMICS_API Aws::String SerializePayload() const override;
34
35 AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 inline int GetMaxItems() const { return m_maxItems; }
43 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
44 inline void SetMaxItems(int value) {
45 m_maxItemsHasBeenSet = true;
46 m_maxItems = value;
47 }
48 inline ListBatchRequest& WithMaxItems(int value) {
49 SetMaxItems(value);
50 return *this;
51 }
53
55
58 inline const Aws::String& GetStartingToken() const { return m_startingToken; }
59 inline bool StartingTokenHasBeenSet() const { return m_startingTokenHasBeenSet; }
60 template <typename StartingTokenT = Aws::String>
61 void SetStartingToken(StartingTokenT&& value) {
62 m_startingTokenHasBeenSet = true;
63 m_startingToken = std::forward<StartingTokenT>(value);
64 }
65 template <typename StartingTokenT = Aws::String>
66 ListBatchRequest& WithStartingToken(StartingTokenT&& value) {
67 SetStartingToken(std::forward<StartingTokenT>(value));
68 return *this;
69 }
71
73
76 inline BatchStatus GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(BatchStatus value) {
79 m_statusHasBeenSet = true;
80 m_status = value;
81 }
83 SetStatus(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 template <typename NameT = Aws::String>
95 void SetName(NameT&& value) {
96 m_nameHasBeenSet = true;
97 m_name = std::forward<NameT>(value);
98 }
99 template <typename NameT = Aws::String>
100 ListBatchRequest& WithName(NameT&& value) {
101 SetName(std::forward<NameT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetRunGroupId() const { return m_runGroupId; }
111 inline bool RunGroupIdHasBeenSet() const { return m_runGroupIdHasBeenSet; }
112 template <typename RunGroupIdT = Aws::String>
113 void SetRunGroupId(RunGroupIdT&& value) {
114 m_runGroupIdHasBeenSet = true;
115 m_runGroupId = std::forward<RunGroupIdT>(value);
116 }
117 template <typename RunGroupIdT = Aws::String>
118 ListBatchRequest& WithRunGroupId(RunGroupIdT&& value) {
119 SetRunGroupId(std::forward<RunGroupIdT>(value));
120 return *this;
121 }
123 private:
124 int m_maxItems{0};
125
126 Aws::String m_startingToken;
127
129
130 Aws::String m_name;
131
132 Aws::String m_runGroupId;
133 bool m_maxItemsHasBeenSet = false;
134 bool m_startingTokenHasBeenSet = false;
135 bool m_statusHasBeenSet = false;
136 bool m_nameHasBeenSet = false;
137 bool m_runGroupIdHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace Omics
142} // namespace Aws
const Aws::String & GetRunGroupId() const
ListBatchRequest & WithStatus(BatchStatus value)
virtual const char * GetServiceRequestName() const override
AWS_OMICS_API Aws::String SerializePayload() const override
ListBatchRequest & WithStartingToken(StartingTokenT &&value)
void SetStartingToken(StartingTokenT &&value)
ListBatchRequest & WithMaxItems(int value)
ListBatchRequest & WithRunGroupId(RunGroupIdT &&value)
void SetRunGroupId(RunGroupIdT &&value)
const Aws::String & GetStartingToken() const
const Aws::String & GetName() const
AWS_OMICS_API ListBatchRequest()=default
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListBatchRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String