/** * 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 Omics { namespace Model { /** */ class StartVariantImportJobRequest : public OmicsRequest { public: AWS_OMICS_API StartVariantImportJobRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StartVariantImportJob"; } AWS_OMICS_API Aws::String SerializePayload() const override; /** *

The destination variant store for the job.

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

The destination variant store for the job.

*/ inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; } /** *

The destination variant store for the job.

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

The destination variant store for the job.

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

The destination variant store for the job.

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

The destination variant store for the job.

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

The destination variant store for the job.

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

The destination variant store for the job.

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

A service role for the job.

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

A service role for the job.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

A service role for the job.

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

A service role for the job.

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

A service role for the job.

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

A service role for the job.

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

A service role for the job.

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

A service role for the job.

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

Items to import.

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

Items to import.

*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *

Items to import.

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

Items to import.

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

Items to import.

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

Items to import.

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

Items to import.

*/ inline StartVariantImportJobRequest& AddItems(const VariantImportItemSource& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *

Items to import.

*/ inline StartVariantImportJobRequest& AddItems(VariantImportItemSource&& value) { m_itemsHasBeenSet = true; 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 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 StartVariantImportJobRequest& 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 StartVariantImportJobRequest& WithAnnotationFields(const Aws::Map& value) { SetAnnotationFields(value); return *this;} /** *

The annotation schema generated by the parsed annotation data.

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

The annotation schema generated by the parsed annotation data.

*/ inline StartVariantImportJobRequest& 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 StartVariantImportJobRequest& 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 StartVariantImportJobRequest& 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 StartVariantImportJobRequest& 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 StartVariantImportJobRequest& 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 StartVariantImportJobRequest& 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 StartVariantImportJobRequest& AddAnnotationFields(const char* key, const char* value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(key, value); return *this; } private: Aws::String m_destinationName; bool m_destinationNameHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::Vector m_items; bool m_itemsHasBeenSet = false; bool m_runLeftNormalization; bool m_runLeftNormalizationHasBeenSet = false; Aws::Map m_annotationFields; bool m_annotationFieldsHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws