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

The job's reference store ID.

*/ inline const Aws::String& GetReferenceStoreId() const{ return m_referenceStoreId; } /** *

The job's reference store ID.

*/ inline bool ReferenceStoreIdHasBeenSet() const { return m_referenceStoreIdHasBeenSet; } /** *

The job's reference store ID.

*/ inline void SetReferenceStoreId(const Aws::String& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = value; } /** *

The job's reference store ID.

*/ inline void SetReferenceStoreId(Aws::String&& value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId = std::move(value); } /** *

The job's reference store ID.

*/ inline void SetReferenceStoreId(const char* value) { m_referenceStoreIdHasBeenSet = true; m_referenceStoreId.assign(value); } /** *

The job's reference store ID.

*/ inline StartReferenceImportJobRequest& WithReferenceStoreId(const Aws::String& value) { SetReferenceStoreId(value); return *this;} /** *

The job's reference store ID.

*/ inline StartReferenceImportJobRequest& WithReferenceStoreId(Aws::String&& value) { SetReferenceStoreId(std::move(value)); return *this;} /** *

The job's reference store ID.

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

A service role for the job.

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

A service role for the job.

*/ inline StartReferenceImportJobRequest& 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 StartReferenceImportJobRequest& 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 StartReferenceImportJobRequest& 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 StartReferenceImportJobRequest& 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 StartReferenceImportJobRequest& WithSources(const Aws::Vector& value) { SetSources(value); return *this;} /** *

The job's source files.

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

The job's source files.

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

The job's source files.

*/ inline StartReferenceImportJobRequest& AddSources(StartReferenceImportJobSourceItem&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; } private: Aws::String m_referenceStoreId; bool m_referenceStoreIdHasBeenSet = 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