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

The ID of the resource to update.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the resource to update.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of the resource to update.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The ID of the resource to update.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The ID of the resource to update.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The ID of the resource to update.

*/ inline UpdateWirelessGatewayRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the resource to update.

*/ inline UpdateWirelessGatewayRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of the resource to update.

*/ inline UpdateWirelessGatewayRequest& WithId(const char* value) { SetId(value); return *this;} /** *

The new name of the resource.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The new name of the resource.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The new name of the resource.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The new name of the resource.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The new name of the resource.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The new name of the resource.

*/ inline UpdateWirelessGatewayRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The new name of the resource.

*/ inline UpdateWirelessGatewayRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The new name of the resource.

*/ inline UpdateWirelessGatewayRequest& WithName(const char* value) { SetName(value); return *this;} /** *

A new description of the resource.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A new description of the resource.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A new description of the resource.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A new description of the resource.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A new description of the resource.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A new description of the resource.

*/ inline UpdateWirelessGatewayRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A new description of the resource.

*/ inline UpdateWirelessGatewayRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A new description of the resource.

*/ inline UpdateWirelessGatewayRequest& WithDescription(const char* value) { SetDescription(value); return *this;} inline const Aws::Vector>& GetJoinEuiFilters() const{ return m_joinEuiFilters; } inline bool JoinEuiFiltersHasBeenSet() const { return m_joinEuiFiltersHasBeenSet; } inline void SetJoinEuiFilters(const Aws::Vector>& value) { m_joinEuiFiltersHasBeenSet = true; m_joinEuiFilters = value; } inline void SetJoinEuiFilters(Aws::Vector>&& value) { m_joinEuiFiltersHasBeenSet = true; m_joinEuiFilters = std::move(value); } inline UpdateWirelessGatewayRequest& WithJoinEuiFilters(const Aws::Vector>& value) { SetJoinEuiFilters(value); return *this;} inline UpdateWirelessGatewayRequest& WithJoinEuiFilters(Aws::Vector>&& value) { SetJoinEuiFilters(std::move(value)); return *this;} inline UpdateWirelessGatewayRequest& AddJoinEuiFilters(const Aws::Vector& value) { m_joinEuiFiltersHasBeenSet = true; m_joinEuiFilters.push_back(value); return *this; } inline UpdateWirelessGatewayRequest& AddJoinEuiFilters(Aws::Vector&& value) { m_joinEuiFiltersHasBeenSet = true; m_joinEuiFilters.push_back(std::move(value)); return *this; } inline const Aws::Vector& GetNetIdFilters() const{ return m_netIdFilters; } inline bool NetIdFiltersHasBeenSet() const { return m_netIdFiltersHasBeenSet; } inline void SetNetIdFilters(const Aws::Vector& value) { m_netIdFiltersHasBeenSet = true; m_netIdFilters = value; } inline void SetNetIdFilters(Aws::Vector&& value) { m_netIdFiltersHasBeenSet = true; m_netIdFilters = std::move(value); } inline UpdateWirelessGatewayRequest& WithNetIdFilters(const Aws::Vector& value) { SetNetIdFilters(value); return *this;} inline UpdateWirelessGatewayRequest& WithNetIdFilters(Aws::Vector&& value) { SetNetIdFilters(std::move(value)); return *this;} inline UpdateWirelessGatewayRequest& AddNetIdFilters(const Aws::String& value) { m_netIdFiltersHasBeenSet = true; m_netIdFilters.push_back(value); return *this; } inline UpdateWirelessGatewayRequest& AddNetIdFilters(Aws::String&& value) { m_netIdFiltersHasBeenSet = true; m_netIdFilters.push_back(std::move(value)); return *this; } inline UpdateWirelessGatewayRequest& AddNetIdFilters(const char* value) { m_netIdFiltersHasBeenSet = true; m_netIdFilters.push_back(value); return *this; } /** *

The MaxEIRP value.

*/ inline double GetMaxEirp() const{ return m_maxEirp; } /** *

The MaxEIRP value.

*/ inline bool MaxEirpHasBeenSet() const { return m_maxEirpHasBeenSet; } /** *

The MaxEIRP value.

*/ inline void SetMaxEirp(double value) { m_maxEirpHasBeenSet = true; m_maxEirp = value; } /** *

The MaxEIRP value.

*/ inline UpdateWirelessGatewayRequest& WithMaxEirp(double value) { SetMaxEirp(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector> m_joinEuiFilters; bool m_joinEuiFiltersHasBeenSet = false; Aws::Vector m_netIdFilters; bool m_netIdFiltersHasBeenSet = false; double m_maxEirp; bool m_maxEirpHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws