7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ConnectionNotificationType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/ConnectionNotificationState.h>
52 template<
typename ConnectionNotificationIdT = Aws::String>
53 void SetConnectionNotificationId(ConnectionNotificationIdT&& value) { m_connectionNotificationIdHasBeenSet =
true; m_connectionNotificationId = std::forward<ConnectionNotificationIdT>(value); }
54 template<
typename ConnectionNotificationIdT = Aws::String>
64 template<
typename ServiceIdT = Aws::String>
65 void SetServiceId(ServiceIdT&& value) { m_serviceIdHasBeenSet =
true; m_serviceId = std::forward<ServiceIdT>(value); }
66 template<
typename ServiceIdT = Aws::String>
76 template<
typename VpcEndpo
intIdT = Aws::String>
77 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet =
true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
78 template<
typename VpcEndpo
intIdT = Aws::String>
98 template<
typename ConnectionNotificationArnT = Aws::String>
99 void SetConnectionNotificationArn(ConnectionNotificationArnT&& value) { m_connectionNotificationArnHasBeenSet =
true; m_connectionNotificationArn = std::forward<ConnectionNotificationArnT>(value); }
100 template<
typename ConnectionNotificationArnT = Aws::String>
111 template<
typename ConnectionEventsT = Aws::Vector<Aws::String>>
112 void SetConnectionEvents(ConnectionEventsT&& value) { m_connectionEventsHasBeenSet =
true; m_connectionEvents = std::forward<ConnectionEventsT>(value); }
113 template<
typename ConnectionEventsT = Aws::Vector<Aws::String>>
115 template<
typename ConnectionEventsT = Aws::String>
135 template<
typename ServiceRegionT = Aws::String>
136 void SetServiceRegion(ServiceRegionT&& value) { m_serviceRegionHasBeenSet =
true; m_serviceRegion = std::forward<ServiceRegionT>(value); }
137 template<
typename ServiceRegionT = Aws::String>
143 bool m_connectionNotificationIdHasBeenSet =
false;
146 bool m_serviceIdHasBeenSet =
false;
149 bool m_vpcEndpointIdHasBeenSet =
false;
152 bool m_connectionNotificationTypeHasBeenSet =
false;
155 bool m_connectionNotificationArnHasBeenSet =
false;
158 bool m_connectionEventsHasBeenSet =
false;
161 bool m_connectionNotificationStateHasBeenSet =
false;
164 bool m_serviceRegionHasBeenSet =
false;
bool ServiceIdHasBeenSet() const
ConnectionNotification & WithVpcEndpointId(VpcEndpointIdT &&value)
const Aws::String & GetServiceRegion() const
void SetConnectionNotificationId(ConnectionNotificationIdT &&value)
ConnectionNotification & WithServiceId(ServiceIdT &&value)
ConnectionNotification & WithConnectionNotificationId(ConnectionNotificationIdT &&value)
AWS_EC2_API ConnectionNotification()=default
AWS_EC2_API ConnectionNotification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ConnectionNotificationTypeHasBeenSet() const
void SetVpcEndpointId(VpcEndpointIdT &&value)
ConnectionNotification & WithConnectionNotificationType(ConnectionNotificationType value)
AWS_EC2_API ConnectionNotification(const Aws::Utils::Xml::XmlNode &xmlNode)
bool VpcEndpointIdHasBeenSet() const
ConnectionNotificationState GetConnectionNotificationState() const
void SetConnectionNotificationArn(ConnectionNotificationArnT &&value)
void SetConnectionNotificationState(ConnectionNotificationState value)
bool ServiceRegionHasBeenSet() const
bool ConnectionNotificationArnHasBeenSet() const
void SetConnectionNotificationType(ConnectionNotificationType value)
const Aws::String & GetServiceId() const
ConnectionNotificationType GetConnectionNotificationType() const
void SetConnectionEvents(ConnectionEventsT &&value)
void SetServiceId(ServiceIdT &&value)
bool ConnectionEventsHasBeenSet() const
ConnectionNotification & WithConnectionNotificationArn(ConnectionNotificationArnT &&value)
const Aws::String & GetConnectionNotificationArn() const
ConnectionNotification & AddConnectionEvents(ConnectionEventsT &&value)
ConnectionNotification & WithServiceRegion(ServiceRegionT &&value)
void SetServiceRegion(ServiceRegionT &&value)
ConnectionNotification & WithConnectionEvents(ConnectionEventsT &&value)
bool ConnectionNotificationStateHasBeenSet() const
const Aws::Vector< Aws::String > & GetConnectionEvents() const
ConnectionNotification & WithConnectionNotificationState(ConnectionNotificationState value)
const Aws::String & GetVpcEndpointId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetConnectionNotificationId() const
bool ConnectionNotificationIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ConnectionNotificationState
ConnectionNotificationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream