AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
VpcIngressConnection.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/model/IngressVpcConfiguration.h>
9#include <aws/apprunner/model/VpcIngressConnectionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppRunner {
23namespace Model {
24
34 public:
35 AWS_APPRUNNER_API VpcIngressConnection() = default;
38 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetVpcIngressConnectionArn() const { return m_vpcIngressConnectionArn; }
45 inline bool VpcIngressConnectionArnHasBeenSet() const { return m_vpcIngressConnectionArnHasBeenSet; }
46 template <typename VpcIngressConnectionArnT = Aws::String>
47 void SetVpcIngressConnectionArn(VpcIngressConnectionArnT&& value) {
48 m_vpcIngressConnectionArnHasBeenSet = true;
49 m_vpcIngressConnectionArn = std::forward<VpcIngressConnectionArnT>(value);
50 }
51 template <typename VpcIngressConnectionArnT = Aws::String>
52 VpcIngressConnection& WithVpcIngressConnectionArn(VpcIngressConnectionArnT&& value) {
53 SetVpcIngressConnectionArn(std::forward<VpcIngressConnectionArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetVpcIngressConnectionName() const { return m_vpcIngressConnectionName; }
63 inline bool VpcIngressConnectionNameHasBeenSet() const { return m_vpcIngressConnectionNameHasBeenSet; }
64 template <typename VpcIngressConnectionNameT = Aws::String>
65 void SetVpcIngressConnectionName(VpcIngressConnectionNameT&& value) {
66 m_vpcIngressConnectionNameHasBeenSet = true;
67 m_vpcIngressConnectionName = std::forward<VpcIngressConnectionNameT>(value);
68 }
69 template <typename VpcIngressConnectionNameT = Aws::String>
70 VpcIngressConnection& WithVpcIngressConnectionName(VpcIngressConnectionNameT&& value) {
71 SetVpcIngressConnectionName(std::forward<VpcIngressConnectionNameT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
82 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
83 template <typename ServiceArnT = Aws::String>
84 void SetServiceArn(ServiceArnT&& value) {
85 m_serviceArnHasBeenSet = true;
86 m_serviceArn = std::forward<ServiceArnT>(value);
87 }
88 template <typename ServiceArnT = Aws::String>
89 VpcIngressConnection& WithServiceArn(ServiceArnT&& value) {
90 SetServiceArn(std::forward<ServiceArnT>(value));
91 return *this;
92 }
94
96
104 inline VpcIngressConnectionStatus GetStatus() const { return m_status; }
105 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
107 m_statusHasBeenSet = true;
108 m_status = value;
109 }
111 SetStatus(value);
112 return *this;
113 }
115
117
120 inline const Aws::String& GetAccountId() const { return m_accountId; }
121 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
122 template <typename AccountIdT = Aws::String>
123 void SetAccountId(AccountIdT&& value) {
124 m_accountIdHasBeenSet = true;
125 m_accountId = std::forward<AccountIdT>(value);
126 }
127 template <typename AccountIdT = Aws::String>
128 VpcIngressConnection& WithAccountId(AccountIdT&& value) {
129 SetAccountId(std::forward<AccountIdT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetDomainName() const { return m_domainName; }
139 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
140 template <typename DomainNameT = Aws::String>
141 void SetDomainName(DomainNameT&& value) {
142 m_domainNameHasBeenSet = true;
143 m_domainName = std::forward<DomainNameT>(value);
144 }
145 template <typename DomainNameT = Aws::String>
146 VpcIngressConnection& WithDomainName(DomainNameT&& value) {
147 SetDomainName(std::forward<DomainNameT>(value));
148 return *this;
149 }
151
153
157 inline const IngressVpcConfiguration& GetIngressVpcConfiguration() const { return m_ingressVpcConfiguration; }
158 inline bool IngressVpcConfigurationHasBeenSet() const { return m_ingressVpcConfigurationHasBeenSet; }
159 template <typename IngressVpcConfigurationT = IngressVpcConfiguration>
160 void SetIngressVpcConfiguration(IngressVpcConfigurationT&& value) {
161 m_ingressVpcConfigurationHasBeenSet = true;
162 m_ingressVpcConfiguration = std::forward<IngressVpcConfigurationT>(value);
163 }
164 template <typename IngressVpcConfigurationT = IngressVpcConfiguration>
165 VpcIngressConnection& WithIngressVpcConfiguration(IngressVpcConfigurationT&& value) {
166 SetIngressVpcConfiguration(std::forward<IngressVpcConfigurationT>(value));
167 return *this;
168 }
170
172
177 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
178 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
179 template <typename CreatedAtT = Aws::Utils::DateTime>
180 void SetCreatedAt(CreatedAtT&& value) {
181 m_createdAtHasBeenSet = true;
182 m_createdAt = std::forward<CreatedAtT>(value);
183 }
184 template <typename CreatedAtT = Aws::Utils::DateTime>
185 VpcIngressConnection& WithCreatedAt(CreatedAtT&& value) {
186 SetCreatedAt(std::forward<CreatedAtT>(value));
187 return *this;
188 }
190
192
197 inline const Aws::Utils::DateTime& GetDeletedAt() const { return m_deletedAt; }
198 inline bool DeletedAtHasBeenSet() const { return m_deletedAtHasBeenSet; }
199 template <typename DeletedAtT = Aws::Utils::DateTime>
200 void SetDeletedAt(DeletedAtT&& value) {
201 m_deletedAtHasBeenSet = true;
202 m_deletedAt = std::forward<DeletedAtT>(value);
203 }
204 template <typename DeletedAtT = Aws::Utils::DateTime>
205 VpcIngressConnection& WithDeletedAt(DeletedAtT&& value) {
206 SetDeletedAt(std::forward<DeletedAtT>(value));
207 return *this;
208 }
210 private:
211 Aws::String m_vpcIngressConnectionArn;
212
213 Aws::String m_vpcIngressConnectionName;
214
215 Aws::String m_serviceArn;
216
218
219 Aws::String m_accountId;
220
221 Aws::String m_domainName;
222
223 IngressVpcConfiguration m_ingressVpcConfiguration;
224
225 Aws::Utils::DateTime m_createdAt{};
226
227 Aws::Utils::DateTime m_deletedAt{};
228 bool m_vpcIngressConnectionArnHasBeenSet = false;
229 bool m_vpcIngressConnectionNameHasBeenSet = false;
230 bool m_serviceArnHasBeenSet = false;
231 bool m_statusHasBeenSet = false;
232 bool m_accountIdHasBeenSet = false;
233 bool m_domainNameHasBeenSet = false;
234 bool m_ingressVpcConfigurationHasBeenSet = false;
235 bool m_createdAtHasBeenSet = false;
236 bool m_deletedAtHasBeenSet = false;
237};
238
239} // namespace Model
240} // namespace AppRunner
241} // namespace Aws
VpcIngressConnectionStatus GetStatus() const
VpcIngressConnection & WithIngressVpcConfiguration(IngressVpcConfigurationT &&value)
VpcIngressConnection & WithVpcIngressConnectionName(VpcIngressConnectionNameT &&value)
VpcIngressConnection & WithAccountId(AccountIdT &&value)
const Aws::String & GetVpcIngressConnectionName() const
const Aws::String & GetVpcIngressConnectionArn() const
const Aws::Utils::DateTime & GetDeletedAt() const
AWS_APPRUNNER_API VpcIngressConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVpcIngressConnectionArn(VpcIngressConnectionArnT &&value)
AWS_APPRUNNER_API VpcIngressConnection(Aws::Utils::Json::JsonView jsonValue)
const IngressVpcConfiguration & GetIngressVpcConfiguration() const
void SetStatus(VpcIngressConnectionStatus value)
VpcIngressConnection & WithVpcIngressConnectionArn(VpcIngressConnectionArnT &&value)
VpcIngressConnection & WithDeletedAt(DeletedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
VpcIngressConnection & WithStatus(VpcIngressConnectionStatus value)
VpcIngressConnection & WithDomainName(DomainNameT &&value)
VpcIngressConnection & WithServiceArn(ServiceArnT &&value)
void SetIngressVpcConfiguration(IngressVpcConfigurationT &&value)
void SetVpcIngressConnectionName(VpcIngressConnectionNameT &&value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPRUNNER_API VpcIngressConnection()=default
VpcIngressConnection & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue