/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace IoTWireless { namespace Model { /** */ class CreateNetworkAnalyzerConfigurationRequest : public IoTWirelessRequest { public: AWS_IOTWIRELESS_API CreateNetworkAnalyzerConfigurationRequest(); // 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 "CreateNetworkAnalyzerConfiguration"; } AWS_IOTWIRELESS_API Aws::String SerializePayload() const override; inline const Aws::String& GetName() const{ return m_name; } inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } inline CreateNetworkAnalyzerConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} inline CreateNetworkAnalyzerConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline CreateNetworkAnalyzerConfigurationRequest& WithName(const char* value) { SetName(value); return *this;} inline const TraceContent& GetTraceContent() const{ return m_traceContent; } inline bool TraceContentHasBeenSet() const { return m_traceContentHasBeenSet; } inline void SetTraceContent(const TraceContent& value) { m_traceContentHasBeenSet = true; m_traceContent = value; } inline void SetTraceContent(TraceContent&& value) { m_traceContentHasBeenSet = true; m_traceContent = std::move(value); } inline CreateNetworkAnalyzerConfigurationRequest& WithTraceContent(const TraceContent& value) { SetTraceContent(value); return *this;} inline CreateNetworkAnalyzerConfigurationRequest& WithTraceContent(TraceContent&& value) { SetTraceContent(std::move(value)); return *this;} /** *

Wireless device resources to add to the network analyzer configuration. * Provide the WirelessDeviceId of the resource to add in the input * array.

*/ inline const Aws::Vector& GetWirelessDevices() const{ return m_wirelessDevices; } /** *

Wireless device resources to add to the network analyzer configuration. * Provide the WirelessDeviceId of the resource to add in the input * array.

*/ inline bool WirelessDevicesHasBeenSet() const { return m_wirelessDevicesHasBeenSet; } /** *

Wireless device resources to add to the network analyzer configuration. * Provide the WirelessDeviceId of the resource to add in the input * array.

*/ inline void SetWirelessDevices(const Aws::Vector& value) { m_wirelessDevicesHasBeenSet = true; m_wirelessDevices = value; } /** *

Wireless device resources to add to the network analyzer configuration. * Provide the WirelessDeviceId of the resource to add in the input * array.

*/ inline void SetWirelessDevices(Aws::Vector&& value) { m_wirelessDevicesHasBeenSet = true; m_wirelessDevices = std::move(value); } /** *

Wireless device resources to add to the network analyzer configuration. * Provide the WirelessDeviceId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& WithWirelessDevices(const Aws::Vector& value) { SetWirelessDevices(value); return *this;} /** *

Wireless device resources to add to the network analyzer configuration. * Provide the WirelessDeviceId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& WithWirelessDevices(Aws::Vector&& value) { SetWirelessDevices(std::move(value)); return *this;} /** *

Wireless device resources to add to the network analyzer configuration. * Provide the WirelessDeviceId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& AddWirelessDevices(const Aws::String& value) { m_wirelessDevicesHasBeenSet = true; m_wirelessDevices.push_back(value); return *this; } /** *

Wireless device resources to add to the network analyzer configuration. * Provide the WirelessDeviceId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& AddWirelessDevices(Aws::String&& value) { m_wirelessDevicesHasBeenSet = true; m_wirelessDevices.push_back(std::move(value)); return *this; } /** *

Wireless device resources to add to the network analyzer configuration. * Provide the WirelessDeviceId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& AddWirelessDevices(const char* value) { m_wirelessDevicesHasBeenSet = true; m_wirelessDevices.push_back(value); return *this; } /** *

Wireless gateway resources to add to the network analyzer configuration. * Provide the WirelessGatewayId of the resource to add in the input * array.

*/ inline const Aws::Vector& GetWirelessGateways() const{ return m_wirelessGateways; } /** *

Wireless gateway resources to add to the network analyzer configuration. * Provide the WirelessGatewayId of the resource to add in the input * array.

*/ inline bool WirelessGatewaysHasBeenSet() const { return m_wirelessGatewaysHasBeenSet; } /** *

Wireless gateway resources to add to the network analyzer configuration. * Provide the WirelessGatewayId of the resource to add in the input * array.

*/ inline void SetWirelessGateways(const Aws::Vector& value) { m_wirelessGatewaysHasBeenSet = true; m_wirelessGateways = value; } /** *

Wireless gateway resources to add to the network analyzer configuration. * Provide the WirelessGatewayId of the resource to add in the input * array.

*/ inline void SetWirelessGateways(Aws::Vector&& value) { m_wirelessGatewaysHasBeenSet = true; m_wirelessGateways = std::move(value); } /** *

Wireless gateway resources to add to the network analyzer configuration. * Provide the WirelessGatewayId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& WithWirelessGateways(const Aws::Vector& value) { SetWirelessGateways(value); return *this;} /** *

Wireless gateway resources to add to the network analyzer configuration. * Provide the WirelessGatewayId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& WithWirelessGateways(Aws::Vector&& value) { SetWirelessGateways(std::move(value)); return *this;} /** *

Wireless gateway resources to add to the network analyzer configuration. * Provide the WirelessGatewayId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& AddWirelessGateways(const Aws::String& value) { m_wirelessGatewaysHasBeenSet = true; m_wirelessGateways.push_back(value); return *this; } /** *

Wireless gateway resources to add to the network analyzer configuration. * Provide the WirelessGatewayId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& AddWirelessGateways(Aws::String&& value) { m_wirelessGatewaysHasBeenSet = true; m_wirelessGateways.push_back(std::move(value)); return *this; } /** *

Wireless gateway resources to add to the network analyzer configuration. * Provide the WirelessGatewayId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& AddWirelessGateways(const char* value) { m_wirelessGatewaysHasBeenSet = true; m_wirelessGateways.push_back(value); return *this; } inline const Aws::String& GetDescription() const{ return m_description; } inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } inline CreateNetworkAnalyzerConfigurationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} inline CreateNetworkAnalyzerConfigurationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} inline CreateNetworkAnalyzerConfigurationRequest& WithDescription(const char* value) { SetDescription(value); return *this;} inline const Aws::Vector& GetTags() const{ return m_tags; } inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } inline CreateNetworkAnalyzerConfigurationRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} inline CreateNetworkAnalyzerConfigurationRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} inline CreateNetworkAnalyzerConfigurationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } inline CreateNetworkAnalyzerConfigurationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } inline CreateNetworkAnalyzerConfigurationRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} inline CreateNetworkAnalyzerConfigurationRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} inline CreateNetworkAnalyzerConfigurationRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

Multicast Group resources to add to the network analyzer configruation. * Provide the MulticastGroupId of the resource to add in the input * array.

*/ inline const Aws::Vector& GetMulticastGroups() const{ return m_multicastGroups; } /** *

Multicast Group resources to add to the network analyzer configruation. * Provide the MulticastGroupId of the resource to add in the input * array.

*/ inline bool MulticastGroupsHasBeenSet() const { return m_multicastGroupsHasBeenSet; } /** *

Multicast Group resources to add to the network analyzer configruation. * Provide the MulticastGroupId of the resource to add in the input * array.

*/ inline void SetMulticastGroups(const Aws::Vector& value) { m_multicastGroupsHasBeenSet = true; m_multicastGroups = value; } /** *

Multicast Group resources to add to the network analyzer configruation. * Provide the MulticastGroupId of the resource to add in the input * array.

*/ inline void SetMulticastGroups(Aws::Vector&& value) { m_multicastGroupsHasBeenSet = true; m_multicastGroups = std::move(value); } /** *

Multicast Group resources to add to the network analyzer configruation. * Provide the MulticastGroupId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& WithMulticastGroups(const Aws::Vector& value) { SetMulticastGroups(value); return *this;} /** *

Multicast Group resources to add to the network analyzer configruation. * Provide the MulticastGroupId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& WithMulticastGroups(Aws::Vector&& value) { SetMulticastGroups(std::move(value)); return *this;} /** *

Multicast Group resources to add to the network analyzer configruation. * Provide the MulticastGroupId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& AddMulticastGroups(const Aws::String& value) { m_multicastGroupsHasBeenSet = true; m_multicastGroups.push_back(value); return *this; } /** *

Multicast Group resources to add to the network analyzer configruation. * Provide the MulticastGroupId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& AddMulticastGroups(Aws::String&& value) { m_multicastGroupsHasBeenSet = true; m_multicastGroups.push_back(std::move(value)); return *this; } /** *

Multicast Group resources to add to the network analyzer configruation. * Provide the MulticastGroupId of the resource to add in the input * array.

*/ inline CreateNetworkAnalyzerConfigurationRequest& AddMulticastGroups(const char* value) { m_multicastGroupsHasBeenSet = true; m_multicastGroups.push_back(value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; TraceContent m_traceContent; bool m_traceContentHasBeenSet = false; Aws::Vector m_wirelessDevices; bool m_wirelessDevicesHasBeenSet = false; Aws::Vector m_wirelessGateways; bool m_wirelessGatewaysHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; Aws::Vector m_multicastGroups; bool m_multicastGroupsHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws