AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcConnector.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/apprunner/model/VpcConnectorStatus.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
40 {
41 public:
42 AWS_APPRUNNER_API VpcConnector();
43 AWS_APPRUNNER_API VpcConnector(Aws::Utils::Json::JsonView jsonValue);
44 AWS_APPRUNNER_API VpcConnector& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetVpcConnectorName() const{ return m_vpcConnectorName; }
53 inline bool VpcConnectorNameHasBeenSet() const { return m_vpcConnectorNameHasBeenSet; }
54 inline void SetVpcConnectorName(const Aws::String& value) { m_vpcConnectorNameHasBeenSet = true; m_vpcConnectorName = value; }
55 inline void SetVpcConnectorName(Aws::String&& value) { m_vpcConnectorNameHasBeenSet = true; m_vpcConnectorName = std::move(value); }
56 inline void SetVpcConnectorName(const char* value) { m_vpcConnectorNameHasBeenSet = true; m_vpcConnectorName.assign(value); }
57 inline VpcConnector& WithVpcConnectorName(const Aws::String& value) { SetVpcConnectorName(value); return *this;}
58 inline VpcConnector& WithVpcConnectorName(Aws::String&& value) { SetVpcConnectorName(std::move(value)); return *this;}
59 inline VpcConnector& WithVpcConnectorName(const char* value) { SetVpcConnectorName(value); return *this;}
61
63
66 inline const Aws::String& GetVpcConnectorArn() const{ return m_vpcConnectorArn; }
67 inline bool VpcConnectorArnHasBeenSet() const { return m_vpcConnectorArnHasBeenSet; }
68 inline void SetVpcConnectorArn(const Aws::String& value) { m_vpcConnectorArnHasBeenSet = true; m_vpcConnectorArn = value; }
69 inline void SetVpcConnectorArn(Aws::String&& value) { m_vpcConnectorArnHasBeenSet = true; m_vpcConnectorArn = std::move(value); }
70 inline void SetVpcConnectorArn(const char* value) { m_vpcConnectorArnHasBeenSet = true; m_vpcConnectorArn.assign(value); }
71 inline VpcConnector& WithVpcConnectorArn(const Aws::String& value) { SetVpcConnectorArn(value); return *this;}
72 inline VpcConnector& WithVpcConnectorArn(Aws::String&& value) { SetVpcConnectorArn(std::move(value)); return *this;}
73 inline VpcConnector& WithVpcConnectorArn(const char* value) { SetVpcConnectorArn(value); return *this;}
75
77
83 inline int GetVpcConnectorRevision() const{ return m_vpcConnectorRevision; }
84 inline bool VpcConnectorRevisionHasBeenSet() const { return m_vpcConnectorRevisionHasBeenSet; }
85 inline void SetVpcConnectorRevision(int value) { m_vpcConnectorRevisionHasBeenSet = true; m_vpcConnectorRevision = value; }
86 inline VpcConnector& WithVpcConnectorRevision(int value) { SetVpcConnectorRevision(value); return *this;}
88
90
94 inline const Aws::Vector<Aws::String>& GetSubnets() const{ return m_subnets; }
95 inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
96 inline void SetSubnets(const Aws::Vector<Aws::String>& value) { m_subnetsHasBeenSet = true; m_subnets = value; }
97 inline void SetSubnets(Aws::Vector<Aws::String>&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); }
98 inline VpcConnector& WithSubnets(const Aws::Vector<Aws::String>& value) { SetSubnets(value); return *this;}
99 inline VpcConnector& WithSubnets(Aws::Vector<Aws::String>&& value) { SetSubnets(std::move(value)); return *this;}
100 inline VpcConnector& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
101 inline VpcConnector& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; }
102 inline VpcConnector& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
104
106
112 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
113 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
114 inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
115 inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
116 inline VpcConnector& WithSecurityGroups(const Aws::Vector<Aws::String>& value) { SetSecurityGroups(value); return *this;}
117 inline VpcConnector& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
118 inline VpcConnector& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
119 inline VpcConnector& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
120 inline VpcConnector& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
122
124
129 inline const VpcConnectorStatus& GetStatus() const{ return m_status; }
130 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
131 inline void SetStatus(const VpcConnectorStatus& value) { m_statusHasBeenSet = true; m_status = value; }
132 inline void SetStatus(VpcConnectorStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
133 inline VpcConnector& WithStatus(const VpcConnectorStatus& value) { SetStatus(value); return *this;}
134 inline VpcConnector& WithStatus(VpcConnectorStatus&& value) { SetStatus(std::move(value)); return *this;}
136
138
142 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
143 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
144 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
145 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
146 inline VpcConnector& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
147 inline VpcConnector& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
149
151
155 inline const Aws::Utils::DateTime& GetDeletedAt() const{ return m_deletedAt; }
156 inline bool DeletedAtHasBeenSet() const { return m_deletedAtHasBeenSet; }
157 inline void SetDeletedAt(const Aws::Utils::DateTime& value) { m_deletedAtHasBeenSet = true; m_deletedAt = value; }
158 inline void SetDeletedAt(Aws::Utils::DateTime&& value) { m_deletedAtHasBeenSet = true; m_deletedAt = std::move(value); }
159 inline VpcConnector& WithDeletedAt(const Aws::Utils::DateTime& value) { SetDeletedAt(value); return *this;}
160 inline VpcConnector& WithDeletedAt(Aws::Utils::DateTime&& value) { SetDeletedAt(std::move(value)); return *this;}
162 private:
163
164 Aws::String m_vpcConnectorName;
165 bool m_vpcConnectorNameHasBeenSet = false;
166
167 Aws::String m_vpcConnectorArn;
168 bool m_vpcConnectorArnHasBeenSet = false;
169
170 int m_vpcConnectorRevision;
171 bool m_vpcConnectorRevisionHasBeenSet = false;
172
173 Aws::Vector<Aws::String> m_subnets;
174 bool m_subnetsHasBeenSet = false;
175
176 Aws::Vector<Aws::String> m_securityGroups;
177 bool m_securityGroupsHasBeenSet = false;
178
179 VpcConnectorStatus m_status;
180 bool m_statusHasBeenSet = false;
181
182 Aws::Utils::DateTime m_createdAt;
183 bool m_createdAtHasBeenSet = false;
184
185 Aws::Utils::DateTime m_deletedAt;
186 bool m_deletedAtHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace AppRunner
191} // namespace Aws
VpcConnector & WithSubnets(Aws::Vector< Aws::String > &&value)
VpcConnector & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
VpcConnector & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
const Aws::String & GetVpcConnectorArn() const
VpcConnector & WithVpcConnectorName(const Aws::String &value)
VpcConnector & WithVpcConnectorArn(const Aws::String &value)
void SetVpcConnectorArn(const char *value)
VpcConnector & WithVpcConnectorArn(const char *value)
VpcConnector & WithCreatedAt(Aws::Utils::DateTime &&value)
VpcConnector & AddSubnets(const Aws::String &value)
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
const Aws::Utils::DateTime & GetDeletedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
VpcConnector & WithDeletedAt(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetSubnets() const
VpcConnector & WithVpcConnectorRevision(int value)
VpcConnector & AddSubnets(const char *value)
VpcConnector & WithVpcConnectorName(Aws::String &&value)
void SetVpcConnectorArn(Aws::String &&value)
void SetVpcConnectorName(const Aws::String &value)
const VpcConnectorStatus & GetStatus() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
VpcConnector & AddSecurityGroups(const char *value)
VpcConnector & WithDeletedAt(const Aws::Utils::DateTime &value)
VpcConnector & WithSubnets(const Aws::Vector< Aws::String > &value)
void SetStatus(const VpcConnectorStatus &value)
VpcConnector & WithVpcConnectorName(const char *value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpcConnectorName(Aws::String &&value)
void SetDeletedAt(const Aws::Utils::DateTime &value)
void SetDeletedAt(Aws::Utils::DateTime &&value)
AWS_APPRUNNER_API VpcConnector(Aws::Utils::Json::JsonView jsonValue)
void SetSubnets(Aws::Vector< Aws::String > &&value)
void SetVpcConnectorArn(const Aws::String &value)
AWS_APPRUNNER_API VpcConnector & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcConnector & AddSubnets(Aws::String &&value)
void SetStatus(VpcConnectorStatus &&value)
void SetVpcConnectorName(const char *value)
VpcConnector & WithStatus(const VpcConnectorStatus &value)
VpcConnector & AddSecurityGroups(Aws::String &&value)
VpcConnector & WithCreatedAt(const Aws::Utils::DateTime &value)
VpcConnector & WithVpcConnectorArn(Aws::String &&value)
VpcConnector & WithStatus(VpcConnectorStatus &&value)
const Aws::String & GetVpcConnectorName() const
void SetSubnets(const Aws::Vector< Aws::String > &value)
VpcConnector & AddSecurityGroups(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue