AWS SDK for C++

AWS SDK for C++ Version 1.11.910

Loading...
Searching...
No Matches
VpcConfigurationSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/VpcConfigurationStatus.h>
9#include <aws/bedrock-agent/model/VpcProtocol.h>
10#include <aws/bedrock-agent/model/VpcResolutionMode.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgent {
24namespace Model {
25
33 public:
34 AWS_BEDROCKAGENT_API VpcConfigurationSummary() = default;
37 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetVpcConfigurationId() const { return m_vpcConfigurationId; }
44 inline bool VpcConfigurationIdHasBeenSet() const { return m_vpcConfigurationIdHasBeenSet; }
45 template <typename VpcConfigurationIdT = Aws::String>
47 m_vpcConfigurationIdHasBeenSet = true;
48 m_vpcConfigurationId = std::forward<VpcConfigurationIdT>(value);
49 }
50 template <typename VpcConfigurationIdT = Aws::String>
52 SetVpcConfigurationId(std::forward<VpcConfigurationIdT>(value));
53 return *this;
54 }
56
58
61 inline VpcConfigurationStatus GetStatus() const { return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(VpcConfigurationStatus value) {
64 m_statusHasBeenSet = true;
65 m_status = value;
66 }
68 SetStatus(value);
69 return *this;
70 }
72
74
78 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
79 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
80 template <typename StatusMessageT = Aws::String>
82 m_statusMessageHasBeenSet = true;
83 m_statusMessage = std::forward<StatusMessageT>(value);
84 }
85 template <typename StatusMessageT = Aws::String>
87 SetStatusMessage(std::forward<StatusMessageT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetVpcId() const { return m_vpcId; }
98 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
99 template <typename VpcIdT = Aws::String>
100 void SetVpcId(VpcIdT&& value) {
101 m_vpcIdHasBeenSet = true;
102 m_vpcId = std::forward<VpcIdT>(value);
103 }
104 template <typename VpcIdT = Aws::String>
106 SetVpcId(std::forward<VpcIdT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetResourceTarget() const { return m_resourceTarget; }
116 inline bool ResourceTargetHasBeenSet() const { return m_resourceTargetHasBeenSet; }
117 template <typename ResourceTargetT = Aws::String>
119 m_resourceTargetHasBeenSet = true;
120 m_resourceTarget = std::forward<ResourceTargetT>(value);
121 }
122 template <typename ResourceTargetT = Aws::String>
124 SetResourceTarget(std::forward<ResourceTargetT>(value));
125 return *this;
126 }
128
130
133 inline int GetPort() const { return m_port; }
134 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
135 inline void SetPort(int value) {
136 m_portHasBeenSet = true;
137 m_port = value;
138 }
140 SetPort(value);
141 return *this;
142 }
144
146
149 inline VpcProtocol GetProtocol() const { return m_protocol; }
150 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
151 inline void SetProtocol(VpcProtocol value) {
152 m_protocolHasBeenSet = true;
153 m_protocol = value;
154 }
156 SetProtocol(value);
157 return *this;
158 }
160
162
165 inline VpcResolutionMode GetResolutionMode() const { return m_resolutionMode; }
166 inline bool ResolutionModeHasBeenSet() const { return m_resolutionModeHasBeenSet; }
168 m_resolutionModeHasBeenSet = true;
169 m_resolutionMode = value;
170 }
172 SetResolutionMode(value);
173 return *this;
174 }
176
178
182 inline const Aws::String& GetHostHeader() const { return m_hostHeader; }
183 inline bool HostHeaderHasBeenSet() const { return m_hostHeaderHasBeenSet; }
184 template <typename HostHeaderT = Aws::String>
186 m_hostHeaderHasBeenSet = true;
187 m_hostHeader = std::forward<HostHeaderT>(value);
188 }
189 template <typename HostHeaderT = Aws::String>
191 SetHostHeader(std::forward<HostHeaderT>(value));
192 return *this;
193 }
195
197
202 inline const Aws::String& GetTlsServerName() const { return m_tlsServerName; }
203 inline bool TlsServerNameHasBeenSet() const { return m_tlsServerNameHasBeenSet; }
204 template <typename TlsServerNameT = Aws::String>
206 m_tlsServerNameHasBeenSet = true;
207 m_tlsServerName = std::forward<TlsServerNameT>(value);
208 }
209 template <typename TlsServerNameT = Aws::String>
211 SetTlsServerName(std::forward<TlsServerNameT>(value));
212 return *this;
213 }
215
217
220 inline const Aws::String& GetName() const { return m_name; }
221 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
222 template <typename NameT = Aws::String>
223 void SetName(NameT&& value) {
224 m_nameHasBeenSet = true;
225 m_name = std::forward<NameT>(value);
226 }
227 template <typename NameT = Aws::String>
229 SetName(std::forward<NameT>(value));
230 return *this;
231 }
233
235
238 inline const Aws::String& GetDescription() const { return m_description; }
239 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
240 template <typename DescriptionT = Aws::String>
242 m_descriptionHasBeenSet = true;
243 m_description = std::forward<DescriptionT>(value);
244 }
245 template <typename DescriptionT = Aws::String>
247 SetDescription(std::forward<DescriptionT>(value));
248 return *this;
249 }
251
253
256 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
257 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
258 template <typename CreatedAtT = Aws::Utils::DateTime>
259 void SetCreatedAt(CreatedAtT&& value) {
260 m_createdAtHasBeenSet = true;
261 m_createdAt = std::forward<CreatedAtT>(value);
262 }
263 template <typename CreatedAtT = Aws::Utils::DateTime>
265 SetCreatedAt(std::forward<CreatedAtT>(value));
266 return *this;
267 }
269 private:
270 Aws::String m_vpcConfigurationId;
271
273
274 Aws::String m_statusMessage;
275
276 Aws::String m_vpcId;
277
278 Aws::String m_resourceTarget;
279
280 int m_port{0};
281
283
285
286 Aws::String m_hostHeader;
287
288 Aws::String m_tlsServerName;
289
290 Aws::String m_name;
291
292 Aws::String m_description;
293
294 Aws::Utils::DateTime m_createdAt{};
295 bool m_vpcConfigurationIdHasBeenSet = false;
296 bool m_statusHasBeenSet = false;
297 bool m_statusMessageHasBeenSet = false;
298 bool m_vpcIdHasBeenSet = false;
299 bool m_resourceTargetHasBeenSet = false;
300 bool m_portHasBeenSet = false;
301 bool m_protocolHasBeenSet = false;
302 bool m_resolutionModeHasBeenSet = false;
303 bool m_hostHeaderHasBeenSet = false;
304 bool m_tlsServerNameHasBeenSet = false;
305 bool m_nameHasBeenSet = false;
306 bool m_descriptionHasBeenSet = false;
307 bool m_createdAtHasBeenSet = false;
308};
309
310} // namespace Model
311} // namespace BedrockAgent
312} // namespace Aws
VpcConfigurationSummary & WithStatusMessage(StatusMessageT &&value)
VpcConfigurationSummary & WithName(NameT &&value)
VpcConfigurationSummary & WithResourceTarget(ResourceTargetT &&value)
AWS_BEDROCKAGENT_API VpcConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcConfigurationSummary & WithStatus(VpcConfigurationStatus value)
VpcConfigurationSummary & WithCreatedAt(CreatedAtT &&value)
VpcConfigurationSummary & WithProtocol(VpcProtocol value)
VpcConfigurationSummary & WithVpcId(VpcIdT &&value)
VpcConfigurationSummary & WithVpcConfigurationId(VpcConfigurationIdT &&value)
VpcConfigurationSummary & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENT_API VpcConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
VpcConfigurationSummary & WithTlsServerName(TlsServerNameT &&value)
VpcConfigurationSummary & WithHostHeader(HostHeaderT &&value)
AWS_BEDROCKAGENT_API VpcConfigurationSummary()=default
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConfigurationSummary & WithResolutionMode(VpcResolutionMode value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue