7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateVpcEndpointConnectionNotification"; }
49 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
59 template<
typename ServiceIdT = Aws::String>
60 void SetServiceId(ServiceIdT&& value) { m_serviceIdHasBeenSet =
true; m_serviceId = std::forward<ServiceIdT>(value); }
61 template<
typename ServiceIdT = Aws::String>
71 template<
typename VpcEndpo
intIdT = Aws::String>
72 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet =
true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
73 template<
typename VpcEndpo
intIdT = Aws::String>
83 template<
typename ConnectionNotificationArnT = Aws::String>
84 void SetConnectionNotificationArn(ConnectionNotificationArnT&& value) { m_connectionNotificationArnHasBeenSet =
true; m_connectionNotificationArn = std::forward<ConnectionNotificationArnT>(value); }
85 template<
typename ConnectionNotificationArnT = Aws::String>
97 template<
typename ConnectionEventsT = Aws::Vector<Aws::String>>
98 void SetConnectionEvents(ConnectionEventsT&& value) { m_connectionEventsHasBeenSet =
true; m_connectionEvents = std::forward<ConnectionEventsT>(value); }
99 template<
typename ConnectionEventsT = Aws::Vector<Aws::String>>
101 template<
typename ConnectionEventsT = Aws::String>
114 template<
typename ClientTokenT = Aws::String>
115 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
116 template<
typename ClientTokenT = Aws::String>
121 bool m_dryRun{
false};
122 bool m_dryRunHasBeenSet =
false;
125 bool m_serviceIdHasBeenSet =
false;
128 bool m_vpcEndpointIdHasBeenSet =
false;
131 bool m_connectionNotificationArnHasBeenSet =
false;
134 bool m_connectionEventsHasBeenSet =
false;
137 bool m_clientTokenHasBeenSet =
false;
AWS_EC2_API CreateVpcEndpointConnectionNotificationRequest()=default
CreateVpcEndpointConnectionNotificationRequest & WithServiceId(ServiceIdT &&value)
void SetServiceId(ServiceIdT &&value)
CreateVpcEndpointConnectionNotificationRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
bool ConnectionNotificationArnHasBeenSet() const
CreateVpcEndpointConnectionNotificationRequest & AddConnectionEvents(ConnectionEventsT &&value)
void SetClientToken(ClientTokenT &&value)
bool ServiceIdHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool ClientTokenHasBeenSet() const
const Aws::Vector< Aws::String > & GetConnectionEvents() const
bool DryRunHasBeenSet() const
void SetDryRun(bool value)
CreateVpcEndpointConnectionNotificationRequest & WithConnectionNotificationArn(ConnectionNotificationArnT &&value)
bool ConnectionEventsHasBeenSet() const
CreateVpcEndpointConnectionNotificationRequest & WithConnectionEvents(ConnectionEventsT &&value)
CreateVpcEndpointConnectionNotificationRequest & WithVpcEndpointId(VpcEndpointIdT &&value)
const Aws::String & GetServiceId() const
const Aws::String & GetVpcEndpointId() const
bool VpcEndpointIdHasBeenSet() const
const Aws::String & GetConnectionNotificationArn() const
void SetConnectionNotificationArn(ConnectionNotificationArnT &&value)
void SetConnectionEvents(ConnectionEventsT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::String & GetClientToken() const
void SetVpcEndpointId(VpcEndpointIdT &&value)
CreateVpcEndpointConnectionNotificationRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector