7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/ConnectionNotificationState.h>
12#include <aws/ec2/model/ConnectionNotificationType.h>
46 template <
typename ConnectionNotificationIdT = Aws::String>
48 m_connectionNotificationIdHasBeenSet =
true;
49 m_connectionNotificationId = std::forward<ConnectionNotificationIdT>(value);
51 template <
typename ConnectionNotificationIdT = Aws::String>
64 template <
typename ServiceIdT = Aws::String>
66 m_serviceIdHasBeenSet =
true;
67 m_serviceId = std::forward<ServiceIdT>(value);
69 template <
typename ServiceIdT = Aws::String>
82 template <
typename VpcEndpo
intIdT = Aws::String>
84 m_vpcEndpointIdHasBeenSet =
true;
85 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
87 template <
typename VpcEndpo
intIdT = Aws::String>
101 m_connectionNotificationTypeHasBeenSet =
true;
102 m_connectionNotificationType = value;
116 template <
typename ConnectionNotificationArnT = Aws::String>
118 m_connectionNotificationArnHasBeenSet =
true;
119 m_connectionNotificationArn = std::forward<ConnectionNotificationArnT>(value);
121 template <
typename ConnectionNotificationArnT = Aws::String>
135 template <
typename ConnectionEventsT = Aws::Vector<Aws::String>>
137 m_connectionEventsHasBeenSet =
true;
138 m_connectionEvents = std::forward<ConnectionEventsT>(value);
140 template <
typename ConnectionEventsT = Aws::Vector<Aws::String>>
145 template <
typename ConnectionEventsT = Aws::String>
147 m_connectionEventsHasBeenSet =
true;
148 m_connectionEvents.emplace_back(std::forward<ConnectionEventsT>(value));
160 m_connectionNotificationStateHasBeenSet =
true;
161 m_connectionNotificationState = value;
175 template <
typename ServiceRegionT = Aws::String>
177 m_serviceRegionHasBeenSet =
true;
178 m_serviceRegion = std::forward<ServiceRegionT>(value);
180 template <
typename ServiceRegionT = Aws::String>
202 bool m_connectionNotificationIdHasBeenSet =
false;
203 bool m_serviceIdHasBeenSet =
false;
204 bool m_vpcEndpointIdHasBeenSet =
false;
205 bool m_connectionNotificationTypeHasBeenSet =
false;
206 bool m_connectionNotificationArnHasBeenSet =
false;
207 bool m_connectionEventsHasBeenSet =
false;
208 bool m_connectionNotificationStateHasBeenSet =
false;
209 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