AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
UpdateLinkRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/networkmanager/NetworkManagerRequest.h>
9#include <aws/networkmanager/NetworkManager_EXPORTS.h>
10#include <aws/networkmanager/model/Bandwidth.h>
11
12#include <utility>
13
14namespace Aws {
15namespace NetworkManager {
16namespace Model {
17
21 public:
22 AWS_NETWORKMANAGER_API UpdateLinkRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateLink"; }
29
30 AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetGlobalNetworkId() const { return m_globalNetworkId; }
37 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
38 template <typename GlobalNetworkIdT = Aws::String>
39 void SetGlobalNetworkId(GlobalNetworkIdT&& value) {
40 m_globalNetworkIdHasBeenSet = true;
41 m_globalNetworkId = std::forward<GlobalNetworkIdT>(value);
42 }
43 template <typename GlobalNetworkIdT = Aws::String>
44 UpdateLinkRequest& WithGlobalNetworkId(GlobalNetworkIdT&& value) {
45 SetGlobalNetworkId(std::forward<GlobalNetworkIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetLinkId() const { return m_linkId; }
55 inline bool LinkIdHasBeenSet() const { return m_linkIdHasBeenSet; }
56 template <typename LinkIdT = Aws::String>
57 void SetLinkId(LinkIdT&& value) {
58 m_linkIdHasBeenSet = true;
59 m_linkId = std::forward<LinkIdT>(value);
60 }
61 template <typename LinkIdT = Aws::String>
62 UpdateLinkRequest& WithLinkId(LinkIdT&& value) {
63 SetLinkId(std::forward<LinkIdT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
81 UpdateLinkRequest& WithDescription(DescriptionT&& value) {
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::String& GetType() const { return m_type; }
93 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
94 template <typename TypeT = Aws::String>
95 void SetType(TypeT&& value) {
96 m_typeHasBeenSet = true;
97 m_type = std::forward<TypeT>(value);
98 }
99 template <typename TypeT = Aws::String>
100 UpdateLinkRequest& WithType(TypeT&& value) {
101 SetType(std::forward<TypeT>(value));
102 return *this;
103 }
105
107
110 inline const Bandwidth& GetBandwidth() const { return m_bandwidth; }
111 inline bool BandwidthHasBeenSet() const { return m_bandwidthHasBeenSet; }
112 template <typename BandwidthT = Bandwidth>
113 void SetBandwidth(BandwidthT&& value) {
114 m_bandwidthHasBeenSet = true;
115 m_bandwidth = std::forward<BandwidthT>(value);
116 }
117 template <typename BandwidthT = Bandwidth>
118 UpdateLinkRequest& WithBandwidth(BandwidthT&& value) {
119 SetBandwidth(std::forward<BandwidthT>(value));
120 return *this;
121 }
123
125
129 inline const Aws::String& GetProvider() const { return m_provider; }
130 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
131 template <typename ProviderT = Aws::String>
132 void SetProvider(ProviderT&& value) {
133 m_providerHasBeenSet = true;
134 m_provider = std::forward<ProviderT>(value);
135 }
136 template <typename ProviderT = Aws::String>
137 UpdateLinkRequest& WithProvider(ProviderT&& value) {
138 SetProvider(std::forward<ProviderT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_globalNetworkId;
144
145 Aws::String m_linkId;
146
147 Aws::String m_description;
148
149 Aws::String m_type;
150
151 Bandwidth m_bandwidth;
152
153 Aws::String m_provider;
154 bool m_globalNetworkIdHasBeenSet = false;
155 bool m_linkIdHasBeenSet = false;
156 bool m_descriptionHasBeenSet = false;
157 bool m_typeHasBeenSet = false;
158 bool m_bandwidthHasBeenSet = false;
159 bool m_providerHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace NetworkManager
164} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String