AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcIngressConnection.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apprunner/model/VpcIngressConnectionStatus.h>
10#include <aws/apprunner/model/IngressVpcConfiguration.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AppRunner
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_APPRUNNER_API VpcIngressConnection();
43 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetVpcIngressConnectionArn() const{ return m_vpcIngressConnectionArn; }
51 inline bool VpcIngressConnectionArnHasBeenSet() const { return m_vpcIngressConnectionArnHasBeenSet; }
52 inline void SetVpcIngressConnectionArn(const Aws::String& value) { m_vpcIngressConnectionArnHasBeenSet = true; m_vpcIngressConnectionArn = value; }
53 inline void SetVpcIngressConnectionArn(Aws::String&& value) { m_vpcIngressConnectionArnHasBeenSet = true; m_vpcIngressConnectionArn = std::move(value); }
54 inline void SetVpcIngressConnectionArn(const char* value) { m_vpcIngressConnectionArnHasBeenSet = true; m_vpcIngressConnectionArn.assign(value); }
57 inline VpcIngressConnection& WithVpcIngressConnectionArn(const char* value) { SetVpcIngressConnectionArn(value); return *this;}
59
61
64 inline const Aws::String& GetVpcIngressConnectionName() const{ return m_vpcIngressConnectionName; }
65 inline bool VpcIngressConnectionNameHasBeenSet() const { return m_vpcIngressConnectionNameHasBeenSet; }
66 inline void SetVpcIngressConnectionName(const Aws::String& value) { m_vpcIngressConnectionNameHasBeenSet = true; m_vpcIngressConnectionName = value; }
67 inline void SetVpcIngressConnectionName(Aws::String&& value) { m_vpcIngressConnectionNameHasBeenSet = true; m_vpcIngressConnectionName = std::move(value); }
68 inline void SetVpcIngressConnectionName(const char* value) { m_vpcIngressConnectionNameHasBeenSet = true; m_vpcIngressConnectionName.assign(value); }
71 inline VpcIngressConnection& WithVpcIngressConnectionName(const char* value) { SetVpcIngressConnectionName(value); return *this;}
73
75
79 inline const Aws::String& GetServiceArn() const{ return m_serviceArn; }
80 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
81 inline void SetServiceArn(const Aws::String& value) { m_serviceArnHasBeenSet = true; m_serviceArn = value; }
82 inline void SetServiceArn(Aws::String&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::move(value); }
83 inline void SetServiceArn(const char* value) { m_serviceArnHasBeenSet = true; m_serviceArn.assign(value); }
84 inline VpcIngressConnection& WithServiceArn(const Aws::String& value) { SetServiceArn(value); return *this;}
85 inline VpcIngressConnection& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;}
86 inline VpcIngressConnection& WithServiceArn(const char* value) { SetServiceArn(value); return *this;}
88
90
98 inline const VpcIngressConnectionStatus& GetStatus() const{ return m_status; }
99 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
100 inline void SetStatus(const VpcIngressConnectionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
101 inline void SetStatus(VpcIngressConnectionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
102 inline VpcIngressConnection& WithStatus(const VpcIngressConnectionStatus& value) { SetStatus(value); return *this;}
103 inline VpcIngressConnection& WithStatus(VpcIngressConnectionStatus&& value) { SetStatus(std::move(value)); return *this;}
105
107
110 inline const Aws::String& GetAccountId() const{ return m_accountId; }
111 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
112 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
113 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
114 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
115 inline VpcIngressConnection& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
116 inline VpcIngressConnection& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
117 inline VpcIngressConnection& WithAccountId(const char* value) { SetAccountId(value); return *this;}
119
121
124 inline const Aws::String& GetDomainName() const{ return m_domainName; }
125 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
126 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
127 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
128 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
129 inline VpcIngressConnection& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
130 inline VpcIngressConnection& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
131 inline VpcIngressConnection& WithDomainName(const char* value) { SetDomainName(value); return *this;}
133
135
139 inline const IngressVpcConfiguration& GetIngressVpcConfiguration() const{ return m_ingressVpcConfiguration; }
140 inline bool IngressVpcConfigurationHasBeenSet() const { return m_ingressVpcConfigurationHasBeenSet; }
141 inline void SetIngressVpcConfiguration(const IngressVpcConfiguration& value) { m_ingressVpcConfigurationHasBeenSet = true; m_ingressVpcConfiguration = value; }
142 inline void SetIngressVpcConfiguration(IngressVpcConfiguration&& value) { m_ingressVpcConfigurationHasBeenSet = true; m_ingressVpcConfiguration = std::move(value); }
146
148
153 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
154 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
155 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
156 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
157 inline VpcIngressConnection& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
158 inline VpcIngressConnection& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
160
162
167 inline const Aws::Utils::DateTime& GetDeletedAt() const{ return m_deletedAt; }
168 inline bool DeletedAtHasBeenSet() const { return m_deletedAtHasBeenSet; }
169 inline void SetDeletedAt(const Aws::Utils::DateTime& value) { m_deletedAtHasBeenSet = true; m_deletedAt = value; }
170 inline void SetDeletedAt(Aws::Utils::DateTime&& value) { m_deletedAtHasBeenSet = true; m_deletedAt = std::move(value); }
171 inline VpcIngressConnection& WithDeletedAt(const Aws::Utils::DateTime& value) { SetDeletedAt(value); return *this;}
172 inline VpcIngressConnection& WithDeletedAt(Aws::Utils::DateTime&& value) { SetDeletedAt(std::move(value)); return *this;}
174 private:
175
176 Aws::String m_vpcIngressConnectionArn;
177 bool m_vpcIngressConnectionArnHasBeenSet = false;
178
179 Aws::String m_vpcIngressConnectionName;
180 bool m_vpcIngressConnectionNameHasBeenSet = false;
181
182 Aws::String m_serviceArn;
183 bool m_serviceArnHasBeenSet = false;
184
186 bool m_statusHasBeenSet = false;
187
188 Aws::String m_accountId;
189 bool m_accountIdHasBeenSet = false;
190
191 Aws::String m_domainName;
192 bool m_domainNameHasBeenSet = false;
193
194 IngressVpcConfiguration m_ingressVpcConfiguration;
195 bool m_ingressVpcConfigurationHasBeenSet = false;
196
197 Aws::Utils::DateTime m_createdAt;
198 bool m_createdAtHasBeenSet = false;
199
200 Aws::Utils::DateTime m_deletedAt;
201 bool m_deletedAtHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace AppRunner
206} // namespace Aws
const Aws::String & GetVpcIngressConnectionName() const
VpcIngressConnection & WithServiceArn(Aws::String &&value)
const Aws::String & GetVpcIngressConnectionArn() const
VpcIngressConnection & WithServiceArn(const char *value)
VpcIngressConnection & WithVpcIngressConnectionName(const Aws::String &value)
VpcIngressConnection & WithVpcIngressConnectionName(const char *value)
const Aws::Utils::DateTime & GetDeletedAt() const
AWS_APPRUNNER_API VpcIngressConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(VpcIngressConnectionStatus &&value)
AWS_APPRUNNER_API VpcIngressConnection(Aws::Utils::Json::JsonView jsonValue)
const IngressVpcConfiguration & GetIngressVpcConfiguration() const
void SetVpcIngressConnectionName(const Aws::String &value)
VpcIngressConnection & WithVpcIngressConnectionName(Aws::String &&value)
VpcIngressConnection & WithStatus(const VpcIngressConnectionStatus &value)
VpcIngressConnection & WithVpcIngressConnectionArn(const char *value)
VpcIngressConnection & WithDeletedAt(const Aws::Utils::DateTime &value)
VpcIngressConnection & WithAccountId(Aws::String &&value)
VpcIngressConnection & WithAccountId(const char *value)
VpcIngressConnection & WithStatus(VpcIngressConnectionStatus &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
VpcIngressConnection & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetDeletedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
VpcIngressConnection & WithDomainName(Aws::String &&value)
VpcIngressConnection & WithAccountId(const Aws::String &value)
VpcIngressConnection & WithVpcIngressConnectionArn(Aws::String &&value)
VpcIngressConnection & WithIngressVpcConfiguration(IngressVpcConfiguration &&value)
VpcIngressConnection & WithVpcIngressConnectionArn(const Aws::String &value)
void SetDeletedAt(Aws::Utils::DateTime &&value)
void SetIngressVpcConfiguration(const IngressVpcConfiguration &value)
VpcIngressConnection & WithDomainName(const char *value)
void SetIngressVpcConfiguration(IngressVpcConfiguration &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetStatus(const VpcIngressConnectionStatus &value)
VpcIngressConnection & WithDomainName(const Aws::String &value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
VpcIngressConnection & WithDeletedAt(Aws::Utils::DateTime &&value)
VpcIngressConnection & WithServiceArn(const Aws::String &value)
VpcIngressConnection & WithIngressVpcConfiguration(const IngressVpcConfiguration &value)
void SetVpcIngressConnectionArn(const Aws::String &value)
VpcIngressConnection & WithCreatedAt(Aws::Utils::DateTime &&value)
const VpcIngressConnectionStatus & GetStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue