AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRunGroupRequest.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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Omics
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_OMICS_API CreateRunGroupRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateRunGroup"; }
33
34 AWS_OMICS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetName() const{ return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
44 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
45 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
46 inline CreateRunGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline CreateRunGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline CreateRunGroupRequest& WithName(const char* value) { SetName(value); return *this;}
50
52
56 inline int GetMaxCpus() const{ return m_maxCpus; }
57 inline bool MaxCpusHasBeenSet() const { return m_maxCpusHasBeenSet; }
58 inline void SetMaxCpus(int value) { m_maxCpusHasBeenSet = true; m_maxCpus = value; }
59 inline CreateRunGroupRequest& WithMaxCpus(int value) { SetMaxCpus(value); return *this;}
61
63
66 inline int GetMaxRuns() const{ return m_maxRuns; }
67 inline bool MaxRunsHasBeenSet() const { return m_maxRunsHasBeenSet; }
68 inline void SetMaxRuns(int value) { m_maxRunsHasBeenSet = true; m_maxRuns = value; }
69 inline CreateRunGroupRequest& WithMaxRuns(int value) { SetMaxRuns(value); return *this;}
71
73
77 inline int GetMaxDuration() const{ return m_maxDuration; }
78 inline bool MaxDurationHasBeenSet() const { return m_maxDurationHasBeenSet; }
79 inline void SetMaxDuration(int value) { m_maxDurationHasBeenSet = true; m_maxDuration = value; }
80 inline CreateRunGroupRequest& WithMaxDuration(int value) { SetMaxDuration(value); return *this;}
82
84
87 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
88 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
89 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
90 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
91 inline CreateRunGroupRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
92 inline CreateRunGroupRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
93 inline CreateRunGroupRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
94 inline CreateRunGroupRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
95 inline CreateRunGroupRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
96 inline CreateRunGroupRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
97 inline CreateRunGroupRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
98 inline CreateRunGroupRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
99 inline CreateRunGroupRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
101
103
107 inline const Aws::String& GetRequestId() const{ return m_requestId; }
108 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
109 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
110 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
111 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
112 inline CreateRunGroupRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
113 inline CreateRunGroupRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
114 inline CreateRunGroupRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
116
118
122 inline int GetMaxGpus() const{ return m_maxGpus; }
123 inline bool MaxGpusHasBeenSet() const { return m_maxGpusHasBeenSet; }
124 inline void SetMaxGpus(int value) { m_maxGpusHasBeenSet = true; m_maxGpus = value; }
125 inline CreateRunGroupRequest& WithMaxGpus(int value) { SetMaxGpus(value); return *this;}
127 private:
128
129 Aws::String m_name;
130 bool m_nameHasBeenSet = false;
131
132 int m_maxCpus;
133 bool m_maxCpusHasBeenSet = false;
134
135 int m_maxRuns;
136 bool m_maxRunsHasBeenSet = false;
137
138 int m_maxDuration;
139 bool m_maxDurationHasBeenSet = false;
140
142 bool m_tagsHasBeenSet = false;
143
144 Aws::String m_requestId;
145 bool m_requestIdHasBeenSet = false;
146
147 int m_maxGpus;
148 bool m_maxGpusHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace Omics
153} // namespace Aws
CreateRunGroupRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateRunGroupRequest & WithRequestId(Aws::String &&value)
CreateRunGroupRequest & AddTags(const char *key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateRunGroupRequest & AddTags(const char *key, const char *value)
CreateRunGroupRequest & WithMaxCpus(int value)
CreateRunGroupRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateRunGroupRequest & AddTags(Aws::String &&key, const char *value)
AWS_OMICS_API Aws::String SerializePayload() const override
CreateRunGroupRequest & WithMaxGpus(int value)
CreateRunGroupRequest & WithMaxDuration(int value)
CreateRunGroupRequest & WithName(const char *value)
CreateRunGroupRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetRequestId(const Aws::String &value)
CreateRunGroupRequest & WithRequestId(const char *value)
CreateRunGroupRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateRunGroupRequest & WithName(Aws::String &&value)
CreateRunGroupRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateRunGroupRequest & WithRequestId(const Aws::String &value)
CreateRunGroupRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRunGroupRequest & WithName(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRunGroupRequest & WithMaxRuns(int value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String