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

A workflow.

See Also:

AWS * API Reference

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

The workflow's ARN.

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

The workflow's ARN.

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

The workflow's ARN.

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

The workflow's ARN.

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

The workflow's ARN.

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

The workflow's ARN.

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

The workflow's ARN.

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

The workflow's ARN.

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

The workflow's ID.

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

The workflow's ID.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's name.

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

The workflow's name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The workflow's name.

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

The workflow's name.

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

The workflow's name.

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

The workflow's name.

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

The workflow's name.

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

The workflow's name.

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

The workflow's status.

*/ inline const WorkflowStatus& GetStatus() const{ return m_status; } /** *

The workflow's status.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The workflow's status.

*/ inline void SetStatus(const WorkflowStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The workflow's status.

*/ inline void SetStatus(WorkflowStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The workflow's status.

*/ inline WorkflowListItem& WithStatus(const WorkflowStatus& value) { SetStatus(value); return *this;} /** *

The workflow's status.

*/ inline WorkflowListItem& WithStatus(WorkflowStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The workflow's type.

*/ inline const WorkflowType& GetType() const{ return m_type; } /** *

The workflow's type.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The workflow's type.

*/ inline void SetType(const WorkflowType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The workflow's type.

*/ inline void SetType(WorkflowType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The workflow's type.

*/ inline WorkflowListItem& WithType(const WorkflowType& value) { SetType(value); return *this;} /** *

The workflow's type.

*/ inline WorkflowListItem& WithType(WorkflowType&& value) { SetType(std::move(value)); return *this;} /** *

The workflow's digest.

*/ inline const Aws::String& GetDigest() const{ return m_digest; } /** *

The workflow's digest.

*/ inline bool DigestHasBeenSet() const { return m_digestHasBeenSet; } /** *

The workflow's digest.

*/ inline void SetDigest(const Aws::String& value) { m_digestHasBeenSet = true; m_digest = value; } /** *

The workflow's digest.

*/ inline void SetDigest(Aws::String&& value) { m_digestHasBeenSet = true; m_digest = std::move(value); } /** *

The workflow's digest.

*/ inline void SetDigest(const char* value) { m_digestHasBeenSet = true; m_digest.assign(value); } /** *

The workflow's digest.

*/ inline WorkflowListItem& WithDigest(const Aws::String& value) { SetDigest(value); return *this;} /** *

The workflow's digest.

*/ inline WorkflowListItem& WithDigest(Aws::String&& value) { SetDigest(std::move(value)); return *this;} /** *

The workflow's digest.

*/ inline WorkflowListItem& WithDigest(const char* value) { SetDigest(value); return *this;} /** *

When the workflow was created.

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

When the workflow was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

When the workflow was created.

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

When the workflow was created.

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

When the workflow was created.

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

When the workflow was created.

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

Any metadata available for workflow. The information listed may vary * depending on the workflow, and there may also be no metadata to return.

*/ inline const Aws::Map& GetMetadata() const{ return m_metadata; } /** *

Any metadata available for workflow. The information listed may vary * depending on the workflow, and there may also be no metadata to return.

*/ inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } /** *

Any metadata available for workflow. The information listed may vary * depending on the workflow, and there may also be no metadata to return.

*/ inline void SetMetadata(const Aws::Map& value) { m_metadataHasBeenSet = true; m_metadata = value; } /** *

Any metadata available for workflow. The information listed may vary * depending on the workflow, and there may also be no metadata to return.

*/ inline void SetMetadata(Aws::Map&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); } /** *

Any metadata available for workflow. The information listed may vary * depending on the workflow, and there may also be no metadata to return.

*/ inline WorkflowListItem& WithMetadata(const Aws::Map& value) { SetMetadata(value); return *this;} /** *

Any metadata available for workflow. The information listed may vary * depending on the workflow, and there may also be no metadata to return.

*/ inline WorkflowListItem& WithMetadata(Aws::Map&& value) { SetMetadata(std::move(value)); return *this;} /** *

Any metadata available for workflow. The information listed may vary * depending on the workflow, and there may also be no metadata to return.

*/ inline WorkflowListItem& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; } /** *

Any metadata available for workflow. The information listed may vary * depending on the workflow, and there may also be no metadata to return.

*/ inline WorkflowListItem& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; } /** *

Any metadata available for workflow. The information listed may vary * depending on the workflow, and there may also be no metadata to return.

*/ inline WorkflowListItem& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; } /** *

Any metadata available for workflow. The information listed may vary * depending on the workflow, and there may also be no metadata to return.

*/ inline WorkflowListItem& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; } /** *

Any metadata available for workflow. The information listed may vary * depending on the workflow, and there may also be no metadata to return.

*/ inline WorkflowListItem& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; } /** *

Any metadata available for workflow. The information listed may vary * depending on the workflow, and there may also be no metadata to return.

*/ inline WorkflowListItem& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; } /** *

Any metadata available for workflow. The information listed may vary * depending on the workflow, and there may also be no metadata to return.

*/ inline WorkflowListItem& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, 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; WorkflowStatus m_status; bool m_statusHasBeenSet = false; WorkflowType m_type; bool m_typeHasBeenSet = false; Aws::String m_digest; bool m_digestHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Map m_metadata; bool m_metadataHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws