AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateNetworkAnalyzerConfigurationRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/TraceContent.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iotwireless/model/Tag.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace IoTWireless
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_IOTWIRELESS_API CreateNetworkAnalyzerConfigurationRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateNetworkAnalyzerConfiguration"; }
35
36 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
37
38
40
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template<typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
45 template<typename NameT = Aws::String>
46 CreateNetworkAnalyzerConfigurationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
48
50
51 inline const TraceContent& GetTraceContent() const { return m_traceContent; }
52 inline bool TraceContentHasBeenSet() const { return m_traceContentHasBeenSet; }
53 template<typename TraceContentT = TraceContent>
54 void SetTraceContent(TraceContentT&& value) { m_traceContentHasBeenSet = true; m_traceContent = std::forward<TraceContentT>(value); }
55 template<typename TraceContentT = TraceContent>
56 CreateNetworkAnalyzerConfigurationRequest& WithTraceContent(TraceContentT&& value) { SetTraceContent(std::forward<TraceContentT>(value)); return *this;}
58
60
65 inline const Aws::Vector<Aws::String>& GetWirelessDevices() const { return m_wirelessDevices; }
66 inline bool WirelessDevicesHasBeenSet() const { return m_wirelessDevicesHasBeenSet; }
67 template<typename WirelessDevicesT = Aws::Vector<Aws::String>>
68 void SetWirelessDevices(WirelessDevicesT&& value) { m_wirelessDevicesHasBeenSet = true; m_wirelessDevices = std::forward<WirelessDevicesT>(value); }
69 template<typename WirelessDevicesT = Aws::Vector<Aws::String>>
70 CreateNetworkAnalyzerConfigurationRequest& WithWirelessDevices(WirelessDevicesT&& value) { SetWirelessDevices(std::forward<WirelessDevicesT>(value)); return *this;}
71 template<typename WirelessDevicesT = Aws::String>
72 CreateNetworkAnalyzerConfigurationRequest& AddWirelessDevices(WirelessDevicesT&& value) { m_wirelessDevicesHasBeenSet = true; m_wirelessDevices.emplace_back(std::forward<WirelessDevicesT>(value)); return *this; }
74
76
81 inline const Aws::Vector<Aws::String>& GetWirelessGateways() const { return m_wirelessGateways; }
82 inline bool WirelessGatewaysHasBeenSet() const { return m_wirelessGatewaysHasBeenSet; }
83 template<typename WirelessGatewaysT = Aws::Vector<Aws::String>>
84 void SetWirelessGateways(WirelessGatewaysT&& value) { m_wirelessGatewaysHasBeenSet = true; m_wirelessGateways = std::forward<WirelessGatewaysT>(value); }
85 template<typename WirelessGatewaysT = Aws::Vector<Aws::String>>
86 CreateNetworkAnalyzerConfigurationRequest& WithWirelessGateways(WirelessGatewaysT&& value) { SetWirelessGateways(std::forward<WirelessGatewaysT>(value)); return *this;}
87 template<typename WirelessGatewaysT = Aws::String>
88 CreateNetworkAnalyzerConfigurationRequest& AddWirelessGateways(WirelessGatewaysT&& value) { m_wirelessGatewaysHasBeenSet = true; m_wirelessGateways.emplace_back(std::forward<WirelessGatewaysT>(value)); return *this; }
90
92
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template<typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
97 template<typename DescriptionT = Aws::String>
98 CreateNetworkAnalyzerConfigurationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
100
102
103 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
104 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
105 template<typename TagsT = Aws::Vector<Tag>>
106 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
107 template<typename TagsT = Aws::Vector<Tag>>
108 CreateNetworkAnalyzerConfigurationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
109 template<typename TagsT = Tag>
110 CreateNetworkAnalyzerConfigurationRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
112
114
115 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
116 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
117 template<typename ClientRequestTokenT = Aws::String>
118 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
119 template<typename ClientRequestTokenT = Aws::String>
120 CreateNetworkAnalyzerConfigurationRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
122
124
129 inline const Aws::Vector<Aws::String>& GetMulticastGroups() const { return m_multicastGroups; }
130 inline bool MulticastGroupsHasBeenSet() const { return m_multicastGroupsHasBeenSet; }
131 template<typename MulticastGroupsT = Aws::Vector<Aws::String>>
132 void SetMulticastGroups(MulticastGroupsT&& value) { m_multicastGroupsHasBeenSet = true; m_multicastGroups = std::forward<MulticastGroupsT>(value); }
133 template<typename MulticastGroupsT = Aws::Vector<Aws::String>>
134 CreateNetworkAnalyzerConfigurationRequest& WithMulticastGroups(MulticastGroupsT&& value) { SetMulticastGroups(std::forward<MulticastGroupsT>(value)); return *this;}
135 template<typename MulticastGroupsT = Aws::String>
136 CreateNetworkAnalyzerConfigurationRequest& AddMulticastGroups(MulticastGroupsT&& value) { m_multicastGroupsHasBeenSet = true; m_multicastGroups.emplace_back(std::forward<MulticastGroupsT>(value)); return *this; }
138 private:
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
143 TraceContent m_traceContent;
144 bool m_traceContentHasBeenSet = false;
145
146 Aws::Vector<Aws::String> m_wirelessDevices;
147 bool m_wirelessDevicesHasBeenSet = false;
148
149 Aws::Vector<Aws::String> m_wirelessGateways;
150 bool m_wirelessGatewaysHasBeenSet = false;
151
152 Aws::String m_description;
153 bool m_descriptionHasBeenSet = false;
154
155 Aws::Vector<Tag> m_tags;
156 bool m_tagsHasBeenSet = false;
157
158 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
159 bool m_clientRequestTokenHasBeenSet = true;
160
161 Aws::Vector<Aws::String> m_multicastGroups;
162 bool m_multicastGroupsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace IoTWireless
167} // namespace Aws
CreateNetworkAnalyzerConfigurationRequest & WithClientRequestToken(ClientRequestTokenT &&value)
CreateNetworkAnalyzerConfigurationRequest & AddWirelessDevices(WirelessDevicesT &&value)
CreateNetworkAnalyzerConfigurationRequest & WithWirelessGateways(WirelessGatewaysT &&value)
CreateNetworkAnalyzerConfigurationRequest & WithMulticastGroups(MulticastGroupsT &&value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
CreateNetworkAnalyzerConfigurationRequest & AddMulticastGroups(MulticastGroupsT &&value)
CreateNetworkAnalyzerConfigurationRequest & WithTraceContent(TraceContentT &&value)
CreateNetworkAnalyzerConfigurationRequest & AddWirelessGateways(WirelessGatewaysT &&value)
CreateNetworkAnalyzerConfigurationRequest & WithWirelessDevices(WirelessDevicesT &&value)
CreateNetworkAnalyzerConfigurationRequest & WithDescription(DescriptionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector