7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/vpc-lattice/model/IpAddressType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/vpc-lattice/model/ResourceGatewayStatus.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
45 template<
typename ArnT = Aws::String>
54 template<
typename IdT = Aws::String>
55 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
56 template<
typename IdT = Aws::String>
74 template<
typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
76 template<
typename NameT = Aws::String>
85 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
86 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
87 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
89 template<
typename SecurityGroupIdsT = Aws::String>
107 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
108 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
109 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
111 template<
typename SubnetIdsT = Aws::String>
120 template<
typename VpcIdT = Aws::String>
121 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
122 template<
typename VpcIdT = Aws::String>
129 template<
typename RequestIdT = Aws::String>
130 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
131 template<
typename RequestIdT = Aws::String>
137 bool m_arnHasBeenSet =
false;
140 bool m_idHasBeenSet =
false;
143 bool m_ipAddressTypeHasBeenSet =
false;
146 bool m_nameHasBeenSet =
false;
149 bool m_securityGroupIdsHasBeenSet =
false;
152 bool m_statusHasBeenSet =
false;
155 bool m_subnetIdsHasBeenSet =
false;
158 bool m_vpcIdHasBeenSet =
false;
161 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetVpcId() const
void SetSubnetIds(SubnetIdsT &&value)
UpdateResourceGatewayResult & WithRequestId(RequestIdT &&value)
UpdateResourceGatewayResult & AddSubnetIds(SubnetIdsT &&value)
UpdateResourceGatewayResult & WithVpcId(VpcIdT &&value)
void SetName(NameT &&value)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetArn() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
UpdateResourceGatewayResult & WithStatus(ResourceGatewayStatus value)
void SetRequestId(RequestIdT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetId() const
void SetStatus(ResourceGatewayStatus value)
AWS_VPCLATTICE_API UpdateResourceGatewayResult()=default
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetIpAddressType(IpAddressType value)
UpdateResourceGatewayResult & WithId(IdT &&value)
AWS_VPCLATTICE_API UpdateResourceGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateResourceGatewayResult & WithIpAddressType(IpAddressType value)
UpdateResourceGatewayResult & WithSubnetIds(SubnetIdsT &&value)
IpAddressType GetIpAddressType() const
UpdateResourceGatewayResult & WithSecurityGroupIds(SecurityGroupIdsT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::String & GetName() const
ResourceGatewayStatus GetStatus() const
UpdateResourceGatewayResult & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_VPCLATTICE_API UpdateResourceGatewayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateResourceGatewayResult & WithName(NameT &&value)
UpdateResourceGatewayResult & WithArn(ArnT &&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