AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
42 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
43 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
44 inline UpdateRunGroupRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
45 inline UpdateRunGroupRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
46 inline UpdateRunGroupRequest& WithId(const char* value) { SetId(value); return *this;}
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
57 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
58 inline UpdateRunGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline UpdateRunGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline UpdateRunGroupRequest& WithName(const char* value) { SetName(value); return *this;}
62
64
67 inline int GetMaxCpus() const{ return m_maxCpus; }
68 inline bool MaxCpusHasBeenSet() const { return m_maxCpusHasBeenSet; }
69 inline void SetMaxCpus(int value) { m_maxCpusHasBeenSet = true; m_maxCpus = value; }
70 inline UpdateRunGroupRequest& WithMaxCpus(int value) { SetMaxCpus(value); return *this;}
72
74
77 inline int GetMaxRuns() const{ return m_maxRuns; }
78 inline bool MaxRunsHasBeenSet() const { return m_maxRunsHasBeenSet; }
79 inline void SetMaxRuns(int value) { m_maxRunsHasBeenSet = true; m_maxRuns = value; }
80 inline UpdateRunGroupRequest& WithMaxRuns(int value) { SetMaxRuns(value); return *this;}
82
84
87 inline int GetMaxDuration() const{ return m_maxDuration; }
88 inline bool MaxDurationHasBeenSet() const { return m_maxDurationHasBeenSet; }
89 inline void SetMaxDuration(int value) { m_maxDurationHasBeenSet = true; m_maxDuration = value; }
90 inline UpdateRunGroupRequest& WithMaxDuration(int value) { SetMaxDuration(value); return *this;}
92
94
97 inline int GetMaxGpus() const{ return m_maxGpus; }
98 inline bool MaxGpusHasBeenSet() const { return m_maxGpusHasBeenSet; }
99 inline void SetMaxGpus(int value) { m_maxGpusHasBeenSet = true; m_maxGpus = value; }
100 inline UpdateRunGroupRequest& WithMaxGpus(int value) { SetMaxGpus(value); return *this;}
102 private:
103
104 Aws::String m_id;
105 bool m_idHasBeenSet = false;
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
110 int m_maxCpus;
111 bool m_maxCpusHasBeenSet = false;
112
113 int m_maxRuns;
114 bool m_maxRunsHasBeenSet = false;
115
116 int m_maxDuration;
117 bool m_maxDurationHasBeenSet = false;
118
119 int m_maxGpus;
120 bool m_maxGpusHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Omics
125} // namespace Aws
UpdateRunGroupRequest & WithMaxDuration(int value)
UpdateRunGroupRequest & WithMaxCpus(int value)
UpdateRunGroupRequest & WithMaxRuns(int value)
UpdateRunGroupRequest & WithName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateRunGroupRequest & WithName(const char *value)
UpdateRunGroupRequest & WithMaxGpus(int value)
UpdateRunGroupRequest & WithId(const Aws::String &value)
UpdateRunGroupRequest & WithId(Aws::String &&value)
UpdateRunGroupRequest & WithName(Aws::String &&value)
UpdateRunGroupRequest & WithId(const char *value)
AWS_OMICS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String