AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisionDeviceRequest.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/PanoramaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/panorama/model/NetworkPayload.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Panorama
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_PANORAMA_API ProvisionDeviceRequest();
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
34 AWS_PANORAMA_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDescription() const{ return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
44 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
45 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
46 inline ProvisionDeviceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
47 inline ProvisionDeviceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
48 inline ProvisionDeviceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
60 inline ProvisionDeviceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline ProvisionDeviceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline ProvisionDeviceRequest& WithName(const char* value) { SetName(value); return *this;}
64
66
69 inline const NetworkPayload& GetNetworkingConfiguration() const{ return m_networkingConfiguration; }
70 inline bool NetworkingConfigurationHasBeenSet() const { return m_networkingConfigurationHasBeenSet; }
71 inline void SetNetworkingConfiguration(const NetworkPayload& value) { m_networkingConfigurationHasBeenSet = true; m_networkingConfiguration = value; }
72 inline void SetNetworkingConfiguration(NetworkPayload&& value) { m_networkingConfigurationHasBeenSet = true; m_networkingConfiguration = std::move(value); }
76
78
81 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
82 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
83 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
84 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
85 inline ProvisionDeviceRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
86 inline ProvisionDeviceRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
87 inline ProvisionDeviceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
88 inline ProvisionDeviceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
89 inline ProvisionDeviceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
90 inline ProvisionDeviceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
91 inline ProvisionDeviceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
92 inline ProvisionDeviceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
93 inline ProvisionDeviceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
95 private:
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102
103 NetworkPayload m_networkingConfiguration;
104 bool m_networkingConfigurationHasBeenSet = false;
105
107 bool m_tagsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Panorama
112} // namespace Aws
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