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

The name of the dataset being created.

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

The name of the dataset being created.

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

The name of the dataset being created.

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

The name of the dataset being created.

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

The name of the dataset being created.

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

The name of the dataset being created.

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

The name of the dataset being created.

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

The name of the dataset being created.

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

A JSON description of the data that is in each time series dataset, including * names, column names, and data types.

*/ inline const DatasetSchema& GetDatasetSchema() const{ return m_datasetSchema; } /** *

A JSON description of the data that is in each time series dataset, including * names, column names, and data types.

*/ inline bool DatasetSchemaHasBeenSet() const { return m_datasetSchemaHasBeenSet; } /** *

A JSON description of the data that is in each time series dataset, including * names, column names, and data types.

*/ inline void SetDatasetSchema(const DatasetSchema& value) { m_datasetSchemaHasBeenSet = true; m_datasetSchema = value; } /** *

A JSON description of the data that is in each time series dataset, including * names, column names, and data types.

*/ inline void SetDatasetSchema(DatasetSchema&& value) { m_datasetSchemaHasBeenSet = true; m_datasetSchema = std::move(value); } /** *

A JSON description of the data that is in each time series dataset, including * names, column names, and data types.

*/ inline CreateDatasetRequest& WithDatasetSchema(const DatasetSchema& value) { SetDatasetSchema(value); return *this;} /** *

A JSON description of the data that is in each time series dataset, including * names, column names, and data types.

*/ inline CreateDatasetRequest& WithDatasetSchema(DatasetSchema&& value) { SetDatasetSchema(std::move(value)); return *this;} /** *

Provides the identifier of the KMS key used to encrypt dataset data by Amazon * Lookout for Equipment.

*/ inline const Aws::String& GetServerSideKmsKeyId() const{ return m_serverSideKmsKeyId; } /** *

Provides the identifier of the KMS key used to encrypt dataset data by Amazon * Lookout for Equipment.

*/ inline bool ServerSideKmsKeyIdHasBeenSet() const { return m_serverSideKmsKeyIdHasBeenSet; } /** *

Provides the identifier of the KMS key used to encrypt dataset data by Amazon * Lookout for Equipment.

*/ inline void SetServerSideKmsKeyId(const Aws::String& value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId = value; } /** *

Provides the identifier of the KMS key used to encrypt dataset data by Amazon * Lookout for Equipment.

*/ inline void SetServerSideKmsKeyId(Aws::String&& value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId = std::move(value); } /** *

Provides the identifier of the KMS key used to encrypt dataset data by Amazon * Lookout for Equipment.

*/ inline void SetServerSideKmsKeyId(const char* value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId.assign(value); } /** *

Provides the identifier of the KMS key used to encrypt dataset data by Amazon * Lookout for Equipment.

*/ inline CreateDatasetRequest& WithServerSideKmsKeyId(const Aws::String& value) { SetServerSideKmsKeyId(value); return *this;} /** *

Provides the identifier of the KMS key used to encrypt dataset data by Amazon * Lookout for Equipment.

*/ inline CreateDatasetRequest& WithServerSideKmsKeyId(Aws::String&& value) { SetServerSideKmsKeyId(std::move(value)); return *this;} /** *

Provides the identifier of the KMS key used to encrypt dataset data by Amazon * Lookout for Equipment.

*/ inline CreateDatasetRequest& WithServerSideKmsKeyId(const char* value) { SetServerSideKmsKeyId(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 CreateDatasetRequest& 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 CreateDatasetRequest& 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 CreateDatasetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

Any tags associated with the ingested data described in the dataset.

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

Any tags associated with the ingested data described in the dataset.

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

Any tags associated with the ingested data described in the dataset.

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

Any tags associated with the ingested data described in the dataset.

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

Any tags associated with the ingested data described in the dataset.

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

Any tags associated with the ingested data described in the dataset.

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

Any tags associated with the ingested data described in the dataset.

*/ inline CreateDatasetRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

Any tags associated with the ingested data described in the dataset.

*/ inline CreateDatasetRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_datasetName; bool m_datasetNameHasBeenSet = false; DatasetSchema m_datasetSchema; bool m_datasetSchemaHasBeenSet = false; Aws::String m_serverSideKmsKeyId; bool m_serverSideKmsKeyIdHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws