AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetRunGroupResult.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Omics
26{
27namespace Model
28{
30 {
31 public:
32 AWS_OMICS_API GetRunGroupResult() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 GetRunGroupResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 template<typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
55 template<typename IdT = Aws::String>
56 GetRunGroupResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetName() const { return m_name; }
64 template<typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
66 template<typename NameT = Aws::String>
67 GetRunGroupResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
69
71
74 inline int GetMaxCpus() const { return m_maxCpus; }
75 inline void SetMaxCpus(int value) { m_maxCpusHasBeenSet = true; m_maxCpus = value; }
76 inline GetRunGroupResult& WithMaxCpus(int value) { SetMaxCpus(value); return *this;}
78
80
83 inline int GetMaxRuns() const { return m_maxRuns; }
84 inline void SetMaxRuns(int value) { m_maxRunsHasBeenSet = true; m_maxRuns = value; }
85 inline GetRunGroupResult& WithMaxRuns(int value) { SetMaxRuns(value); return *this;}
87
89
92 inline int GetMaxDuration() const { return m_maxDuration; }
93 inline void SetMaxDuration(int value) { m_maxDurationHasBeenSet = true; m_maxDuration = value; }
94 inline GetRunGroupResult& WithMaxDuration(int value) { SetMaxDuration(value); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
102 template<typename CreationTimeT = Aws::Utils::DateTime>
103 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
104 template<typename CreationTimeT = Aws::Utils::DateTime>
105 GetRunGroupResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
107
109
112 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
113 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
115 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
116 GetRunGroupResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
117 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
118 GetRunGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
119 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
120 }
122
124
127 inline int GetMaxGpus() const { return m_maxGpus; }
128 inline void SetMaxGpus(int value) { m_maxGpusHasBeenSet = true; m_maxGpus = value; }
129 inline GetRunGroupResult& WithMaxGpus(int value) { SetMaxGpus(value); return *this;}
131
133
134 inline const Aws::String& GetRequestId() const { return m_requestId; }
135 template<typename RequestIdT = Aws::String>
136 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
137 template<typename RequestIdT = Aws::String>
138 GetRunGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
140 private:
141
142 Aws::String m_arn;
143 bool m_arnHasBeenSet = false;
144
145 Aws::String m_id;
146 bool m_idHasBeenSet = false;
147
148 Aws::String m_name;
149 bool m_nameHasBeenSet = false;
150
151 int m_maxCpus{0};
152 bool m_maxCpusHasBeenSet = false;
153
154 int m_maxRuns{0};
155 bool m_maxRunsHasBeenSet = false;
156
157 int m_maxDuration{0};
158 bool m_maxDurationHasBeenSet = false;
159
160 Aws::Utils::DateTime m_creationTime{};
161 bool m_creationTimeHasBeenSet = false;
162
164 bool m_tagsHasBeenSet = false;
165
166 int m_maxGpus{0};
167 bool m_maxGpusHasBeenSet = false;
168
169 Aws::String m_requestId;
170 bool m_requestIdHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace Omics
175} // 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