AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ProvisionDeviceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/panorama/PanoramaRequest.h>
10#include <aws/panorama/Panorama_EXPORTS.h>
11#include <aws/panorama/model/NetworkPayload.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Panorama {
17namespace Model {
18
22 public:
23 AWS_PANORAMA_API ProvisionDeviceRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "ProvisionDevice"; }
30
31 AWS_PANORAMA_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetDescription() const { return m_description; }
38 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
39 template <typename DescriptionT = Aws::String>
40 void SetDescription(DescriptionT&& value) {
41 m_descriptionHasBeenSet = true;
42 m_description = std::forward<DescriptionT>(value);
43 }
44 template <typename DescriptionT = Aws::String>
45 ProvisionDeviceRequest& WithDescription(DescriptionT&& value) {
46 SetDescription(std::forward<DescriptionT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline const NetworkPayload& GetNetworkingConfiguration() const { return m_networkingConfiguration; }
74 inline bool NetworkingConfigurationHasBeenSet() const { return m_networkingConfigurationHasBeenSet; }
75 template <typename NetworkingConfigurationT = NetworkPayload>
76 void SetNetworkingConfiguration(NetworkingConfigurationT&& value) {
77 m_networkingConfigurationHasBeenSet = true;
78 m_networkingConfiguration = std::forward<NetworkingConfigurationT>(value);
79 }
80 template <typename NetworkingConfigurationT = NetworkPayload>
81 ProvisionDeviceRequest& WithNetworkingConfiguration(NetworkingConfigurationT&& value) {
82 SetNetworkingConfiguration(std::forward<NetworkingConfigurationT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
92 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
93 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
94 void SetTags(TagsT&& value) {
95 m_tagsHasBeenSet = true;
96 m_tags = std::forward<TagsT>(value);
97 }
98 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 SetTags(std::forward<TagsT>(value));
101 return *this;
102 }
103 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
104 ProvisionDeviceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
105 m_tagsHasBeenSet = true;
106 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_description;
112
113 Aws::String m_name;
114
115 NetworkPayload m_networkingConfiguration;
116
118 bool m_descriptionHasBeenSet = false;
119 bool m_nameHasBeenSet = false;
120 bool m_networkingConfigurationHasBeenSet = false;
121 bool m_tagsHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace Panorama
126} // 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