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

An annotation import job.

See Also:

AWS * API Reference

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

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's ID.

*/ inline AnnotationImportJobItem& 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 bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; } /** *

The job's destination annotation store.

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

The job's destination annotation store.

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

The job's destination annotation store.

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

The job's destination annotation store.

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

The job's destination annotation store.

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

The job's destination annotation store.

*/ inline AnnotationImportJobItem& 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 bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

The job's service role ARN.

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

The job's service role ARN.

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

The job's service role ARN.

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

The job's service role ARN.

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

The job's service role ARN.

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

The job's service role ARN.

*/ inline AnnotationImportJobItem& 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 bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The job's status.

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

The job's status.

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

The job's status.

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

The job's status.

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

When the job was created.

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

When the job was created.

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

When the job was created.

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

When the job was created.

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

When the job was created.

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

When the job was created.

*/ inline AnnotationImportJobItem& 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 bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } /** *

When the job was updated.

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

When the job was updated.

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

When the job was updated.

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

When the job was updated.

*/ inline AnnotationImportJobItem& 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 bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; } /** *

When the job completed.

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

When the job completed.

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

When the job completed.

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

When the job completed.

*/ inline AnnotationImportJobItem& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(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 bool RunLeftNormalizationHasBeenSet() const { return m_runLeftNormalizationHasBeenSet; } /** *

The job's left normalization setting.

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

The job's left normalization setting.

*/ inline AnnotationImportJobItem& WithRunLeftNormalization(bool value) { SetRunLeftNormalization(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 bool AnnotationFieldsHasBeenSet() const { return m_annotationFieldsHasBeenSet; } /** *

The annotation schema generated by the parsed annotation data.

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

The annotation schema generated by the parsed annotation data.

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

The annotation schema generated by the parsed annotation data.

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

The annotation schema generated by the parsed annotation data.

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

The annotation schema generated by the parsed annotation data.

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

The annotation schema generated by the parsed annotation data.

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

The annotation schema generated by the parsed annotation data.

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

The annotation schema generated by the parsed annotation data.

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

The annotation schema generated by the parsed annotation data.

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

The annotation schema generated by the parsed annotation data.

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

The annotation schema generated by the parsed annotation data.

*/ inline AnnotationImportJobItem& AddAnnotationFields(const char* key, const char* value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(key, value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_destinationName; bool m_destinationNameHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; JobStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; Aws::Utils::DateTime m_completionTime; bool m_completionTimeHasBeenSet = false; bool m_runLeftNormalization; bool m_runLeftNormalizationHasBeenSet = false; Aws::Map m_annotationFields; bool m_annotationFieldsHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws