AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename DescriptionT = Aws::String>
44 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
45 template<typename DescriptionT = Aws::String>
46 ProvisionDeviceRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template<typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
57 template<typename NameT = Aws::String>
58 ProvisionDeviceRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
60
62
65 inline const NetworkPayload& GetNetworkingConfiguration() const { return m_networkingConfiguration; }
66 inline bool NetworkingConfigurationHasBeenSet() const { return m_networkingConfigurationHasBeenSet; }
67 template<typename NetworkingConfigurationT = NetworkPayload>
68 void SetNetworkingConfiguration(NetworkingConfigurationT&& value) { m_networkingConfigurationHasBeenSet = true; m_networkingConfiguration = std::forward<NetworkingConfigurationT>(value); }
69 template<typename NetworkingConfigurationT = NetworkPayload>
70 ProvisionDeviceRequest& WithNetworkingConfiguration(NetworkingConfigurationT&& value) { SetNetworkingConfiguration(std::forward<NetworkingConfigurationT>(value)); return *this;}
72
74
77 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
78 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
79 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
80 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
81 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
82 ProvisionDeviceRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
83 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
84 ProvisionDeviceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
85 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
86 }
88 private:
89
90 Aws::String m_description;
91 bool m_descriptionHasBeenSet = false;
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
96 NetworkPayload m_networkingConfiguration;
97 bool m_networkingConfigurationHasBeenSet = false;
98
100 bool m_tagsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Panorama
105} // namespace Aws
ProvisionDeviceRequest & WithTags(TagsT &&value)
ProvisionDeviceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_PANORAMA_API Aws::String SerializePayload() const override
const NetworkPayload & GetNetworkingConfiguration() const
ProvisionDeviceRequest & WithNetworkingConfiguration(NetworkingConfigurationT &&value)
void SetNetworkingConfiguration(NetworkingConfigurationT &&value)
ProvisionDeviceRequest & WithName(NameT &&value)
ProvisionDeviceRequest & WithDescription(DescriptionT &&value)
AWS_PANORAMA_API ProvisionDeviceRequest()=default
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