7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/vpc-lattice/model/ResourceGatewayIpAddressType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/vpc-lattice/model/ResourceGatewayStatus.h>
50 template<
typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
52 template<
typename ArnT = Aws::String>
63 template<
typename CreatedAtT = Aws::Utils::DateTime>
64 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
65 template<
typename CreatedAtT = Aws::Utils::DateTime>
75 template<
typename IdT = Aws::String>
76 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
77 template<
typename IdT = Aws::String>
98 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
99 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
100 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
110 template<
typename NameT = Aws::String>
111 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
112 template<
typename NameT = Aws::String>
122 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
123 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
124 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
126 template<
typename SecurityGroupIdsT = Aws::String>
146 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
147 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
148 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
150 template<
typename SubnetIdsT = Aws::String>
160 template<
typename VpcIdentifierT = Aws::String>
161 void SetVpcIdentifier(VpcIdentifierT&& value) { m_vpcIdentifierHasBeenSet =
true; m_vpcIdentifier = std::forward<VpcIdentifierT>(value); }
162 template<
typename VpcIdentifierT = Aws::String>
168 bool m_arnHasBeenSet =
false;
171 bool m_createdAtHasBeenSet =
false;
174 bool m_idHasBeenSet =
false;
177 bool m_ipAddressTypeHasBeenSet =
false;
180 bool m_lastUpdatedAtHasBeenSet =
false;
183 bool m_nameHasBeenSet =
false;
186 bool m_securityGroupIdsHasBeenSet =
false;
189 bool m_statusHasBeenSet =
false;
192 bool m_subnetIdsHasBeenSet =
false;
195 bool m_vpcIdentifierHasBeenSet =
false;
ResourceGatewaySummary & WithStatus(ResourceGatewayStatus value)
bool IdHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
bool VpcIdentifierHasBeenSet() const
AWS_VPCLATTICE_API ResourceGatewaySummary(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
void SetName(NameT &&value)
bool CreatedAtHasBeenSet() const
void SetVpcIdentifier(VpcIdentifierT &&value)
bool IpAddressTypeHasBeenSet() const
ResourceGatewaySummary & WithCreatedAt(CreatedAtT &&value)
void SetSubnetIds(SubnetIdsT &&value)
ResourceGatewaySummary & WithSubnetIds(SubnetIdsT &&value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceGatewayIpAddressType GetIpAddressType() const
void SetIpAddressType(ResourceGatewayIpAddressType value)
ResourceGatewaySummary & WithIpAddressType(ResourceGatewayIpAddressType value)
const Aws::String & GetArn() const
AWS_VPCLATTICE_API ResourceGatewaySummary()=default
void SetCreatedAt(CreatedAtT &&value)
bool LastUpdatedAtHasBeenSet() const
void SetStatus(ResourceGatewayStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
ResourceGatewayStatus GetStatus() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
ResourceGatewaySummary & WithVpcIdentifier(VpcIdentifierT &&value)
const Aws::String & GetId() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::String & GetVpcIdentifier() const
ResourceGatewaySummary & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetArn(ArnT &&value)
bool NameHasBeenSet() const
bool SecurityGroupIdsHasBeenSet() const
ResourceGatewaySummary & WithName(NameT &&value)
AWS_VPCLATTICE_API ResourceGatewaySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
ResourceGatewaySummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
ResourceGatewaySummary & WithSecurityGroupIds(SecurityGroupIdsT &&value)
ResourceGatewaySummary & WithId(IdT &&value)
ResourceGatewaySummary & AddSubnetIds(SubnetIdsT &&value)
bool SubnetIdsHasBeenSet() const
bool ArnHasBeenSet() const
ResourceGatewaySummary & WithArn(ArnT &&value)
ResourceGatewayIpAddressType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue