AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ProvisionDeviceRequest.h
Go to the documentation of this file.
1
6#pragma once
12#include <utility>
13
14namespace Aws
15{
16namespace Panorama
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ProvisionDevice"; }
33
35
36
40 inline const Aws::String& GetDescription() const{ return m_description; }
41
45 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
46
50 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
51
55 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
56
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61
65 inline ProvisionDeviceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66
70 inline ProvisionDeviceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71
75 inline ProvisionDeviceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
76
77
81 inline const Aws::String& GetName() const{ return m_name; }
82
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87
91 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92
96 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
97
101 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
102
106 inline ProvisionDeviceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
107
111 inline ProvisionDeviceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112
116 inline ProvisionDeviceRequest& WithName(const char* value) { SetName(value); return *this;}
117
118
122 inline const NetworkPayload& GetNetworkingConfiguration() const{ return m_networkingConfiguration; }
123
127 inline bool NetworkingConfigurationHasBeenSet() const { return m_networkingConfigurationHasBeenSet; }
128
132 inline void SetNetworkingConfiguration(const NetworkPayload& value) { m_networkingConfigurationHasBeenSet = true; m_networkingConfiguration = value; }
133
137 inline void SetNetworkingConfiguration(NetworkPayload&& value) { m_networkingConfigurationHasBeenSet = true; m_networkingConfiguration = std::move(value); }
138
143
148
149
153 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
154
158 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
159
163 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
164
168 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
169
173 inline ProvisionDeviceRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
174
178 inline ProvisionDeviceRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
179
183 inline ProvisionDeviceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
184
188 inline ProvisionDeviceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
189
193 inline ProvisionDeviceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
194
198 inline ProvisionDeviceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
199
203 inline ProvisionDeviceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
204
208 inline ProvisionDeviceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
209
213 inline ProvisionDeviceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
214
215 private:
216
217 Aws::String m_description;
218 bool m_descriptionHasBeenSet = false;
219
220 Aws::String m_name;
221 bool m_nameHasBeenSet = false;
222
223 NetworkPayload m_networkingConfiguration;
224 bool m_networkingConfigurationHasBeenSet = false;
225
227 bool m_tagsHasBeenSet = false;
228 };
229
230} // namespace Model
231} // namespace Panorama
232} // namespace Aws
#define AWS_PANORAMA_API
void SetNetworkingConfiguration(NetworkPayload &&value)
void SetNetworkingConfiguration(const NetworkPayload &value)
ProvisionDeviceRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ProvisionDeviceRequest & AddTags(Aws::String &&key, const Aws::String &value)
ProvisionDeviceRequest & AddTags(Aws::String &&key, const char *value)
ProvisionDeviceRequest & WithName(Aws::String &&value)
ProvisionDeviceRequest & WithNetworkingConfiguration(NetworkPayload &&value)
ProvisionDeviceRequest & WithName(const char *value)
ProvisionDeviceRequest & WithName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_PANORAMA_API Aws::String SerializePayload() const override
ProvisionDeviceRequest & WithDescription(const char *value)
const NetworkPayload & GetNetworkingConfiguration() const
ProvisionDeviceRequest & AddTags(const Aws::String &key, const Aws::String &value)
ProvisionDeviceRequest & WithDescription(const Aws::String &value)
ProvisionDeviceRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ProvisionDeviceRequest & AddTags(Aws::String &&key, Aws::String &&value)
ProvisionDeviceRequest & WithDescription(Aws::String &&value)
ProvisionDeviceRequest & AddTags(const Aws::String &key, Aws::String &&value)
ProvisionDeviceRequest & AddTags(const char *key, Aws::String &&value)
ProvisionDeviceRequest & AddTags(const char *key, const char *value)
ProvisionDeviceRequest & WithNetworkingConfiguration(const NetworkPayload &value)
virtual const char * GetServiceRequestName() const override
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String