AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UpdateRunGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/omics/Omics_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Omics {
15namespace Model {
16
20 public:
21 AWS_OMICS_API UpdateRunGroupRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateRunGroup"; }
28
29 AWS_OMICS_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetId() const { return m_id; }
36 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
37 template <typename IdT = Aws::String>
38 void SetId(IdT&& value) {
39 m_idHasBeenSet = true;
40 m_id = std::forward<IdT>(value);
41 }
42 template <typename IdT = Aws::String>
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
71 inline int GetMaxCpus() const { return m_maxCpus; }
72 inline bool MaxCpusHasBeenSet() const { return m_maxCpusHasBeenSet; }
73 inline void SetMaxCpus(int value) {
74 m_maxCpusHasBeenSet = true;
75 m_maxCpus = value;
76 }
78 SetMaxCpus(value);
79 return *this;
80 }
82
84
87 inline int GetMaxRuns() const { return m_maxRuns; }
88 inline bool MaxRunsHasBeenSet() const { return m_maxRunsHasBeenSet; }
89 inline void SetMaxRuns(int value) {
90 m_maxRunsHasBeenSet = true;
91 m_maxRuns = value;
92 }
94 SetMaxRuns(value);
95 return *this;
96 }
98
100
103 inline int GetMaxDuration() const { return m_maxDuration; }
104 inline bool MaxDurationHasBeenSet() const { return m_maxDurationHasBeenSet; }
105 inline void SetMaxDuration(int value) {
106 m_maxDurationHasBeenSet = true;
107 m_maxDuration = value;
108 }
110 SetMaxDuration(value);
111 return *this;
112 }
114
116
119 inline int GetMaxGpus() const { return m_maxGpus; }
120 inline bool MaxGpusHasBeenSet() const { return m_maxGpusHasBeenSet; }
121 inline void SetMaxGpus(int value) {
122 m_maxGpusHasBeenSet = true;
123 m_maxGpus = value;
124 }
126 SetMaxGpus(value);
127 return *this;
128 }
130 private:
131 Aws::String m_id;
132
133 Aws::String m_name;
134
135 int m_maxCpus{0};
136
137 int m_maxRuns{0};
138
139 int m_maxDuration{0};
140
141 int m_maxGpus{0};
142 bool m_idHasBeenSet = false;
143 bool m_nameHasBeenSet = false;
144 bool m_maxCpusHasBeenSet = false;
145 bool m_maxRunsHasBeenSet = false;
146 bool m_maxDurationHasBeenSet = false;
147 bool m_maxGpusHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace Omics
152} // namespace Aws
UpdateRunGroupRequest & WithMaxDuration(int value)
UpdateRunGroupRequest & WithMaxCpus(int value)
UpdateRunGroupRequest & WithMaxRuns(int value)
AWS_OMICS_API UpdateRunGroupRequest()=default
UpdateRunGroupRequest & WithId(IdT &&value)
virtual const char * GetServiceRequestName() const override
UpdateRunGroupRequest & WithName(NameT &&value)
UpdateRunGroupRequest & WithMaxGpus(int value)
AWS_OMICS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String