/** * 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 StartReadSetImportJobRequest : public OmicsRequest { public: AWS_OMICS_API StartReadSetImportJobRequest(); // 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 "StartReadSetImportJob"; } AWS_OMICS_API Aws::String SerializePayload() const override; /** *

The read set's sequence store ID.

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

The read set's sequence store ID.

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

The read set's sequence store ID.

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

The read set's sequence store ID.

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

The read set's sequence store ID.

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

The read set's sequence store ID.

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

The read set's sequence store ID.

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

The read set's sequence store ID.

*/ inline StartReadSetImportJobRequest& WithSequenceStoreId(const char* value) { SetSequenceStoreId(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 StartReadSetImportJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

A service role for the job.

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

A service role for the job.

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

To ensure that jobs don't run multiple times, specify a unique token for each * job.

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

To ensure that jobs don't run multiple times, specify a unique token for each * job.

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

To ensure that jobs don't run multiple times, specify a unique token for each * job.

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

To ensure that jobs don't run multiple times, specify a unique token for each * job.

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

To ensure that jobs don't run multiple times, specify a unique token for each * job.

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

To ensure that jobs don't run multiple times, specify a unique token for each * job.

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

To ensure that jobs don't run multiple times, specify a unique token for each * job.

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

To ensure that jobs don't run multiple times, specify a unique token for each * job.

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

The job's source files.

*/ inline const Aws::Vector& GetSources() const{ return m_sources; } /** *

The job's source files.

*/ inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; } /** *

The job's source files.

*/ inline void SetSources(const Aws::Vector& value) { m_sourcesHasBeenSet = true; m_sources = value; } /** *

The job's source files.

*/ inline void SetSources(Aws::Vector&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); } /** *

The job's source files.

*/ inline StartReadSetImportJobRequest& WithSources(const Aws::Vector& value) { SetSources(value); return *this;} /** *

The job's source files.

*/ inline StartReadSetImportJobRequest& WithSources(Aws::Vector&& value) { SetSources(std::move(value)); return *this;} /** *

The job's source files.

*/ inline StartReadSetImportJobRequest& AddSources(const StartReadSetImportJobSourceItem& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; } /** *

The job's source files.

*/ inline StartReadSetImportJobRequest& AddSources(StartReadSetImportJobSourceItem&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; } private: Aws::String m_sequenceStoreId; bool m_sequenceStoreIdHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::Vector m_sources; bool m_sourcesHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws