/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The status of a specified delivery channel. Valid values:
* Success
| Failure
See Also:
AWS
* API Reference
The name of the delivery channel.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the delivery channel.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the delivery channel.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the delivery channel.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the delivery channel.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the delivery channel.
*/ inline DeliveryChannelStatus& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the delivery channel.
*/ inline DeliveryChannelStatus& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the delivery channel.
*/ inline DeliveryChannelStatus& WithName(const char* value) { SetName(value); return *this;} /** *A list containing the status of the delivery of the snapshot to the specified * Amazon S3 bucket.
*/ inline const ConfigExportDeliveryInfo& GetConfigSnapshotDeliveryInfo() const{ return m_configSnapshotDeliveryInfo; } /** *A list containing the status of the delivery of the snapshot to the specified * Amazon S3 bucket.
*/ inline bool ConfigSnapshotDeliveryInfoHasBeenSet() const { return m_configSnapshotDeliveryInfoHasBeenSet; } /** *A list containing the status of the delivery of the snapshot to the specified * Amazon S3 bucket.
*/ inline void SetConfigSnapshotDeliveryInfo(const ConfigExportDeliveryInfo& value) { m_configSnapshotDeliveryInfoHasBeenSet = true; m_configSnapshotDeliveryInfo = value; } /** *A list containing the status of the delivery of the snapshot to the specified * Amazon S3 bucket.
*/ inline void SetConfigSnapshotDeliveryInfo(ConfigExportDeliveryInfo&& value) { m_configSnapshotDeliveryInfoHasBeenSet = true; m_configSnapshotDeliveryInfo = std::move(value); } /** *A list containing the status of the delivery of the snapshot to the specified * Amazon S3 bucket.
*/ inline DeliveryChannelStatus& WithConfigSnapshotDeliveryInfo(const ConfigExportDeliveryInfo& value) { SetConfigSnapshotDeliveryInfo(value); return *this;} /** *A list containing the status of the delivery of the snapshot to the specified * Amazon S3 bucket.
*/ inline DeliveryChannelStatus& WithConfigSnapshotDeliveryInfo(ConfigExportDeliveryInfo&& value) { SetConfigSnapshotDeliveryInfo(std::move(value)); return *this;} /** *A list that contains the status of the delivery of the configuration history * to the specified Amazon S3 bucket.
*/ inline const ConfigExportDeliveryInfo& GetConfigHistoryDeliveryInfo() const{ return m_configHistoryDeliveryInfo; } /** *A list that contains the status of the delivery of the configuration history * to the specified Amazon S3 bucket.
*/ inline bool ConfigHistoryDeliveryInfoHasBeenSet() const { return m_configHistoryDeliveryInfoHasBeenSet; } /** *A list that contains the status of the delivery of the configuration history * to the specified Amazon S3 bucket.
*/ inline void SetConfigHistoryDeliveryInfo(const ConfigExportDeliveryInfo& value) { m_configHistoryDeliveryInfoHasBeenSet = true; m_configHistoryDeliveryInfo = value; } /** *A list that contains the status of the delivery of the configuration history * to the specified Amazon S3 bucket.
*/ inline void SetConfigHistoryDeliveryInfo(ConfigExportDeliveryInfo&& value) { m_configHistoryDeliveryInfoHasBeenSet = true; m_configHistoryDeliveryInfo = std::move(value); } /** *A list that contains the status of the delivery of the configuration history * to the specified Amazon S3 bucket.
*/ inline DeliveryChannelStatus& WithConfigHistoryDeliveryInfo(const ConfigExportDeliveryInfo& value) { SetConfigHistoryDeliveryInfo(value); return *this;} /** *A list that contains the status of the delivery of the configuration history * to the specified Amazon S3 bucket.
*/ inline DeliveryChannelStatus& WithConfigHistoryDeliveryInfo(ConfigExportDeliveryInfo&& value) { SetConfigHistoryDeliveryInfo(std::move(value)); return *this;} /** *A list containing the status of the delivery of the configuration stream * notification to the specified Amazon SNS topic.
*/ inline const ConfigStreamDeliveryInfo& GetConfigStreamDeliveryInfo() const{ return m_configStreamDeliveryInfo; } /** *A list containing the status of the delivery of the configuration stream * notification to the specified Amazon SNS topic.
*/ inline bool ConfigStreamDeliveryInfoHasBeenSet() const { return m_configStreamDeliveryInfoHasBeenSet; } /** *A list containing the status of the delivery of the configuration stream * notification to the specified Amazon SNS topic.
*/ inline void SetConfigStreamDeliveryInfo(const ConfigStreamDeliveryInfo& value) { m_configStreamDeliveryInfoHasBeenSet = true; m_configStreamDeliveryInfo = value; } /** *A list containing the status of the delivery of the configuration stream * notification to the specified Amazon SNS topic.
*/ inline void SetConfigStreamDeliveryInfo(ConfigStreamDeliveryInfo&& value) { m_configStreamDeliveryInfoHasBeenSet = true; m_configStreamDeliveryInfo = std::move(value); } /** *A list containing the status of the delivery of the configuration stream * notification to the specified Amazon SNS topic.
*/ inline DeliveryChannelStatus& WithConfigStreamDeliveryInfo(const ConfigStreamDeliveryInfo& value) { SetConfigStreamDeliveryInfo(value); return *this;} /** *A list containing the status of the delivery of the configuration stream * notification to the specified Amazon SNS topic.
*/ inline DeliveryChannelStatus& WithConfigStreamDeliveryInfo(ConfigStreamDeliveryInfo&& value) { SetConfigStreamDeliveryInfo(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; ConfigExportDeliveryInfo m_configSnapshotDeliveryInfo; bool m_configSnapshotDeliveryInfoHasBeenSet = false; ConfigExportDeliveryInfo m_configHistoryDeliveryInfo; bool m_configHistoryDeliveryInfoHasBeenSet = false; ConfigStreamDeliveryInfo m_configStreamDeliveryInfo; bool m_configStreamDeliveryInfoHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws