AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline GetRunGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline GetRunGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline GetRunGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::String& GetId() const{ return m_id; }
55 inline void SetId(const Aws::String& value) { m_id = value; }
56 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
57 inline void SetId(const char* value) { m_id.assign(value); }
58 inline GetRunGroupResult& WithId(const Aws::String& value) { SetId(value); return *this;}
59 inline GetRunGroupResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
60 inline GetRunGroupResult& WithId(const char* value) { SetId(value); return *this;}
62
64
67 inline const Aws::String& GetName() const{ return m_name; }
68 inline void SetName(const Aws::String& value) { m_name = value; }
69 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
70 inline void SetName(const char* value) { m_name.assign(value); }
71 inline GetRunGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;}
72 inline GetRunGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 inline GetRunGroupResult& WithName(const char* value) { SetName(value); return *this;}
75
77
80 inline int GetMaxCpus() const{ return m_maxCpus; }
81 inline void SetMaxCpus(int value) { m_maxCpus = value; }
82 inline GetRunGroupResult& WithMaxCpus(int value) { SetMaxCpus(value); return *this;}
84
86
89 inline int GetMaxRuns() const{ return m_maxRuns; }
90 inline void SetMaxRuns(int value) { m_maxRuns = value; }
91 inline GetRunGroupResult& WithMaxRuns(int value) { SetMaxRuns(value); return *this;}
93
95
98 inline int GetMaxDuration() const{ return m_maxDuration; }
99 inline void SetMaxDuration(int value) { m_maxDuration = value; }
100 inline GetRunGroupResult& WithMaxDuration(int value) { SetMaxDuration(value); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
108 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
109 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
110 inline GetRunGroupResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
111 inline GetRunGroupResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
113
115
118 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
119 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
120 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
121 inline GetRunGroupResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
122 inline GetRunGroupResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
123 inline GetRunGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
124 inline GetRunGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
125 inline GetRunGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
126 inline GetRunGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
127 inline GetRunGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
128 inline GetRunGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
129 inline GetRunGroupResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
131
133
136 inline int GetMaxGpus() const{ return m_maxGpus; }
137 inline void SetMaxGpus(int value) { m_maxGpus = value; }
138 inline GetRunGroupResult& WithMaxGpus(int value) { SetMaxGpus(value); return *this;}
140
142
143 inline const Aws::String& GetRequestId() const{ return m_requestId; }
144 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
145 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
146 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
147 inline GetRunGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
148 inline GetRunGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
149 inline GetRunGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
151 private:
152
153 Aws::String m_arn;
154
155 Aws::String m_id;
156
157 Aws::String m_name;
158
159 int m_maxCpus;
160
161 int m_maxRuns;
162
163 int m_maxDuration;
164
165 Aws::Utils::DateTime m_creationTime;
166
168
169 int m_maxGpus;
170
171 Aws::String m_requestId;
172 };
173
174} // namespace Model
175} // namespace Omics
176} // namespace Aws
const Aws::String & GetName() const
void SetRequestId(Aws::String &&value)
GetRunGroupResult & WithName(const char *value)
GetRunGroupResult & AddTags(const char *key, Aws::String &&value)
GetRunGroupResult & WithName(const Aws::String &value)
GetRunGroupResult & AddTags(const char *key, const char *value)
void SetName(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetArn(const Aws::String &value)
GetRunGroupResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
GetRunGroupResult & WithArn(const Aws::String &value)
GetRunGroupResult & WithId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
GetRunGroupResult & WithMaxCpus(int value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetRunGroupResult & WithId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetRunGroupResult & WithMaxRuns(int value)
GetRunGroupResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetRunGroupResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetRunGroupResult & WithName(Aws::String &&value)
GetRunGroupResult & WithArn(const char *value)
GetRunGroupResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetRunGroupResult & WithRequestId(const Aws::String &value)
GetRunGroupResult & AddTags(Aws::String &&key, const char *value)
GetRunGroupResult & WithMaxGpus(int value)
GetRunGroupResult & WithMaxDuration(int value)
GetRunGroupResult & AddTags(Aws::String &&key, Aws::String &&value)
GetRunGroupResult & AddTags(const Aws::String &key, const Aws::String &value)
AWS_OMICS_API GetRunGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRunGroupResult & WithId(const Aws::String &value)
void SetId(const Aws::String &value)
GetRunGroupResult & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetId() const
GetRunGroupResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_OMICS_API GetRunGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRunGroupResult & WithRequestId(const char *value)
GetRunGroupResult & WithArn(Aws::String &&value)
GetRunGroupResult & WithRequestId(Aws::String &&value)
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