/** * 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 UpdateConnectivityInfoRequest : public GreengrassV2Request { public: AWS_GREENGRASSV2_API UpdateConnectivityInfoRequest(); // 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 "UpdateConnectivityInfo"; } AWS_GREENGRASSV2_API Aws::String SerializePayload() const override; /** *

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

*/ inline const Aws::String& GetThingName() const{ return m_thingName; } /** *

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

*/ inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; } /** *

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

*/ inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; } /** *

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

*/ inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); } /** *

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

*/ inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); } /** *

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

*/ inline UpdateConnectivityInfoRequest& WithThingName(const Aws::String& value) { SetThingName(value); return *this;} /** *

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

*/ inline UpdateConnectivityInfoRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;} /** *

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

*/ inline UpdateConnectivityInfoRequest& WithThingName(const char* value) { SetThingName(value); return *this;} /** *

The connectivity information for the core device.

*/ inline const Aws::Vector& GetConnectivityInfo() const{ return m_connectivityInfo; } /** *

The connectivity information for the core device.

*/ inline bool ConnectivityInfoHasBeenSet() const { return m_connectivityInfoHasBeenSet; } /** *

The connectivity information for the core device.

*/ inline void SetConnectivityInfo(const Aws::Vector& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = value; } /** *

The connectivity information for the core device.

*/ inline void SetConnectivityInfo(Aws::Vector&& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = std::move(value); } /** *

The connectivity information for the core device.

*/ inline UpdateConnectivityInfoRequest& WithConnectivityInfo(const Aws::Vector& value) { SetConnectivityInfo(value); return *this;} /** *

The connectivity information for the core device.

*/ inline UpdateConnectivityInfoRequest& WithConnectivityInfo(Aws::Vector&& value) { SetConnectivityInfo(std::move(value)); return *this;} /** *

The connectivity information for the core device.

*/ inline UpdateConnectivityInfoRequest& AddConnectivityInfo(const ConnectivityInfo& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo.push_back(value); return *this; } /** *

The connectivity information for the core device.

*/ inline UpdateConnectivityInfoRequest& AddConnectivityInfo(ConnectivityInfo&& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo.push_back(std::move(value)); return *this; } private: Aws::String m_thingName; bool m_thingNameHasBeenSet = false; Aws::Vector m_connectivityInfo; bool m_connectivityInfoHasBeenSet = false; }; } // namespace Model } // namespace GreengrassV2 } // namespace Aws