7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename CreatedAtT = Aws::Utils::DateTime>
49 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
50 template<
typename CreatedAtT = Aws::Utils::DateTime>
60 template<
typename IdT = Aws::String>
61 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
62 template<
typename IdT = Aws::String>
72 template<
typename ServiceNetworkArnT = Aws::String>
73 void SetServiceNetworkArn(ServiceNetworkArnT&& value) { m_serviceNetworkArnHasBeenSet =
true; m_serviceNetworkArn = std::forward<ServiceNetworkArnT>(value); }
74 template<
typename ServiceNetworkArnT = Aws::String>
84 template<
typename StateT = Aws::String>
85 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
86 template<
typename StateT = Aws::String>
96 template<
typename VpcEndpo
intIdT = Aws::String>
97 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet =
true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
98 template<
typename VpcEndpo
intIdT = Aws::String>
108 template<
typename VpcEndpo
intOwnerIdT = Aws::String>
109 void SetVpcEndpointOwnerId(VpcEndpointOwnerIdT&& value) { m_vpcEndpointOwnerIdHasBeenSet =
true; m_vpcEndpointOwnerId = std::forward<VpcEndpointOwnerIdT>(value); }
110 template<
typename VpcEndpo
intOwnerIdT = 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>
128 bool m_createdAtHasBeenSet =
false;
131 bool m_idHasBeenSet =
false;
134 bool m_serviceNetworkArnHasBeenSet =
false;
137 bool m_stateHasBeenSet =
false;
140 bool m_vpcEndpointIdHasBeenSet =
false;
143 bool m_vpcEndpointOwnerIdHasBeenSet =
false;
146 bool m_vpcIdHasBeenSet =
false;
void SetState(StateT &&value)
bool VpcEndpointOwnerIdHasBeenSet() const
ServiceNetworkEndpointAssociation & WithServiceNetworkArn(ServiceNetworkArnT &&value)
void SetVpcEndpointId(VpcEndpointIdT &&value)
const Aws::String & GetId() const
ServiceNetworkEndpointAssociation & WithVpcEndpointId(VpcEndpointIdT &&value)
AWS_VPCLATTICE_API ServiceNetworkEndpointAssociation()=default
ServiceNetworkEndpointAssociation & WithState(StateT &&value)
const Aws::String & GetVpcEndpointOwnerId() const
bool VpcEndpointIdHasBeenSet() const
void SetServiceNetworkArn(ServiceNetworkArnT &&value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServiceNetworkArnHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetState() const
AWS_VPCLATTICE_API ServiceNetworkEndpointAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceNetworkEndpointAssociation & WithVpcId(VpcIdT &&value)
ServiceNetworkEndpointAssociation & WithVpcEndpointOwnerId(VpcEndpointOwnerIdT &&value)
bool IdHasBeenSet() const
ServiceNetworkEndpointAssociation & WithId(IdT &&value)
const Aws::String & GetVpcId() const
ServiceNetworkEndpointAssociation & WithCreatedAt(CreatedAtT &&value)
void SetVpcEndpointOwnerId(VpcEndpointOwnerIdT &&value)
AWS_VPCLATTICE_API ServiceNetworkEndpointAssociation(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetVpcId(VpcIdT &&value)
bool VpcIdHasBeenSet() const
const Aws::String & GetServiceNetworkArn() const
const Aws::String & GetVpcEndpointId() const
bool CreatedAtHasBeenSet() const
bool StateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue