AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 RunGroupListItem& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetId() const { return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 template<typename IdT = Aws::String>
60 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
61 template<typename IdT = Aws::String>
62 RunGroupListItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 template<typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
73 template<typename NameT = Aws::String>
74 RunGroupListItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
76
78
81 inline int GetMaxCpus() const { return m_maxCpus; }
82 inline bool MaxCpusHasBeenSet() const { return m_maxCpusHasBeenSet; }
83 inline void SetMaxCpus(int value) { m_maxCpusHasBeenSet = true; m_maxCpus = value; }
84 inline RunGroupListItem& WithMaxCpus(int value) { SetMaxCpus(value); return *this;}
86
88
91 inline int GetMaxRuns() const { return m_maxRuns; }
92 inline bool MaxRunsHasBeenSet() const { return m_maxRunsHasBeenSet; }
93 inline void SetMaxRuns(int value) { m_maxRunsHasBeenSet = true; m_maxRuns = value; }
94 inline RunGroupListItem& WithMaxRuns(int value) { SetMaxRuns(value); return *this;}
96
98
101 inline int GetMaxDuration() const { return m_maxDuration; }
102 inline bool MaxDurationHasBeenSet() const { return m_maxDurationHasBeenSet; }
103 inline void SetMaxDuration(int value) { m_maxDurationHasBeenSet = true; m_maxDuration = value; }
104 inline RunGroupListItem& WithMaxDuration(int value) { SetMaxDuration(value); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
112 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
113 template<typename CreationTimeT = Aws::Utils::DateTime>
114 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
115 template<typename CreationTimeT = Aws::Utils::DateTime>
116 RunGroupListItem& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
118
120
123 inline int GetMaxGpus() const { return m_maxGpus; }
124 inline bool MaxGpusHasBeenSet() const { return m_maxGpusHasBeenSet; }
125 inline void SetMaxGpus(int value) { m_maxGpusHasBeenSet = true; m_maxGpus = value; }
126 inline RunGroupListItem& WithMaxGpus(int value) { SetMaxGpus(value); return *this;}
128 private:
129
130 Aws::String m_arn;
131 bool m_arnHasBeenSet = false;
132
133 Aws::String m_id;
134 bool m_idHasBeenSet = false;
135
136 Aws::String m_name;
137 bool m_nameHasBeenSet = false;
138
139 int m_maxCpus{0};
140 bool m_maxCpusHasBeenSet = false;
141
142 int m_maxRuns{0};
143 bool m_maxRunsHasBeenSet = false;
144
145 int m_maxDuration{0};
146 bool m_maxDurationHasBeenSet = false;
147
148 Aws::Utils::DateTime m_creationTime{};
149 bool m_creationTimeHasBeenSet = false;
150
151 int m_maxGpus{0};
152 bool m_maxGpusHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace Omics
157} // namespace Aws
RunGroupListItem & WithMaxGpus(int value)
RunGroupListItem & WithId(IdT &&value)
const Aws::String & GetArn() const
RunGroupListItem & WithArn(ArnT &&value)
const Aws::String & GetName() const
AWS_OMICS_API RunGroupListItem(Aws::Utils::Json::JsonView jsonValue)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
RunGroupListItem & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_OMICS_API RunGroupListItem()=default
AWS_OMICS_API RunGroupListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
RunGroupListItem & WithMaxRuns(int value)
void SetCreationTime(CreationTimeT &&value)
RunGroupListItem & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetId() const
RunGroupListItem & WithMaxDuration(int value)
RunGroupListItem & WithMaxCpus(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue