/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTAnalytics { namespace Model { class CreateDatasetContentResult { public: AWS_IOTANALYTICS_API CreateDatasetContentResult(); AWS_IOTANALYTICS_API CreateDatasetContentResult(const Aws::AmazonWebServiceResult& result); AWS_IOTANALYTICS_API CreateDatasetContentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The version ID of the dataset contents that are being created.

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

The version ID of the dataset contents that are being created.

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

The version ID of the dataset contents that are being created.

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

The version ID of the dataset contents that are being created.

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

The version ID of the dataset contents that are being created.

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

The version ID of the dataset contents that are being created.

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

The version ID of the dataset contents that are being created.

*/ inline CreateDatasetContentResult& WithVersionId(const char* value) { SetVersionId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateDatasetContentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDatasetContentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDatasetContentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_versionId; Aws::String m_requestId; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws