/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Omics { namespace Model { /** *

A run group.

See Also:

AWS * API Reference

*/ class RunGroupListItem { public: AWS_OMICS_API RunGroupListItem(); AWS_OMICS_API RunGroupListItem(Aws::Utils::Json::JsonView jsonValue); AWS_OMICS_API RunGroupListItem& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The group's ARN.

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

The group's ARN.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The group's ARN.

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

The group's ARN.

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

The group's ARN.

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

The group's ARN.

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

The group's ARN.

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

The group's ARN.

*/ inline RunGroupListItem& 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 bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The group's ID.

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

The group's ID.

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

The group's ID.

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

The group's ID.

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

The group's ID.

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

The group's ID.

*/ inline RunGroupListItem& 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 bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The group's name.

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

The group's name.

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

The group's name.

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

The group's name.

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

The group's name.

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

The group's name.

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

The group's maximum CPU count setting.

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

The group's maximum CPU count setting.

*/ inline bool MaxCpusHasBeenSet() const { return m_maxCpusHasBeenSet; } /** *

The group's maximum CPU count setting.

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

The group's maximum CPU count setting.

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

The group's maximum concurrent run setting.

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

The group's maximum concurrent run setting.

*/ inline bool MaxRunsHasBeenSet() const { return m_maxRunsHasBeenSet; } /** *

The group's maximum concurrent run setting.

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

The group's maximum concurrent run setting.

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

The group's maximum duration setting in minutes.

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

The group's maximum duration setting in minutes.

*/ inline bool MaxDurationHasBeenSet() const { return m_maxDurationHasBeenSet; } /** *

The group's maximum duration setting in minutes.

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

The group's maximum duration setting in minutes.

*/ inline RunGroupListItem& 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 bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

When the group was created.

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

When the group was created.

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

When the group was created.

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

When the group was created.

*/ inline RunGroupListItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(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 bool MaxGpusHasBeenSet() const { return m_maxGpusHasBeenSet; } /** *

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

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

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

*/ inline RunGroupListItem& WithMaxGpus(int value) { SetMaxGpus(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; int m_maxCpus; bool m_maxCpusHasBeenSet = false; int m_maxRuns; bool m_maxRunsHasBeenSet = false; int m_maxDuration; bool m_maxDurationHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; int m_maxGpus; bool m_maxGpusHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws