AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateLinkRequest.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/NetworkManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/networkmanager/model/Bandwidth.h>
11#include <utility>
12
13namespace Aws
14{
15namespace NetworkManager
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NETWORKMANAGER_API UpdateLinkRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateLink"; }
32
33 AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetGlobalNetworkId() const { return m_globalNetworkId; }
41 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
42 template<typename GlobalNetworkIdT = Aws::String>
43 void SetGlobalNetworkId(GlobalNetworkIdT&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::forward<GlobalNetworkIdT>(value); }
44 template<typename GlobalNetworkIdT = Aws::String>
45 UpdateLinkRequest& WithGlobalNetworkId(GlobalNetworkIdT&& value) { SetGlobalNetworkId(std::forward<GlobalNetworkIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetLinkId() const { return m_linkId; }
53 inline bool LinkIdHasBeenSet() const { return m_linkIdHasBeenSet; }
54 template<typename LinkIdT = Aws::String>
55 void SetLinkId(LinkIdT&& value) { m_linkIdHasBeenSet = true; m_linkId = std::forward<LinkIdT>(value); }
56 template<typename LinkIdT = Aws::String>
57 UpdateLinkRequest& WithLinkId(LinkIdT&& value) { SetLinkId(std::forward<LinkIdT>(value)); return *this;}
59
61
65 inline const Aws::String& GetDescription() const { return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 UpdateLinkRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
78 inline const Aws::String& GetType() const { return m_type; }
79 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
80 template<typename TypeT = Aws::String>
81 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
82 template<typename TypeT = Aws::String>
83 UpdateLinkRequest& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
85
87
90 inline const Bandwidth& GetBandwidth() const { return m_bandwidth; }
91 inline bool BandwidthHasBeenSet() const { return m_bandwidthHasBeenSet; }
92 template<typename BandwidthT = Bandwidth>
93 void SetBandwidth(BandwidthT&& value) { m_bandwidthHasBeenSet = true; m_bandwidth = std::forward<BandwidthT>(value); }
94 template<typename BandwidthT = Bandwidth>
95 UpdateLinkRequest& WithBandwidth(BandwidthT&& value) { SetBandwidth(std::forward<BandwidthT>(value)); return *this;}
97
99
103 inline const Aws::String& GetProvider() const { return m_provider; }
104 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
105 template<typename ProviderT = Aws::String>
106 void SetProvider(ProviderT&& value) { m_providerHasBeenSet = true; m_provider = std::forward<ProviderT>(value); }
107 template<typename ProviderT = Aws::String>
108 UpdateLinkRequest& WithProvider(ProviderT&& value) { SetProvider(std::forward<ProviderT>(value)); return *this;}
110 private:
111
112 Aws::String m_globalNetworkId;
113 bool m_globalNetworkIdHasBeenSet = false;
114
115 Aws::String m_linkId;
116 bool m_linkIdHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
121 Aws::String m_type;
122 bool m_typeHasBeenSet = false;
123
124 Bandwidth m_bandwidth;
125 bool m_bandwidthHasBeenSet = false;
126
127 Aws::String m_provider;
128 bool m_providerHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace NetworkManager
133} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String