AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RunGroupListItem.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Omics
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_OMICS_API RunGroupListItem();
38 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline RunGroupListItem& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline RunGroupListItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline RunGroupListItem& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetId() const{ return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
62 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
63 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 inline RunGroupListItem& WithId(const Aws::String& value) { SetId(value); return *this;}
65 inline RunGroupListItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
66 inline RunGroupListItem& WithId(const char* value) { SetId(value); return *this;}
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline RunGroupListItem& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline RunGroupListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline RunGroupListItem& WithName(const char* value) { SetName(value); return *this;}
82
84
87 inline int GetMaxCpus() const{ return m_maxCpus; }
88 inline bool MaxCpusHasBeenSet() const { return m_maxCpusHasBeenSet; }
89 inline void SetMaxCpus(int value) { m_maxCpusHasBeenSet = true; m_maxCpus = value; }
90 inline RunGroupListItem& WithMaxCpus(int value) { SetMaxCpus(value); return *this;}
92
94
97 inline int GetMaxRuns() const{ return m_maxRuns; }
98 inline bool MaxRunsHasBeenSet() const { return m_maxRunsHasBeenSet; }
99 inline void SetMaxRuns(int value) { m_maxRunsHasBeenSet = true; m_maxRuns = value; }
100 inline RunGroupListItem& WithMaxRuns(int value) { SetMaxRuns(value); return *this;}
102
104
107 inline int GetMaxDuration() const{ return m_maxDuration; }
108 inline bool MaxDurationHasBeenSet() const { return m_maxDurationHasBeenSet; }
109 inline void SetMaxDuration(int value) { m_maxDurationHasBeenSet = true; m_maxDuration = value; }
110 inline RunGroupListItem& WithMaxDuration(int value) { SetMaxDuration(value); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
118 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
119 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
120 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
121 inline RunGroupListItem& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
122 inline RunGroupListItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
124
126
129 inline int GetMaxGpus() const{ return m_maxGpus; }
130 inline bool MaxGpusHasBeenSet() const { return m_maxGpusHasBeenSet; }
131 inline void SetMaxGpus(int value) { m_maxGpusHasBeenSet = true; m_maxGpus = value; }
132 inline RunGroupListItem& WithMaxGpus(int value) { SetMaxGpus(value); return *this;}
134 private:
135
136 Aws::String m_arn;
137 bool m_arnHasBeenSet = false;
138
139 Aws::String m_id;
140 bool m_idHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 int m_maxCpus;
146 bool m_maxCpusHasBeenSet = false;
147
148 int m_maxRuns;
149 bool m_maxRunsHasBeenSet = false;
150
151 int m_maxDuration;
152 bool m_maxDurationHasBeenSet = false;
153
154 Aws::Utils::DateTime m_creationTime;
155 bool m_creationTimeHasBeenSet = false;
156
157 int m_maxGpus;
158 bool m_maxGpusHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Omics
163} // namespace Aws
RunGroupListItem & WithName(const Aws::String &value)
RunGroupListItem & WithName(Aws::String &&value)
RunGroupListItem & WithMaxGpus(int value)
const Aws::String & GetArn() const
RunGroupListItem & WithName(const char *value)
RunGroupListItem & WithArn(Aws::String &&value)
const Aws::String & GetName() const
AWS_OMICS_API RunGroupListItem(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
RunGroupListItem & WithId(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetName(const Aws::String &value)
void SetArn(const Aws::String &value)
RunGroupListItem & WithId(const Aws::String &value)
void SetArn(Aws::String &&value)
RunGroupListItem & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_OMICS_API RunGroupListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
RunGroupListItem & WithId(Aws::String &&value)
RunGroupListItem & WithCreationTime(const Aws::Utils::DateTime &value)
RunGroupListItem & WithMaxRuns(int value)
RunGroupListItem & WithArn(const Aws::String &value)
void SetId(Aws::String &&value)
const Aws::String & GetId() const
RunGroupListItem & WithMaxDuration(int value)
void SetCreationTime(const Aws::Utils::DateTime &value)
RunGroupListItem & WithMaxCpus(int value)
void SetId(const Aws::String &value)
RunGroupListItem & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue