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

The list of client devices to disassociate.

*/ inline const Aws::Vector& GetEntries() const{ return m_entries; } /** *

The list of client devices to disassociate.

*/ inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; } /** *

The list of client devices to disassociate.

*/ inline void SetEntries(const Aws::Vector& value) { m_entriesHasBeenSet = true; m_entries = value; } /** *

The list of client devices to disassociate.

*/ inline void SetEntries(Aws::Vector&& value) { m_entriesHasBeenSet = true; m_entries = std::move(value); } /** *

The list of client devices to disassociate.

*/ inline BatchDisassociateClientDeviceFromCoreDeviceRequest& WithEntries(const Aws::Vector& value) { SetEntries(value); return *this;} /** *

The list of client devices to disassociate.

*/ inline BatchDisassociateClientDeviceFromCoreDeviceRequest& WithEntries(Aws::Vector&& value) { SetEntries(std::move(value)); return *this;} /** *

The list of client devices to disassociate.

*/ inline BatchDisassociateClientDeviceFromCoreDeviceRequest& AddEntries(const DisassociateClientDeviceFromCoreDeviceEntry& value) { m_entriesHasBeenSet = true; m_entries.push_back(value); return *this; } /** *

The list of client devices to disassociate.

*/ inline BatchDisassociateClientDeviceFromCoreDeviceRequest& AddEntries(DisassociateClientDeviceFromCoreDeviceEntry&& value) { m_entriesHasBeenSet = true; m_entries.push_back(std::move(value)); return *this; } /** *

The name of the core device. This is also the name of the IoT thing.

*/ inline const Aws::String& GetCoreDeviceThingName() const{ return m_coreDeviceThingName; } /** *

The name of the core device. This is also the name of the IoT thing.

*/ inline bool CoreDeviceThingNameHasBeenSet() const { return m_coreDeviceThingNameHasBeenSet; } /** *

The name of the core device. This is also the name of the IoT thing.

*/ inline void SetCoreDeviceThingName(const Aws::String& value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName = value; } /** *

The name of the core device. This is also the name of the IoT thing.

*/ inline void SetCoreDeviceThingName(Aws::String&& value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName = std::move(value); } /** *

The name of the core device. This is also the name of the IoT thing.

*/ inline void SetCoreDeviceThingName(const char* value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName.assign(value); } /** *

The name of the core device. This is also the name of the IoT thing.

*/ inline BatchDisassociateClientDeviceFromCoreDeviceRequest& WithCoreDeviceThingName(const Aws::String& value) { SetCoreDeviceThingName(value); return *this;} /** *

The name of the core device. This is also the name of the IoT thing.

*/ inline BatchDisassociateClientDeviceFromCoreDeviceRequest& WithCoreDeviceThingName(Aws::String&& value) { SetCoreDeviceThingName(std::move(value)); return *this;} /** *

The name of the core device. This is also the name of the IoT thing.

*/ inline BatchDisassociateClientDeviceFromCoreDeviceRequest& WithCoreDeviceThingName(const char* value) { SetCoreDeviceThingName(value); return *this;} private: Aws::Vector m_entries; bool m_entriesHasBeenSet = false; Aws::String m_coreDeviceThingName; bool m_coreDeviceThingNameHasBeenSet = false; }; } // namespace Model } // namespace GreengrassV2 } // namespace Aws