/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The recipient of AnomalySubscription
notifications.
* See Also:
AWS API
* Reference
The email address or SNS Amazon Resource Name (ARN). This depends on the
* Type
.
The email address or SNS Amazon Resource Name (ARN). This depends on the
* Type
.
The email address or SNS Amazon Resource Name (ARN). This depends on the
* Type
.
The email address or SNS Amazon Resource Name (ARN). This depends on the
* Type
.
The email address or SNS Amazon Resource Name (ARN). This depends on the
* Type
.
The email address or SNS Amazon Resource Name (ARN). This depends on the
* Type
.
The email address or SNS Amazon Resource Name (ARN). This depends on the
* Type
.
The email address or SNS Amazon Resource Name (ARN). This depends on the
* Type
.
The notification delivery channel.
*/ inline const SubscriberType& GetType() const{ return m_type; } /** *The notification delivery channel.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The notification delivery channel.
*/ inline void SetType(const SubscriberType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The notification delivery channel.
*/ inline void SetType(SubscriberType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The notification delivery channel.
*/ inline Subscriber& WithType(const SubscriberType& value) { SetType(value); return *this;} /** *The notification delivery channel.
*/ inline Subscriber& WithType(SubscriberType&& value) { SetType(std::move(value)); return *this;} /** *Indicates if the subscriber accepts the notifications.
*/ inline const SubscriberStatus& GetStatus() const{ return m_status; } /** *Indicates if the subscriber accepts the notifications.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Indicates if the subscriber accepts the notifications.
*/ inline void SetStatus(const SubscriberStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Indicates if the subscriber accepts the notifications.
*/ inline void SetStatus(SubscriberStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Indicates if the subscriber accepts the notifications.
*/ inline Subscriber& WithStatus(const SubscriberStatus& value) { SetStatus(value); return *this;} /** *Indicates if the subscriber accepts the notifications.
*/ inline Subscriber& WithStatus(SubscriberStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_address; bool m_addressHasBeenSet = false; SubscriberType m_type; bool m_typeHasBeenSet = false; SubscriberStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws