/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTAnalytics { namespace Model { /** *

The reference to a dataset entry.

See Also:

AWS * API Reference

*/ class DatasetEntry { public: AWS_IOTANALYTICS_API DatasetEntry(); AWS_IOTANALYTICS_API DatasetEntry(Aws::Utils::Json::JsonView jsonValue); AWS_IOTANALYTICS_API DatasetEntry& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the dataset item.

*/ inline const Aws::String& GetEntryName() const{ return m_entryName; } /** *

The name of the dataset item.

*/ inline bool EntryNameHasBeenSet() const { return m_entryNameHasBeenSet; } /** *

The name of the dataset item.

*/ inline void SetEntryName(const Aws::String& value) { m_entryNameHasBeenSet = true; m_entryName = value; } /** *

The name of the dataset item.

*/ inline void SetEntryName(Aws::String&& value) { m_entryNameHasBeenSet = true; m_entryName = std::move(value); } /** *

The name of the dataset item.

*/ inline void SetEntryName(const char* value) { m_entryNameHasBeenSet = true; m_entryName.assign(value); } /** *

The name of the dataset item.

*/ inline DatasetEntry& WithEntryName(const Aws::String& value) { SetEntryName(value); return *this;} /** *

The name of the dataset item.

*/ inline DatasetEntry& WithEntryName(Aws::String&& value) { SetEntryName(std::move(value)); return *this;} /** *

The name of the dataset item.

*/ inline DatasetEntry& WithEntryName(const char* value) { SetEntryName(value); return *this;} /** *

The presigned URI of the dataset item.

*/ inline const Aws::String& GetDataURI() const{ return m_dataURI; } /** *

The presigned URI of the dataset item.

*/ inline bool DataURIHasBeenSet() const { return m_dataURIHasBeenSet; } /** *

The presigned URI of the dataset item.

*/ inline void SetDataURI(const Aws::String& value) { m_dataURIHasBeenSet = true; m_dataURI = value; } /** *

The presigned URI of the dataset item.

*/ inline void SetDataURI(Aws::String&& value) { m_dataURIHasBeenSet = true; m_dataURI = std::move(value); } /** *

The presigned URI of the dataset item.

*/ inline void SetDataURI(const char* value) { m_dataURIHasBeenSet = true; m_dataURI.assign(value); } /** *

The presigned URI of the dataset item.

*/ inline DatasetEntry& WithDataURI(const Aws::String& value) { SetDataURI(value); return *this;} /** *

The presigned URI of the dataset item.

*/ inline DatasetEntry& WithDataURI(Aws::String&& value) { SetDataURI(std::move(value)); return *this;} /** *

The presigned URI of the dataset item.

*/ inline DatasetEntry& WithDataURI(const char* value) { SetDataURI(value); return *this;} private: Aws::String m_entryName; bool m_entryNameHasBeenSet = false; Aws::String m_dataURI; bool m_dataURIHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws