/** * 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 LookoutEquipment { namespace Model { /** */ class StartDataIngestionJobRequest : public LookoutEquipmentRequest { public: AWS_LOOKOUTEQUIPMENT_API StartDataIngestionJobRequest(); // 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 "StartDataIngestionJob"; } AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override; AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the dataset being used by the data ingestion job.

*/ inline const Aws::String& GetDatasetName() const{ return m_datasetName; } /** *

The name of the dataset being used by the data ingestion job.

*/ inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; } /** *

The name of the dataset being used by the data ingestion job.

*/ inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; } /** *

The name of the dataset being used by the data ingestion job.

*/ inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); } /** *

The name of the dataset being used by the data ingestion job.

*/ inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); } /** *

The name of the dataset being used by the data ingestion job.

*/ inline StartDataIngestionJobRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;} /** *

The name of the dataset being used by the data ingestion job.

*/ inline StartDataIngestionJobRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;} /** *

The name of the dataset being used by the data ingestion job.

*/ inline StartDataIngestionJobRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;} /** *

Specifies information for the input data for the data ingestion job, * including dataset S3 location.

*/ inline const IngestionInputConfiguration& GetIngestionInputConfiguration() const{ return m_ingestionInputConfiguration; } /** *

Specifies information for the input data for the data ingestion job, * including dataset S3 location.

*/ inline bool IngestionInputConfigurationHasBeenSet() const { return m_ingestionInputConfigurationHasBeenSet; } /** *

Specifies information for the input data for the data ingestion job, * including dataset S3 location.

*/ inline void SetIngestionInputConfiguration(const IngestionInputConfiguration& value) { m_ingestionInputConfigurationHasBeenSet = true; m_ingestionInputConfiguration = value; } /** *

Specifies information for the input data for the data ingestion job, * including dataset S3 location.

*/ inline void SetIngestionInputConfiguration(IngestionInputConfiguration&& value) { m_ingestionInputConfigurationHasBeenSet = true; m_ingestionInputConfiguration = std::move(value); } /** *

Specifies information for the input data for the data ingestion job, * including dataset S3 location.

*/ inline StartDataIngestionJobRequest& WithIngestionInputConfiguration(const IngestionInputConfiguration& value) { SetIngestionInputConfiguration(value); return *this;} /** *

Specifies information for the input data for the data ingestion job, * including dataset S3 location.

*/ inline StartDataIngestionJobRequest& WithIngestionInputConfiguration(IngestionInputConfiguration&& value) { SetIngestionInputConfiguration(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of a role with permission to access the data * source for the data ingestion job.

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

The Amazon Resource Name (ARN) of a role with permission to access the data * source for the data ingestion job.

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

The Amazon Resource Name (ARN) of a role with permission to access the data * source for the data ingestion job.

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

The Amazon Resource Name (ARN) of a role with permission to access the data * source for the data ingestion job.

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

The Amazon Resource Name (ARN) of a role with permission to access the data * source for the data ingestion job.

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

The Amazon Resource Name (ARN) of a role with permission to access the data * source for the data ingestion job.

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

The Amazon Resource Name (ARN) of a role with permission to access the data * source for the data ingestion job.

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

The Amazon Resource Name (ARN) of a role with permission to access the data * source for the data ingestion job.

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

A unique identifier for the request. If you do not set the client request * token, Amazon Lookout for Equipment generates one.

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

A unique identifier for the request. If you do not set the client request * token, Amazon Lookout for Equipment generates one.

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

A unique identifier for the request. If you do not set the client request * token, Amazon Lookout for Equipment generates one.

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

A unique identifier for the request. If you do not set the client request * token, Amazon Lookout for Equipment generates one.

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

A unique identifier for the request. If you do not set the client request * token, Amazon Lookout for Equipment generates one.

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

A unique identifier for the request. If you do not set the client request * token, Amazon Lookout for Equipment generates one.

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

A unique identifier for the request. If you do not set the client request * token, Amazon Lookout for Equipment generates one.

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

A unique identifier for the request. If you do not set the client request * token, Amazon Lookout for Equipment generates one.

*/ inline StartDataIngestionJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_datasetName; bool m_datasetNameHasBeenSet = false; IngestionInputConfiguration m_ingestionInputConfiguration; bool m_ingestionInputConfigurationHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws