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>
54 template<
typename VpcConnectorNameT = Aws::String>
55 void SetVpcConnectorName(VpcConnectorNameT&& value) { m_vpcConnectorNameHasBeenSet =
true; m_vpcConnectorName = std::forward<VpcConnectorNameT>(value); }
56 template<
typename VpcConnectorNameT = Aws::String>
66 template<
typename VpcConnectorArnT = Aws::String>
67 void SetVpcConnectorArn(VpcConnectorArnT&& value) { m_vpcConnectorArnHasBeenSet =
true; m_vpcConnectorArn = std::forward<VpcConnectorArnT>(value); }
68 template<
typename VpcConnectorArnT = Aws::String>
81 inline void SetVpcConnectorRevision(
int value) { m_vpcConnectorRevisionHasBeenSet =
true; m_vpcConnectorRevision = value; }
92 template<
typename SubnetsT = Aws::Vector<Aws::String>>
93 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
94 template<
typename SubnetsT = Aws::Vector<Aws::String>>
96 template<
typename SubnetsT = Aws::String>
97 VpcConnector&
AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets.emplace_back(std::forward<SubnetsT>(value));
return *
this; }
109 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
110 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
111 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
113 template<
typename SecurityGroupsT = Aws::String>
114 VpcConnector&
AddSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
return *
this; }
136 template<
typename CreatedAtT = Aws::Utils::DateTime>
137 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
138 template<
typename CreatedAtT = Aws::Utils::DateTime>
149 template<
typename DeletedAtT = Aws::Utils::DateTime>
150 void SetDeletedAt(DeletedAtT&& value) { m_deletedAtHasBeenSet =
true; m_deletedAt = std::forward<DeletedAtT>(value); }
151 template<
typename DeletedAtT = Aws::Utils::DateTime>
157 bool m_vpcConnectorNameHasBeenSet =
false;
160 bool m_vpcConnectorArnHasBeenSet =
false;
162 int m_vpcConnectorRevision{0};
163 bool m_vpcConnectorRevisionHasBeenSet =
false;
166 bool m_subnetsHasBeenSet =
false;
169 bool m_securityGroupsHasBeenSet =
false;
172 bool m_statusHasBeenSet =
false;
175 bool m_createdAtHasBeenSet =
false;
178 bool m_deletedAtHasBeenSet =
false;
bool StatusHasBeenSet() const
void SetSubnets(SubnetsT &&value)
void SetVpcConnectorRevision(int value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetVpcConnectorArn() const
void SetVpcConnectorArn(VpcConnectorArnT &&value)
void SetVpcConnectorName(VpcConnectorNameT &&value)
VpcConnector & AddSecurityGroups(SecurityGroupsT &&value)
bool DeletedAtHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroups() const
const Aws::Utils::DateTime & GetDeletedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool CreatedAtHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnets() const
VpcConnector & WithVpcConnectorRevision(int value)
bool VpcConnectorNameHasBeenSet() const
VpcConnector & WithVpcConnectorArn(VpcConnectorArnT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
bool SecurityGroupsHasBeenSet() const
int GetVpcConnectorRevision() const
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(VpcConnectorStatus value)
void SetDeletedAt(DeletedAtT &&value)
VpcConnector & WithStatus(VpcConnectorStatus value)
VpcConnectorStatus GetStatus() const
AWS_APPRUNNER_API VpcConnector()=default
VpcConnector & WithCreatedAt(CreatedAtT &&value)
AWS_APPRUNNER_API VpcConnector(Aws::Utils::Json::JsonView jsonValue)
AWS_APPRUNNER_API VpcConnector & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VpcConnectorRevisionHasBeenSet() const
bool VpcConnectorArnHasBeenSet() const
bool SubnetsHasBeenSet() const
VpcConnector & WithSubnets(SubnetsT &&value)
VpcConnector & AddSubnets(SubnetsT &&value)
VpcConnector & WithVpcConnectorName(VpcConnectorNameT &&value)
VpcConnector & WithDeletedAt(DeletedAtT &&value)
const Aws::String & GetVpcConnectorName() const
VpcConnector & WithSecurityGroups(SecurityGroupsT &&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