/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a connection notification for a VPC endpoint or VPC endpoint
* service.See Also:
AWS
* API Reference
The ID of the notification.
*/ inline const Aws::String& GetConnectionNotificationId() const{ return m_connectionNotificationId; } /** *The ID of the notification.
*/ inline bool ConnectionNotificationIdHasBeenSet() const { return m_connectionNotificationIdHasBeenSet; } /** *The ID of the notification.
*/ inline void SetConnectionNotificationId(const Aws::String& value) { m_connectionNotificationIdHasBeenSet = true; m_connectionNotificationId = value; } /** *The ID of the notification.
*/ inline void SetConnectionNotificationId(Aws::String&& value) { m_connectionNotificationIdHasBeenSet = true; m_connectionNotificationId = std::move(value); } /** *The ID of the notification.
*/ inline void SetConnectionNotificationId(const char* value) { m_connectionNotificationIdHasBeenSet = true; m_connectionNotificationId.assign(value); } /** *The ID of the notification.
*/ inline ConnectionNotification& WithConnectionNotificationId(const Aws::String& value) { SetConnectionNotificationId(value); return *this;} /** *The ID of the notification.
*/ inline ConnectionNotification& WithConnectionNotificationId(Aws::String&& value) { SetConnectionNotificationId(std::move(value)); return *this;} /** *The ID of the notification.
*/ inline ConnectionNotification& WithConnectionNotificationId(const char* value) { SetConnectionNotificationId(value); return *this;} /** *The ID of the endpoint service.
*/ inline const Aws::String& GetServiceId() const{ return m_serviceId; } /** *The ID of the endpoint service.
*/ inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; } /** *The ID of the endpoint service.
*/ inline void SetServiceId(const Aws::String& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; } /** *The ID of the endpoint service.
*/ inline void SetServiceId(Aws::String&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); } /** *The ID of the endpoint service.
*/ inline void SetServiceId(const char* value) { m_serviceIdHasBeenSet = true; m_serviceId.assign(value); } /** *The ID of the endpoint service.
*/ inline ConnectionNotification& WithServiceId(const Aws::String& value) { SetServiceId(value); return *this;} /** *The ID of the endpoint service.
*/ inline ConnectionNotification& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;} /** *The ID of the endpoint service.
*/ inline ConnectionNotification& WithServiceId(const char* value) { SetServiceId(value); return *this;} /** *The ID of the VPC endpoint.
*/ inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; } /** *The ID of the VPC endpoint.
*/ inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; } /** *The ID of the VPC endpoint.
*/ inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; } /** *The ID of the VPC endpoint.
*/ inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); } /** *The ID of the VPC endpoint.
*/ inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); } /** *The ID of the VPC endpoint.
*/ inline ConnectionNotification& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;} /** *The ID of the VPC endpoint.
*/ inline ConnectionNotification& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;} /** *The ID of the VPC endpoint.
*/ inline ConnectionNotification& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;} /** *The type of notification.
*/ inline const ConnectionNotificationType& GetConnectionNotificationType() const{ return m_connectionNotificationType; } /** *The type of notification.
*/ inline bool ConnectionNotificationTypeHasBeenSet() const { return m_connectionNotificationTypeHasBeenSet; } /** *The type of notification.
*/ inline void SetConnectionNotificationType(const ConnectionNotificationType& value) { m_connectionNotificationTypeHasBeenSet = true; m_connectionNotificationType = value; } /** *The type of notification.
*/ inline void SetConnectionNotificationType(ConnectionNotificationType&& value) { m_connectionNotificationTypeHasBeenSet = true; m_connectionNotificationType = std::move(value); } /** *The type of notification.
*/ inline ConnectionNotification& WithConnectionNotificationType(const ConnectionNotificationType& value) { SetConnectionNotificationType(value); return *this;} /** *The type of notification.
*/ inline ConnectionNotification& WithConnectionNotificationType(ConnectionNotificationType&& value) { SetConnectionNotificationType(std::move(value)); return *this;} /** *The ARN of the SNS topic for the notification.
*/ inline const Aws::String& GetConnectionNotificationArn() const{ return m_connectionNotificationArn; } /** *The ARN of the SNS topic for the notification.
*/ inline bool ConnectionNotificationArnHasBeenSet() const { return m_connectionNotificationArnHasBeenSet; } /** *The ARN of the SNS topic for the notification.
*/ inline void SetConnectionNotificationArn(const Aws::String& value) { m_connectionNotificationArnHasBeenSet = true; m_connectionNotificationArn = value; } /** *The ARN of the SNS topic for the notification.
*/ inline void SetConnectionNotificationArn(Aws::String&& value) { m_connectionNotificationArnHasBeenSet = true; m_connectionNotificationArn = std::move(value); } /** *The ARN of the SNS topic for the notification.
*/ inline void SetConnectionNotificationArn(const char* value) { m_connectionNotificationArnHasBeenSet = true; m_connectionNotificationArn.assign(value); } /** *The ARN of the SNS topic for the notification.
*/ inline ConnectionNotification& WithConnectionNotificationArn(const Aws::String& value) { SetConnectionNotificationArn(value); return *this;} /** *The ARN of the SNS topic for the notification.
*/ inline ConnectionNotification& WithConnectionNotificationArn(Aws::String&& value) { SetConnectionNotificationArn(std::move(value)); return *this;} /** *The ARN of the SNS topic for the notification.
*/ inline ConnectionNotification& WithConnectionNotificationArn(const char* value) { SetConnectionNotificationArn(value); return *this;} /** *The events for the notification. Valid values are Accept
,
* Connect
, Delete
, and Reject
.
The events for the notification. Valid values are Accept
,
* Connect
, Delete
, and Reject
.
The events for the notification. Valid values are Accept
,
* Connect
, Delete
, and Reject
.
The events for the notification. Valid values are Accept
,
* Connect
, Delete
, and Reject
.
The events for the notification. Valid values are Accept
,
* Connect
, Delete
, and Reject
.
The events for the notification. Valid values are Accept
,
* Connect
, Delete
, and Reject
.
The events for the notification. Valid values are Accept
,
* Connect
, Delete
, and Reject
.
The events for the notification. Valid values are Accept
,
* Connect
, Delete
, and Reject
.
The events for the notification. Valid values are Accept
,
* Connect
, Delete
, and Reject
.
The state of the notification.
*/ inline const ConnectionNotificationState& GetConnectionNotificationState() const{ return m_connectionNotificationState; } /** *The state of the notification.
*/ inline bool ConnectionNotificationStateHasBeenSet() const { return m_connectionNotificationStateHasBeenSet; } /** *The state of the notification.
*/ inline void SetConnectionNotificationState(const ConnectionNotificationState& value) { m_connectionNotificationStateHasBeenSet = true; m_connectionNotificationState = value; } /** *The state of the notification.
*/ inline void SetConnectionNotificationState(ConnectionNotificationState&& value) { m_connectionNotificationStateHasBeenSet = true; m_connectionNotificationState = std::move(value); } /** *The state of the notification.
*/ inline ConnectionNotification& WithConnectionNotificationState(const ConnectionNotificationState& value) { SetConnectionNotificationState(value); return *this;} /** *The state of the notification.
*/ inline ConnectionNotification& WithConnectionNotificationState(ConnectionNotificationState&& value) { SetConnectionNotificationState(std::move(value)); return *this;} private: Aws::String m_connectionNotificationId; bool m_connectionNotificationIdHasBeenSet = false; Aws::String m_serviceId; bool m_serviceIdHasBeenSet = false; Aws::String m_vpcEndpointId; bool m_vpcEndpointIdHasBeenSet = false; ConnectionNotificationType m_connectionNotificationType; bool m_connectionNotificationTypeHasBeenSet = false; Aws::String m_connectionNotificationArn; bool m_connectionNotificationArnHasBeenSet = false; Aws::Vector