/** * 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 Omics { namespace Model { /** */ class CreateMultipartReadSetUploadRequest : public OmicsRequest { public: AWS_OMICS_API CreateMultipartReadSetUploadRequest(); // 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 "CreateMultipartReadSetUpload"; } AWS_OMICS_API Aws::String SerializePayload() const override; /** *

The sequence store ID for the store that is the destination of the multipart * uploads.

*/ inline const Aws::String& GetSequenceStoreId() const{ return m_sequenceStoreId; } /** *

The sequence store ID for the store that is the destination of the multipart * uploads.

*/ inline bool SequenceStoreIdHasBeenSet() const { return m_sequenceStoreIdHasBeenSet; } /** *

The sequence store ID for the store that is the destination of the multipart * uploads.

*/ inline void SetSequenceStoreId(const Aws::String& value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId = value; } /** *

The sequence store ID for the store that is the destination of the multipart * uploads.

*/ inline void SetSequenceStoreId(Aws::String&& value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId = std::move(value); } /** *

The sequence store ID for the store that is the destination of the multipart * uploads.

*/ inline void SetSequenceStoreId(const char* value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId.assign(value); } /** *

The sequence store ID for the store that is the destination of the multipart * uploads.

*/ inline CreateMultipartReadSetUploadRequest& WithSequenceStoreId(const Aws::String& value) { SetSequenceStoreId(value); return *this;} /** *

The sequence store ID for the store that is the destination of the multipart * uploads.

*/ inline CreateMultipartReadSetUploadRequest& WithSequenceStoreId(Aws::String&& value) { SetSequenceStoreId(std::move(value)); return *this;} /** *

The sequence store ID for the store that is the destination of the multipart * uploads.

*/ inline CreateMultipartReadSetUploadRequest& WithSequenceStoreId(const char* value) { SetSequenceStoreId(value); return *this;} /** *

An idempotency token that can be used to avoid triggering multiple multipart * uploads.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

An idempotency token that can be used to avoid triggering multiple multipart * uploads.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

An idempotency token that can be used to avoid triggering multiple multipart * uploads.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

An idempotency token that can be used to avoid triggering multiple multipart * uploads.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

An idempotency token that can be used to avoid triggering multiple multipart * uploads.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

An idempotency token that can be used to avoid triggering multiple multipart * uploads.

*/ inline CreateMultipartReadSetUploadRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

An idempotency token that can be used to avoid triggering multiple multipart * uploads.

*/ inline CreateMultipartReadSetUploadRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

An idempotency token that can be used to avoid triggering multiple multipart * uploads.

*/ inline CreateMultipartReadSetUploadRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The type of file being uploaded.

*/ inline const FileType& GetSourceFileType() const{ return m_sourceFileType; } /** *

The type of file being uploaded.

*/ inline bool SourceFileTypeHasBeenSet() const { return m_sourceFileTypeHasBeenSet; } /** *

The type of file being uploaded.

*/ inline void SetSourceFileType(const FileType& value) { m_sourceFileTypeHasBeenSet = true; m_sourceFileType = value; } /** *

The type of file being uploaded.

*/ inline void SetSourceFileType(FileType&& value) { m_sourceFileTypeHasBeenSet = true; m_sourceFileType = std::move(value); } /** *

The type of file being uploaded.

*/ inline CreateMultipartReadSetUploadRequest& WithSourceFileType(const FileType& value) { SetSourceFileType(value); return *this;} /** *

The type of file being uploaded.

*/ inline CreateMultipartReadSetUploadRequest& WithSourceFileType(FileType&& value) { SetSourceFileType(std::move(value)); return *this;} /** *

The source's subject ID.

*/ inline const Aws::String& GetSubjectId() const{ return m_subjectId; } /** *

The source's subject ID.

*/ inline bool SubjectIdHasBeenSet() const { return m_subjectIdHasBeenSet; } /** *

The source's subject ID.

*/ inline void SetSubjectId(const Aws::String& value) { m_subjectIdHasBeenSet = true; m_subjectId = value; } /** *

The source's subject ID.

*/ inline void SetSubjectId(Aws::String&& value) { m_subjectIdHasBeenSet = true; m_subjectId = std::move(value); } /** *

The source's subject ID.

*/ inline void SetSubjectId(const char* value) { m_subjectIdHasBeenSet = true; m_subjectId.assign(value); } /** *

The source's subject ID.

*/ inline CreateMultipartReadSetUploadRequest& WithSubjectId(const Aws::String& value) { SetSubjectId(value); return *this;} /** *

The source's subject ID.

*/ inline CreateMultipartReadSetUploadRequest& WithSubjectId(Aws::String&& value) { SetSubjectId(std::move(value)); return *this;} /** *

The source's subject ID.

*/ inline CreateMultipartReadSetUploadRequest& WithSubjectId(const char* value) { SetSubjectId(value); return *this;} /** *

The source's sample ID.

*/ inline const Aws::String& GetSampleId() const{ return m_sampleId; } /** *

The source's sample ID.

*/ inline bool SampleIdHasBeenSet() const { return m_sampleIdHasBeenSet; } /** *

The source's sample ID.

*/ inline void SetSampleId(const Aws::String& value) { m_sampleIdHasBeenSet = true; m_sampleId = value; } /** *

The source's sample ID.

*/ inline void SetSampleId(Aws::String&& value) { m_sampleIdHasBeenSet = true; m_sampleId = std::move(value); } /** *

The source's sample ID.

*/ inline void SetSampleId(const char* value) { m_sampleIdHasBeenSet = true; m_sampleId.assign(value); } /** *

The source's sample ID.

*/ inline CreateMultipartReadSetUploadRequest& WithSampleId(const Aws::String& value) { SetSampleId(value); return *this;} /** *

The source's sample ID.

*/ inline CreateMultipartReadSetUploadRequest& WithSampleId(Aws::String&& value) { SetSampleId(std::move(value)); return *this;} /** *

The source's sample ID.

*/ inline CreateMultipartReadSetUploadRequest& WithSampleId(const char* value) { SetSampleId(value); return *this;} /** *

Where the source originated.

*/ inline const Aws::String& GetGeneratedFrom() const{ return m_generatedFrom; } /** *

Where the source originated.

*/ inline bool GeneratedFromHasBeenSet() const { return m_generatedFromHasBeenSet; } /** *

Where the source originated.

*/ inline void SetGeneratedFrom(const Aws::String& value) { m_generatedFromHasBeenSet = true; m_generatedFrom = value; } /** *

Where the source originated.

*/ inline void SetGeneratedFrom(Aws::String&& value) { m_generatedFromHasBeenSet = true; m_generatedFrom = std::move(value); } /** *

Where the source originated.

*/ inline void SetGeneratedFrom(const char* value) { m_generatedFromHasBeenSet = true; m_generatedFrom.assign(value); } /** *

Where the source originated.

*/ inline CreateMultipartReadSetUploadRequest& WithGeneratedFrom(const Aws::String& value) { SetGeneratedFrom(value); return *this;} /** *

Where the source originated.

*/ inline CreateMultipartReadSetUploadRequest& WithGeneratedFrom(Aws::String&& value) { SetGeneratedFrom(std::move(value)); return *this;} /** *

Where the source originated.

*/ inline CreateMultipartReadSetUploadRequest& WithGeneratedFrom(const char* value) { SetGeneratedFrom(value); return *this;} /** *

The ARN of the reference.

*/ inline const Aws::String& GetReferenceArn() const{ return m_referenceArn; } /** *

The ARN of the reference.

*/ inline bool ReferenceArnHasBeenSet() const { return m_referenceArnHasBeenSet; } /** *

The ARN of the reference.

*/ inline void SetReferenceArn(const Aws::String& value) { m_referenceArnHasBeenSet = true; m_referenceArn = value; } /** *

The ARN of the reference.

*/ inline void SetReferenceArn(Aws::String&& value) { m_referenceArnHasBeenSet = true; m_referenceArn = std::move(value); } /** *

The ARN of the reference.

*/ inline void SetReferenceArn(const char* value) { m_referenceArnHasBeenSet = true; m_referenceArn.assign(value); } /** *

The ARN of the reference.

*/ inline CreateMultipartReadSetUploadRequest& WithReferenceArn(const Aws::String& value) { SetReferenceArn(value); return *this;} /** *

The ARN of the reference.

*/ inline CreateMultipartReadSetUploadRequest& WithReferenceArn(Aws::String&& value) { SetReferenceArn(std::move(value)); return *this;} /** *

The ARN of the reference.

*/ inline CreateMultipartReadSetUploadRequest& WithReferenceArn(const char* value) { SetReferenceArn(value); return *this;} /** *

The name of the read set.

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

The name of the read set.

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

The name of the read set.

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

The name of the read set.

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

The name of the read set.

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

The name of the read set.

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

The name of the read set.

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

The name of the read set.

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

The description of the read set.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the read set.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the read set.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the read set.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the read set.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the read set.

*/ inline CreateMultipartReadSetUploadRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the read set.

*/ inline CreateMultipartReadSetUploadRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the read set.

*/ inline CreateMultipartReadSetUploadRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

Any tags to add to the read set.

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

Any tags to add to the read set.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Any tags to add to the read set.

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

Any tags to add to the read set.

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

Any tags to add to the read set.

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

Any tags to add to the read set.

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

Any tags to add to the read set.

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

Any tags to add to the read set.

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

Any tags to add to the read set.

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

Any tags to add to the read set.

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

Any tags to add to the read set.

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

Any tags to add to the read set.

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

Any tags to add to the read set.

*/ inline CreateMultipartReadSetUploadRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_sequenceStoreId; bool m_sequenceStoreIdHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; FileType m_sourceFileType; bool m_sourceFileTypeHasBeenSet = false; Aws::String m_subjectId; bool m_subjectIdHasBeenSet = false; Aws::String m_sampleId; bool m_sampleIdHasBeenSet = false; Aws::String m_generatedFrom; bool m_generatedFromHasBeenSet = false; Aws::String m_referenceArn; bool m_referenceArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws