/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTAnalytics { namespace Model { /** *

When dataset contents are created, they are delivered to destination * specified here.

See Also:

AWS * API Reference

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

The name of the dataset content delivery rules entry.

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

The name of the dataset content delivery rules entry.

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

The name of the dataset content delivery rules entry.

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

The name of the dataset content delivery rules entry.

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

The name of the dataset content delivery rules entry.

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

The name of the dataset content delivery rules entry.

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

The name of the dataset content delivery rules entry.

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

The name of the dataset content delivery rules entry.

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

The destination to which dataset contents are delivered.

*/ inline const DatasetContentDeliveryDestination& GetDestination() const{ return m_destination; } /** *

The destination to which dataset contents are delivered.

*/ inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } /** *

The destination to which dataset contents are delivered.

*/ inline void SetDestination(const DatasetContentDeliveryDestination& value) { m_destinationHasBeenSet = true; m_destination = value; } /** *

The destination to which dataset contents are delivered.

*/ inline void SetDestination(DatasetContentDeliveryDestination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } /** *

The destination to which dataset contents are delivered.

*/ inline DatasetContentDeliveryRule& WithDestination(const DatasetContentDeliveryDestination& value) { SetDestination(value); return *this;} /** *

The destination to which dataset contents are delivered.

*/ inline DatasetContentDeliveryRule& WithDestination(DatasetContentDeliveryDestination&& value) { SetDestination(std::move(value)); return *this;} private: Aws::String m_entryName; bool m_entryNameHasBeenSet = false; DatasetContentDeliveryDestination m_destination; bool m_destinationHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws