/** * 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 #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Omics { namespace Model { class GetAnnotationImportJobResult { public: AWS_OMICS_API GetAnnotationImportJobResult(); AWS_OMICS_API GetAnnotationImportJobResult(const Aws::AmazonWebServiceResult& result); AWS_OMICS_API GetAnnotationImportJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's destination annotation store.

*/ inline const Aws::String& GetDestinationName() const{ return m_destinationName; } /** *

The job's destination annotation store.

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

The job's destination annotation store.

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

The job's destination annotation store.

*/ inline void SetDestinationName(const char* value) { m_destinationName.assign(value); } /** *

The job's destination annotation store.

*/ inline GetAnnotationImportJobResult& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;} /** *

The job's destination annotation store.

*/ inline GetAnnotationImportJobResult& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;} /** *

The job's destination annotation store.

*/ inline GetAnnotationImportJobResult& WithDestinationName(const char* value) { SetDestinationName(value); return *this;} /** *

The job's service role ARN.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The job's service role ARN.

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

The job's service role ARN.

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

The job's service role ARN.

*/ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } /** *

The job's service role ARN.

*/ inline GetAnnotationImportJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The job's service role ARN.

*/ inline GetAnnotationImportJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The job's service role ARN.

*/ inline GetAnnotationImportJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The job's status.

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

The job's status.

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

The job's status.

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

The job's status.

*/ inline GetAnnotationImportJobResult& WithStatus(const JobStatus& value) { SetStatus(value); return *this;} /** *

The job's status.

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

The job's status message.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

The job's status message.

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

The job's status message.

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

The job's status message.

*/ inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } /** *

The job's status message.

*/ inline GetAnnotationImportJobResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

The job's status message.

*/ inline GetAnnotationImportJobResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

The job's status message.

*/ inline GetAnnotationImportJobResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *

When the job was created.

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

When the job was created.

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

When the job was created.

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

When the job was created.

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

When the job was created.

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

When the job was updated.

*/ inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** *

When the job was updated.

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

When the job was updated.

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

When the job was updated.

*/ inline GetAnnotationImportJobResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *

When the job was updated.

*/ inline GetAnnotationImportJobResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} /** *

When the job completed.

*/ inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } /** *

When the job completed.

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

When the job completed.

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

When the job completed.

*/ inline GetAnnotationImportJobResult& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} /** *

When the job completed.

*/ inline GetAnnotationImportJobResult& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} /** *

The job's imported items.

*/ inline const Aws::Vector& GetItems() const{ return m_items; } /** *

The job's imported items.

*/ inline void SetItems(const Aws::Vector& value) { m_items = value; } /** *

The job's imported items.

*/ inline void SetItems(Aws::Vector&& value) { m_items = std::move(value); } /** *

The job's imported items.

*/ inline GetAnnotationImportJobResult& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} /** *

The job's imported items.

*/ inline GetAnnotationImportJobResult& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} /** *

The job's imported items.

*/ inline GetAnnotationImportJobResult& AddItems(const AnnotationImportItemDetail& value) { m_items.push_back(value); return *this; } /** *

The job's imported items.

*/ inline GetAnnotationImportJobResult& AddItems(AnnotationImportItemDetail&& value) { m_items.push_back(std::move(value)); return *this; } /** *

The job's left normalization setting.

*/ inline bool GetRunLeftNormalization() const{ return m_runLeftNormalization; } /** *

The job's left normalization setting.

*/ inline void SetRunLeftNormalization(bool value) { m_runLeftNormalization = value; } /** *

The job's left normalization setting.

*/ inline GetAnnotationImportJobResult& WithRunLeftNormalization(bool value) { SetRunLeftNormalization(value); return *this;} inline const FormatOptions& GetFormatOptions() const{ return m_formatOptions; } inline void SetFormatOptions(const FormatOptions& value) { m_formatOptions = value; } inline void SetFormatOptions(FormatOptions&& value) { m_formatOptions = std::move(value); } inline GetAnnotationImportJobResult& WithFormatOptions(const FormatOptions& value) { SetFormatOptions(value); return *this;} inline GetAnnotationImportJobResult& WithFormatOptions(FormatOptions&& value) { SetFormatOptions(std::move(value)); return *this;} /** *

The annotation schema generated by the parsed annotation data.

*/ inline const Aws::Map& GetAnnotationFields() const{ return m_annotationFields; } /** *

The annotation schema generated by the parsed annotation data.

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

The annotation schema generated by the parsed annotation data.

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

The annotation schema generated by the parsed annotation data.

*/ inline GetAnnotationImportJobResult& WithAnnotationFields(const Aws::Map& value) { SetAnnotationFields(value); return *this;} /** *

The annotation schema generated by the parsed annotation data.

*/ inline GetAnnotationImportJobResult& WithAnnotationFields(Aws::Map&& value) { SetAnnotationFields(std::move(value)); return *this;} /** *

The annotation schema generated by the parsed annotation data.

*/ inline GetAnnotationImportJobResult& AddAnnotationFields(const Aws::String& key, const Aws::String& value) { m_annotationFields.emplace(key, value); return *this; } /** *

The annotation schema generated by the parsed annotation data.

*/ inline GetAnnotationImportJobResult& AddAnnotationFields(Aws::String&& key, const Aws::String& value) { m_annotationFields.emplace(std::move(key), value); return *this; } /** *

The annotation schema generated by the parsed annotation data.

*/ inline GetAnnotationImportJobResult& AddAnnotationFields(const Aws::String& key, Aws::String&& value) { m_annotationFields.emplace(key, std::move(value)); return *this; } /** *

The annotation schema generated by the parsed annotation data.

*/ inline GetAnnotationImportJobResult& AddAnnotationFields(Aws::String&& key, Aws::String&& value) { m_annotationFields.emplace(std::move(key), std::move(value)); return *this; } /** *

The annotation schema generated by the parsed annotation data.

*/ inline GetAnnotationImportJobResult& AddAnnotationFields(const char* key, Aws::String&& value) { m_annotationFields.emplace(key, std::move(value)); return *this; } /** *

The annotation schema generated by the parsed annotation data.

*/ inline GetAnnotationImportJobResult& AddAnnotationFields(Aws::String&& key, const char* value) { m_annotationFields.emplace(std::move(key), value); return *this; } /** *

The annotation schema generated by the parsed annotation data.

*/ inline GetAnnotationImportJobResult& AddAnnotationFields(const char* key, const char* value) { m_annotationFields.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 GetAnnotationImportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAnnotationImportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAnnotationImportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; Aws::String m_destinationName; Aws::String m_roleArn; JobStatus m_status; Aws::String m_statusMessage; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_updateTime; Aws::Utils::DateTime m_completionTime; Aws::Vector m_items; bool m_runLeftNormalization; FormatOptions m_formatOptions; Aws::Map m_annotationFields; Aws::String m_requestId; }; } // namespace Model } // namespace Omics } // namespace Aws