/** * 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 StartRunResult { public: AWS_OMICS_API StartRunResult(); AWS_OMICS_API StartRunResult(const Aws::AmazonWebServiceResult& result); AWS_OMICS_API StartRunResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The run's ARN.

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

The run's ARN.

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

The run's ARN.

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

The run's ARN.

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

The run's ARN.

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

The run's ARN.

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

The run's ARN.

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

The run's ID.

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

The run's ID.

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

The run's ID.

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

The run's ID.

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

The run's ID.

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

The run's ID.

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

The run's ID.

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

The run's status.

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

The run's status.

*/ inline void SetStatus(const RunStatus& value) { m_status = value; } /** *

The run's status.

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

The run's status.

*/ inline StartRunResult& WithStatus(const RunStatus& value) { SetStatus(value); return *this;} /** *

The run's status.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

*/ inline StartRunResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, 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 StartRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_id; RunStatus m_status; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace Omics } // namespace Aws