AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GetRunGroupResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/Omics_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Omics {
24namespace Model {
26 public:
27 AWS_OMICS_API GetRunGroupResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
42 GetRunGroupResult& WithArn(ArnT&& value) {
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 template <typename IdT = Aws::String>
54 void SetId(IdT&& value) {
55 m_idHasBeenSet = true;
56 m_id = std::forward<IdT>(value);
57 }
58 template <typename IdT = Aws::String>
59 GetRunGroupResult& WithId(IdT&& value) {
60 SetId(std::forward<IdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 template <typename NameT = Aws::String>
71 void SetName(NameT&& value) {
72 m_nameHasBeenSet = true;
73 m_name = std::forward<NameT>(value);
74 }
75 template <typename NameT = Aws::String>
76 GetRunGroupResult& WithName(NameT&& value) {
77 SetName(std::forward<NameT>(value));
78 return *this;
79 }
81
83
86 inline int GetMaxCpus() const { return m_maxCpus; }
87 inline void SetMaxCpus(int value) {
88 m_maxCpusHasBeenSet = true;
89 m_maxCpus = value;
90 }
91 inline GetRunGroupResult& WithMaxCpus(int value) {
92 SetMaxCpus(value);
93 return *this;
94 }
96
98
101 inline int GetMaxRuns() const { return m_maxRuns; }
102 inline void SetMaxRuns(int value) {
103 m_maxRunsHasBeenSet = true;
104 m_maxRuns = value;
105 }
106 inline GetRunGroupResult& WithMaxRuns(int value) {
107 SetMaxRuns(value);
108 return *this;
109 }
111
113
116 inline int GetMaxDuration() const { return m_maxDuration; }
117 inline void SetMaxDuration(int value) {
118 m_maxDurationHasBeenSet = true;
119 m_maxDuration = value;
120 }
122 SetMaxDuration(value);
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
132 template <typename CreationTimeT = Aws::Utils::DateTime>
133 void SetCreationTime(CreationTimeT&& value) {
134 m_creationTimeHasBeenSet = true;
135 m_creationTime = std::forward<CreationTimeT>(value);
136 }
137 template <typename CreationTimeT = Aws::Utils::DateTime>
138 GetRunGroupResult& WithCreationTime(CreationTimeT&& value) {
139 SetCreationTime(std::forward<CreationTimeT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
149 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
150 void SetTags(TagsT&& value) {
151 m_tagsHasBeenSet = true;
152 m_tags = std::forward<TagsT>(value);
153 }
154 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
155 GetRunGroupResult& WithTags(TagsT&& value) {
156 SetTags(std::forward<TagsT>(value));
157 return *this;
158 }
159 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
160 GetRunGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
161 m_tagsHasBeenSet = true;
162 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
163 return *this;
164 }
166
168
171 inline int GetMaxGpus() const { return m_maxGpus; }
172 inline void SetMaxGpus(int value) {
173 m_maxGpusHasBeenSet = true;
174 m_maxGpus = value;
175 }
176 inline GetRunGroupResult& WithMaxGpus(int value) {
177 SetMaxGpus(value);
178 return *this;
179 }
181
183
184 inline const Aws::String& GetRequestId() const { return m_requestId; }
185 template <typename RequestIdT = Aws::String>
186 void SetRequestId(RequestIdT&& value) {
187 m_requestIdHasBeenSet = true;
188 m_requestId = std::forward<RequestIdT>(value);
189 }
190 template <typename RequestIdT = Aws::String>
191 GetRunGroupResult& WithRequestId(RequestIdT&& value) {
192 SetRequestId(std::forward<RequestIdT>(value));
193 return *this;
194 }
196 private:
197 Aws::String m_arn;
198
199 Aws::String m_id;
200
201 Aws::String m_name;
202
203 int m_maxCpus{0};
204
205 int m_maxRuns{0};
206
207 int m_maxDuration{0};
208
209 Aws::Utils::DateTime m_creationTime{};
210
212
213 int m_maxGpus{0};
214
215 Aws::String m_requestId;
216 bool m_arnHasBeenSet = false;
217 bool m_idHasBeenSet = false;
218 bool m_nameHasBeenSet = false;
219 bool m_maxCpusHasBeenSet = false;
220 bool m_maxRunsHasBeenSet = false;
221 bool m_maxDurationHasBeenSet = false;
222 bool m_creationTimeHasBeenSet = false;
223 bool m_tagsHasBeenSet = false;
224 bool m_maxGpusHasBeenSet = false;
225 bool m_requestIdHasBeenSet = false;
226};
227
228} // namespace Model
229} // namespace Omics
230} // namespace Aws
const Aws::String & GetName() const
GetRunGroupResult & WithName(NameT &&value)
const Aws::String & GetRequestId() const
AWS_OMICS_API GetRunGroupResult()=default
GetRunGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetRunGroupResult & WithMaxCpus(int value)
GetRunGroupResult & WithMaxRuns(int value)
GetRunGroupResult & WithCreationTime(CreationTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetRunGroupResult & WithId(IdT &&value)
GetRunGroupResult & WithArn(ArnT &&value)
GetRunGroupResult & WithRequestId(RequestIdT &&value)
GetRunGroupResult & WithMaxGpus(int value)
GetRunGroupResult & WithMaxDuration(int value)
AWS_OMICS_API GetRunGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRunGroupResult & WithTags(TagsT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetId() const
AWS_OMICS_API GetRunGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetArn() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue