AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGlobalNetworkId(const Aws::String& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = value; }
43 inline void SetGlobalNetworkId(Aws::String&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::move(value); }
44 inline void SetGlobalNetworkId(const char* value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId.assign(value); }
45 inline UpdateLinkRequest& WithGlobalNetworkId(const Aws::String& value) { SetGlobalNetworkId(value); return *this;}
46 inline UpdateLinkRequest& WithGlobalNetworkId(Aws::String&& value) { SetGlobalNetworkId(std::move(value)); return *this;}
47 inline UpdateLinkRequest& WithGlobalNetworkId(const char* value) { SetGlobalNetworkId(value); return *this;}
49
51
54 inline const Aws::String& GetLinkId() const{ return m_linkId; }
55 inline bool LinkIdHasBeenSet() const { return m_linkIdHasBeenSet; }
56 inline void SetLinkId(const Aws::String& value) { m_linkIdHasBeenSet = true; m_linkId = value; }
57 inline void SetLinkId(Aws::String&& value) { m_linkIdHasBeenSet = true; m_linkId = std::move(value); }
58 inline void SetLinkId(const char* value) { m_linkIdHasBeenSet = true; m_linkId.assign(value); }
59 inline UpdateLinkRequest& WithLinkId(const Aws::String& value) { SetLinkId(value); return *this;}
60 inline UpdateLinkRequest& WithLinkId(Aws::String&& value) { SetLinkId(std::move(value)); return *this;}
61 inline UpdateLinkRequest& WithLinkId(const char* value) { SetLinkId(value); return *this;}
63
65
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
74 inline UpdateLinkRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline UpdateLinkRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline UpdateLinkRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
84 inline const Aws::String& GetType() const{ return m_type; }
85 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
86 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
87 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
88 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
89 inline UpdateLinkRequest& WithType(const Aws::String& value) { SetType(value); return *this;}
90 inline UpdateLinkRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
91 inline UpdateLinkRequest& WithType(const char* value) { SetType(value); return *this;}
93
95
98 inline const Bandwidth& GetBandwidth() const{ return m_bandwidth; }
99 inline bool BandwidthHasBeenSet() const { return m_bandwidthHasBeenSet; }
100 inline void SetBandwidth(const Bandwidth& value) { m_bandwidthHasBeenSet = true; m_bandwidth = value; }
101 inline void SetBandwidth(Bandwidth&& value) { m_bandwidthHasBeenSet = true; m_bandwidth = std::move(value); }
102 inline UpdateLinkRequest& WithBandwidth(const Bandwidth& value) { SetBandwidth(value); return *this;}
103 inline UpdateLinkRequest& WithBandwidth(Bandwidth&& value) { SetBandwidth(std::move(value)); return *this;}
105
107
111 inline const Aws::String& GetProvider() const{ return m_provider; }
112 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
113 inline void SetProvider(const Aws::String& value) { m_providerHasBeenSet = true; m_provider = value; }
114 inline void SetProvider(Aws::String&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); }
115 inline void SetProvider(const char* value) { m_providerHasBeenSet = true; m_provider.assign(value); }
116 inline UpdateLinkRequest& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
117 inline UpdateLinkRequest& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
118 inline UpdateLinkRequest& WithProvider(const char* value) { SetProvider(value); return *this;}
120 private:
121
122 Aws::String m_globalNetworkId;
123 bool m_globalNetworkIdHasBeenSet = false;
124
125 Aws::String m_linkId;
126 bool m_linkIdHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
131 Aws::String m_type;
132 bool m_typeHasBeenSet = false;
133
134 Bandwidth m_bandwidth;
135 bool m_bandwidthHasBeenSet = false;
136
137 Aws::String m_provider;
138 bool m_providerHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace NetworkManager
143} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String