/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace IoTAnalytics { namespace Model { /** */ class CreateDatasetContentRequest : public IoTAnalyticsRequest { public: AWS_IOTANALYTICS_API CreateDatasetContentRequest(); // 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 "CreateDatasetContent"; } AWS_IOTANALYTICS_API Aws::String SerializePayload() const override; /** *

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The name of the dataset.

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

The version ID of the dataset content. To specify versionId for * a dataset content, the dataset must use a DeltaTimer * filter.

*/ inline const Aws::String& GetVersionId() const{ return m_versionId; } /** *

The version ID of the dataset content. To specify versionId for * a dataset content, the dataset must use a DeltaTimer * filter.

*/ inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } /** *

The version ID of the dataset content. To specify versionId for * a dataset content, the dataset must use a DeltaTimer * filter.

*/ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** *

The version ID of the dataset content. To specify versionId for * a dataset content, the dataset must use a DeltaTimer * filter.

*/ inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } /** *

The version ID of the dataset content. To specify versionId for * a dataset content, the dataset must use a DeltaTimer * filter.

*/ inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } /** *

The version ID of the dataset content. To specify versionId for * a dataset content, the dataset must use a DeltaTimer * filter.

*/ inline CreateDatasetContentRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} /** *

The version ID of the dataset content. To specify versionId for * a dataset content, the dataset must use a DeltaTimer * filter.

*/ inline CreateDatasetContentRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} /** *

The version ID of the dataset content. To specify versionId for * a dataset content, the dataset must use a DeltaTimer * filter.

*/ inline CreateDatasetContentRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} private: Aws::String m_datasetName; bool m_datasetNameHasBeenSet = false; Aws::String m_versionId; bool m_versionIdHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws