AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateRunGroupRequest.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Omics
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_OMICS_API UpdateRunGroupRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateRunGroup"; }
31
32 AWS_OMICS_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template<typename IdT = Aws::String>
42 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
43 template<typename IdT = Aws::String>
44 UpdateRunGroupRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 UpdateRunGroupRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
63 inline int GetMaxCpus() const { return m_maxCpus; }
64 inline bool MaxCpusHasBeenSet() const { return m_maxCpusHasBeenSet; }
65 inline void SetMaxCpus(int value) { m_maxCpusHasBeenSet = true; m_maxCpus = value; }
66 inline UpdateRunGroupRequest& WithMaxCpus(int value) { SetMaxCpus(value); return *this;}
68
70
73 inline int GetMaxRuns() const { return m_maxRuns; }
74 inline bool MaxRunsHasBeenSet() const { return m_maxRunsHasBeenSet; }
75 inline void SetMaxRuns(int value) { m_maxRunsHasBeenSet = true; m_maxRuns = value; }
76 inline UpdateRunGroupRequest& WithMaxRuns(int value) { SetMaxRuns(value); return *this;}
78
80
83 inline int GetMaxDuration() const { return m_maxDuration; }
84 inline bool MaxDurationHasBeenSet() const { return m_maxDurationHasBeenSet; }
85 inline void SetMaxDuration(int value) { m_maxDurationHasBeenSet = true; m_maxDuration = value; }
86 inline UpdateRunGroupRequest& WithMaxDuration(int value) { SetMaxDuration(value); return *this;}
88
90
93 inline int GetMaxGpus() const { return m_maxGpus; }
94 inline bool MaxGpusHasBeenSet() const { return m_maxGpusHasBeenSet; }
95 inline void SetMaxGpus(int value) { m_maxGpusHasBeenSet = true; m_maxGpus = value; }
96 inline UpdateRunGroupRequest& WithMaxGpus(int value) { SetMaxGpus(value); return *this;}
98 private:
99
100 Aws::String m_id;
101 bool m_idHasBeenSet = false;
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 int m_maxCpus{0};
107 bool m_maxCpusHasBeenSet = false;
108
109 int m_maxRuns{0};
110 bool m_maxRunsHasBeenSet = false;
111
112 int m_maxDuration{0};
113 bool m_maxDurationHasBeenSet = false;
114
115 int m_maxGpus{0};
116 bool m_maxGpusHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Omics
121} // 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