/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Omics { namespace Model { class GetRunGroupResult { public: AWS_OMICS_API GetRunGroupResult(); AWS_OMICS_API GetRunGroupResult(const Aws::AmazonWebServiceResult& result); AWS_OMICS_API GetRunGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The group's ARN.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The group's ARN.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The group's ARN.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The group's ARN.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The group's ARN.

*/ inline GetRunGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The group's ARN.

*/ inline GetRunGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The group's ARN.

*/ inline GetRunGroupResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The group's ID.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The group's ID.

*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *

The group's ID.

*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *

The group's ID.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The group's ID.

*/ inline GetRunGroupResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The group's ID.

*/ inline GetRunGroupResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The group's ID.

*/ inline GetRunGroupResult& WithId(const char* value) { SetId(value); return *this;} /** *

The group's name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The group's name.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The group's name.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The group's name.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The group's name.

*/ inline GetRunGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The group's name.

*/ inline GetRunGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The group's name.

*/ inline GetRunGroupResult& WithName(const char* value) { SetName(value); return *this;} /** *

The group's maximum number of CPUs to use.

*/ inline int GetMaxCpus() const{ return m_maxCpus; } /** *

The group's maximum number of CPUs to use.

*/ inline void SetMaxCpus(int value) { m_maxCpus = value; } /** *

The group's maximum number of CPUs to use.

*/ inline GetRunGroupResult& WithMaxCpus(int value) { SetMaxCpus(value); return *this;} /** *

The maximum number of concurrent runs for the group.

*/ inline int GetMaxRuns() const{ return m_maxRuns; } /** *

The maximum number of concurrent runs for the group.

*/ inline void SetMaxRuns(int value) { m_maxRuns = value; } /** *

The maximum number of concurrent runs for the group.

*/ inline GetRunGroupResult& WithMaxRuns(int value) { SetMaxRuns(value); return *this;} /** *

The group's maximum run time in minutes.

*/ inline int GetMaxDuration() const{ return m_maxDuration; } /** *

The group's maximum run time in minutes.

*/ inline void SetMaxDuration(int value) { m_maxDuration = value; } /** *

The group's maximum run time in minutes.

*/ inline GetRunGroupResult& WithMaxDuration(int value) { SetMaxDuration(value); return *this;} /** *

When the group was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

When the group was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

When the group was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

When the group was created.

*/ inline GetRunGroupResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the group was created.

*/ inline GetRunGroupResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The group's tags.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The group's tags.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The group's tags.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

The group's tags.

*/ inline GetRunGroupResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The group's tags.

*/ inline GetRunGroupResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The group's tags.

*/ inline GetRunGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The group's tags.

*/ inline GetRunGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The group's tags.

*/ inline GetRunGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The group's tags.

*/ inline GetRunGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The group's tags.

*/ inline GetRunGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The group's tags.

*/ inline GetRunGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The group's tags.

*/ inline GetRunGroupResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

The maximum GPUs that can be used by a run group.

*/ inline int GetMaxGpus() const{ return m_maxGpus; } /** *

The maximum GPUs that can be used by a run group.

*/ inline void SetMaxGpus(int value) { m_maxGpus = value; } /** *

The maximum GPUs that can be used by a run group.

*/ inline GetRunGroupResult& WithMaxGpus(int value) { SetMaxGpus(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetRunGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRunGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRunGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_id; Aws::String m_name; int m_maxCpus; int m_maxRuns; int m_maxDuration; Aws::Utils::DateTime m_creationTime; Aws::Map m_tags; int m_maxGpus; Aws::String m_requestId; }; } // namespace Model } // namespace Omics } // namespace Aws