7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/model/VpcEndpointStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace OpenSearchServerless
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
83 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
84 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
85 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
87 template<
typename SubnetIdsT = Aws::String>
99 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
100 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
101 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
103 template<
typename SecurityGroupIdsT = Aws::String>
113 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
119 bool m_idHasBeenSet =
false;
122 bool m_nameHasBeenSet =
false;
125 bool m_statusHasBeenSet =
false;
128 bool m_subnetIdsHasBeenSet =
false;
131 bool m_securityGroupIdsHasBeenSet =
false;
133 long long m_lastModifiedDate{0};
134 bool m_lastModifiedDateHasBeenSet =
false;
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
UpdateVpcEndpointDetail & WithId(IdT &&value)
long long GetLastModifiedDate() const
UpdateVpcEndpointDetail & WithName(NameT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::String & GetName() const
bool SubnetIdsHasBeenSet() const
void SetName(NameT &&value)
UpdateVpcEndpointDetail & WithStatus(VpcEndpointStatus value)
UpdateVpcEndpointDetail & WithLastModifiedDate(long long value)
void SetSubnetIds(SubnetIdsT &&value)
AWS_OPENSEARCHSERVERLESS_API UpdateVpcEndpointDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API UpdateVpcEndpointDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateVpcEndpointDetail & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool StatusHasBeenSet() const
bool IdHasBeenSet() const
UpdateVpcEndpointDetail & AddSecurityGroupIds(SecurityGroupIdsT &&value)
bool LastModifiedDateHasBeenSet() const
VpcEndpointStatus GetStatus() const
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetLastModifiedDate(long long value)
bool NameHasBeenSet() const
UpdateVpcEndpointDetail & AddSubnetIds(SubnetIdsT &&value)
void SetStatus(VpcEndpointStatus value)
const Aws::String & GetId() const
bool SecurityGroupIdsHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API UpdateVpcEndpointDetail()=default
UpdateVpcEndpointDetail & WithSubnetIds(SubnetIdsT &&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