AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
45 template<typename CreatedDateT = Aws::Utils::DateTime>
46 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
47 template<typename CreatedDateT = Aws::Utils::DateTime>
48 GetVpcLinkResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 GetVpcLinkResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
66 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
67 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
68 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
69 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
70 GetVpcLinkResult& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
71 template<typename SecurityGroupIdsT = Aws::String>
72 GetVpcLinkResult& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
74
76
79 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
80 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
81 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
82 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
83 GetVpcLinkResult& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
84 template<typename SubnetIdsT = Aws::String>
85 GetVpcLinkResult& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
87
89
92 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
93 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
94 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
95 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
96 GetVpcLinkResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
97 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
98 GetVpcLinkResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
99 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
100 }
102
104
107 inline const Aws::String& GetVpcLinkId() const { return m_vpcLinkId; }
108 template<typename VpcLinkIdT = Aws::String>
109 void SetVpcLinkId(VpcLinkIdT&& value) { m_vpcLinkIdHasBeenSet = true; m_vpcLinkId = std::forward<VpcLinkIdT>(value); }
110 template<typename VpcLinkIdT = Aws::String>
111 GetVpcLinkResult& WithVpcLinkId(VpcLinkIdT&& value) { SetVpcLinkId(std::forward<VpcLinkIdT>(value)); return *this;}
113
115
118 inline VpcLinkStatus GetVpcLinkStatus() const { return m_vpcLinkStatus; }
119 inline void SetVpcLinkStatus(VpcLinkStatus value) { m_vpcLinkStatusHasBeenSet = true; m_vpcLinkStatus = value; }
120 inline GetVpcLinkResult& WithVpcLinkStatus(VpcLinkStatus value) { SetVpcLinkStatus(value); return *this;}
122
124
127 inline const Aws::String& GetVpcLinkStatusMessage() const { return m_vpcLinkStatusMessage; }
128 template<typename VpcLinkStatusMessageT = Aws::String>
129 void SetVpcLinkStatusMessage(VpcLinkStatusMessageT&& value) { m_vpcLinkStatusMessageHasBeenSet = true; m_vpcLinkStatusMessage = std::forward<VpcLinkStatusMessageT>(value); }
130 template<typename VpcLinkStatusMessageT = Aws::String>
131 GetVpcLinkResult& WithVpcLinkStatusMessage(VpcLinkStatusMessageT&& value) { SetVpcLinkStatusMessage(std::forward<VpcLinkStatusMessageT>(value)); return *this;}
133
135
138 inline VpcLinkVersion GetVpcLinkVersion() const { return m_vpcLinkVersion; }
139 inline void SetVpcLinkVersion(VpcLinkVersion value) { m_vpcLinkVersionHasBeenSet = true; m_vpcLinkVersion = value; }
142
144
145 inline const Aws::String& GetRequestId() const { return m_requestId; }
146 template<typename RequestIdT = Aws::String>
147 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
148 template<typename RequestIdT = Aws::String>
149 GetVpcLinkResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
151 private:
152
153 Aws::Utils::DateTime m_createdDate{};
154 bool m_createdDateHasBeenSet = false;
155
156 Aws::String m_name;
157 bool m_nameHasBeenSet = false;
158
159 Aws::Vector<Aws::String> m_securityGroupIds;
160 bool m_securityGroupIdsHasBeenSet = false;
161
162 Aws::Vector<Aws::String> m_subnetIds;
163 bool m_subnetIdsHasBeenSet = false;
164
166 bool m_tagsHasBeenSet = false;
167
168 Aws::String m_vpcLinkId;
169 bool m_vpcLinkIdHasBeenSet = false;
170
171 VpcLinkStatus m_vpcLinkStatus{VpcLinkStatus::NOT_SET};
172 bool m_vpcLinkStatusHasBeenSet = false;
173
174 Aws::String m_vpcLinkStatusMessage;
175 bool m_vpcLinkStatusMessageHasBeenSet = false;
176
177 VpcLinkVersion m_vpcLinkVersion{VpcLinkVersion::NOT_SET};
178 bool m_vpcLinkVersionHasBeenSet = false;
179
180 Aws::String m_requestId;
181 bool m_requestIdHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace ApiGatewayV2
186} // 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