AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetVpcLinkResult.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/apigatewayv2/model/VpcLinkStatus.h>
13#include <aws/apigatewayv2/model/VpcLinkVersion.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace ApiGatewayV2
29{
30namespace Model
31{
33 {
34 public:
35 AWS_APIGATEWAYV2_API GetVpcLinkResult();
38
39
41
44 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
45 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
46 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
47 inline GetVpcLinkResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
48 inline GetVpcLinkResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline void SetName(const Aws::String& value) { m_name = value; }
57 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
58 inline void SetName(const char* value) { m_name.assign(value); }
59 inline GetVpcLinkResult& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline GetVpcLinkResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline GetVpcLinkResult& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
69 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIds = value; }
70 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIds = std::move(value); }
72 inline GetVpcLinkResult& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
73 inline GetVpcLinkResult& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIds.push_back(value); return *this; }
74 inline GetVpcLinkResult& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIds.push_back(std::move(value)); return *this; }
75 inline GetVpcLinkResult& AddSecurityGroupIds(const char* value) { m_securityGroupIds.push_back(value); return *this; }
77
79
82 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
83 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIds = value; }
84 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIds = std::move(value); }
85 inline GetVpcLinkResult& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
86 inline GetVpcLinkResult& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
87 inline GetVpcLinkResult& AddSubnetIds(const Aws::String& value) { m_subnetIds.push_back(value); return *this; }
88 inline GetVpcLinkResult& AddSubnetIds(Aws::String&& value) { m_subnetIds.push_back(std::move(value)); return *this; }
89 inline GetVpcLinkResult& AddSubnetIds(const char* value) { m_subnetIds.push_back(value); return *this; }
91
93
96 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
97 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
98 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
99 inline GetVpcLinkResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
100 inline GetVpcLinkResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
101 inline GetVpcLinkResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
102 inline GetVpcLinkResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
103 inline GetVpcLinkResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
104 inline GetVpcLinkResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
105 inline GetVpcLinkResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
106 inline GetVpcLinkResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
107 inline GetVpcLinkResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
109
111
114 inline const Aws::String& GetVpcLinkId() const{ return m_vpcLinkId; }
115 inline void SetVpcLinkId(const Aws::String& value) { m_vpcLinkId = value; }
116 inline void SetVpcLinkId(Aws::String&& value) { m_vpcLinkId = std::move(value); }
117 inline void SetVpcLinkId(const char* value) { m_vpcLinkId.assign(value); }
118 inline GetVpcLinkResult& WithVpcLinkId(const Aws::String& value) { SetVpcLinkId(value); return *this;}
119 inline GetVpcLinkResult& WithVpcLinkId(Aws::String&& value) { SetVpcLinkId(std::move(value)); return *this;}
120 inline GetVpcLinkResult& WithVpcLinkId(const char* value) { SetVpcLinkId(value); return *this;}
122
124
127 inline const VpcLinkStatus& GetVpcLinkStatus() const{ return m_vpcLinkStatus; }
128 inline void SetVpcLinkStatus(const VpcLinkStatus& value) { m_vpcLinkStatus = value; }
129 inline void SetVpcLinkStatus(VpcLinkStatus&& value) { m_vpcLinkStatus = std::move(value); }
130 inline GetVpcLinkResult& WithVpcLinkStatus(const VpcLinkStatus& value) { SetVpcLinkStatus(value); return *this;}
131 inline GetVpcLinkResult& WithVpcLinkStatus(VpcLinkStatus&& value) { SetVpcLinkStatus(std::move(value)); return *this;}
133
135
138 inline const Aws::String& GetVpcLinkStatusMessage() const{ return m_vpcLinkStatusMessage; }
139 inline void SetVpcLinkStatusMessage(const Aws::String& value) { m_vpcLinkStatusMessage = value; }
140 inline void SetVpcLinkStatusMessage(Aws::String&& value) { m_vpcLinkStatusMessage = std::move(value); }
141 inline void SetVpcLinkStatusMessage(const char* value) { m_vpcLinkStatusMessage.assign(value); }
143 inline GetVpcLinkResult& WithVpcLinkStatusMessage(Aws::String&& value) { SetVpcLinkStatusMessage(std::move(value)); return *this;}
144 inline GetVpcLinkResult& WithVpcLinkStatusMessage(const char* value) { SetVpcLinkStatusMessage(value); return *this;}
146
148
151 inline const VpcLinkVersion& GetVpcLinkVersion() const{ return m_vpcLinkVersion; }
152 inline void SetVpcLinkVersion(const VpcLinkVersion& value) { m_vpcLinkVersion = value; }
153 inline void SetVpcLinkVersion(VpcLinkVersion&& value) { m_vpcLinkVersion = std::move(value); }
154 inline GetVpcLinkResult& WithVpcLinkVersion(const VpcLinkVersion& value) { SetVpcLinkVersion(value); return *this;}
155 inline GetVpcLinkResult& WithVpcLinkVersion(VpcLinkVersion&& value) { SetVpcLinkVersion(std::move(value)); return *this;}
157
159
160 inline const Aws::String& GetRequestId() const{ return m_requestId; }
161 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
162 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
163 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
164 inline GetVpcLinkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
165 inline GetVpcLinkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
166 inline GetVpcLinkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
168 private:
169
170 Aws::Utils::DateTime m_createdDate;
171
172 Aws::String m_name;
173
174 Aws::Vector<Aws::String> m_securityGroupIds;
175
176 Aws::Vector<Aws::String> m_subnetIds;
177
179
180 Aws::String m_vpcLinkId;
181
182 VpcLinkStatus m_vpcLinkStatus;
183
184 Aws::String m_vpcLinkStatusMessage;
185
186 VpcLinkVersion m_vpcLinkVersion;
187
188 Aws::String m_requestId;
189 };
190
191} // namespace Model
192} // namespace ApiGatewayV2
193} // namespace Aws
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue