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 "ModifyVpcEndpointConnectionNotification"; }
49 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
59 template<
typename ConnectionNotificationIdT = Aws::String>
60 void SetConnectionNotificationId(ConnectionNotificationIdT&& value) { m_connectionNotificationIdHasBeenSet =
true; m_connectionNotificationId = std::forward<ConnectionNotificationIdT>(value); }
61 template<
typename ConnectionNotificationIdT = Aws::String>
71 template<
typename ConnectionNotificationArnT = Aws::String>
72 void SetConnectionNotificationArn(ConnectionNotificationArnT&& value) { m_connectionNotificationArnHasBeenSet =
true; m_connectionNotificationArn = std::forward<ConnectionNotificationArnT>(value); }
73 template<
typename ConnectionNotificationArnT = Aws::String>
84 template<
typename ConnectionEventsT = Aws::Vector<Aws::String>>
85 void SetConnectionEvents(ConnectionEventsT&& value) { m_connectionEventsHasBeenSet =
true; m_connectionEvents = std::forward<ConnectionEventsT>(value); }
86 template<
typename ConnectionEventsT = Aws::Vector<Aws::String>>
88 template<
typename ConnectionEventsT = Aws::String>
94 bool m_dryRunHasBeenSet =
false;
97 bool m_connectionNotificationIdHasBeenSet =
false;
100 bool m_connectionNotificationArnHasBeenSet =
false;
103 bool m_connectionEventsHasBeenSet =
false;
bool ConnectionEventsHasBeenSet() const
bool DryRunHasBeenSet() const
bool ConnectionNotificationIdHasBeenSet() const
void SetConnectionNotificationArn(ConnectionNotificationArnT &&value)
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionEvents(ConnectionEventsT &&value)
AWS_EC2_API ModifyVpcEndpointConnectionNotificationRequest()=default
virtual const char * GetServiceRequestName() const override
ModifyVpcEndpointConnectionNotificationRequest & AddConnectionEvents(ConnectionEventsT &&value)
void SetConnectionNotificationId(ConnectionNotificationIdT &&value)
void SetConnectionEvents(ConnectionEventsT &&value)
ModifyVpcEndpointConnectionNotificationRequest & WithDryRun(bool value)
const Aws::String & GetConnectionNotificationArn() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetDryRun(bool value)
const Aws::String & GetConnectionNotificationId() const
bool ConnectionNotificationArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetConnectionEvents() const
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationId(ConnectionNotificationIdT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyVpcEndpointConnectionNotificationRequest & WithConnectionNotificationArn(ConnectionNotificationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector