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>
12#include <aws/core/utils/UUID.h>
43 template<
typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
45 template<
typename NameT = Aws::String>
56 inline void SetMaxCpus(
int value) { m_maxCpusHasBeenSet =
true; m_maxCpus = value; }
66 inline void SetMaxRuns(
int value) { m_maxRunsHasBeenSet =
true; m_maxRuns = value; }
77 inline void SetMaxDuration(
int value) { m_maxDurationHasBeenSet =
true; m_maxDuration = value; }
87 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
88 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
89 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
91 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
93 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
104 template<
typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
106 template<
typename RequestIdT = Aws::String>
117 inline void SetMaxGpus(
int value) { m_maxGpusHasBeenSet =
true; m_maxGpus = value; }
123 bool m_nameHasBeenSet =
false;
126 bool m_maxCpusHasBeenSet =
false;
129 bool m_maxRunsHasBeenSet =
false;
131 int m_maxDuration{0};
132 bool m_maxDurationHasBeenSet =
false;
135 bool m_tagsHasBeenSet =
false;
138 bool m_requestIdHasBeenSet =
true;
141 bool m_maxGpusHasBeenSet =
false;
const Aws::String & GetName() const
bool MaxCpusHasBeenSet() const
bool NameHasBeenSet() const
CreateRunGroupRequest & WithRequestId(RequestIdT &&value)
bool MaxGpusHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_OMICS_API CreateRunGroupRequest()=default
bool MaxRunsHasBeenSet() const
CreateRunGroupRequest & WithMaxCpus(int value)
CreateRunGroupRequest & WithTags(TagsT &&value)
void SetMaxRuns(int value)
CreateRunGroupRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetRequestId() const
void SetMaxDuration(int value)
AWS_OMICS_API Aws::String SerializePayload() const override
CreateRunGroupRequest & WithMaxGpus(int value)
CreateRunGroupRequest & WithMaxDuration(int value)
void SetName(NameT &&value)
int GetMaxDuration() const
void SetRequestId(RequestIdT &&value)
bool RequestIdHasBeenSet() const
bool TagsHasBeenSet() const
bool MaxDurationHasBeenSet() const
CreateRunGroupRequest & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetMaxGpus(int value)
void SetMaxCpus(int value)
CreateRunGroupRequest & WithMaxRuns(int value)
static Aws::Utils::UUID PseudoRandomUUID()
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