/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AppFabric { namespace Model { /** *

Contains information about the destination of ingested data.

See * Also:

AWS * API Reference

*/ class DestinationConfiguration { public: AWS_APPFABRIC_API DestinationConfiguration(); AWS_APPFABRIC_API DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_APPFABRIC_API DestinationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Contains information about an audit log destination configuration.

*/ inline const AuditLogDestinationConfiguration& GetAuditLog() const{ return m_auditLog; } /** *

Contains information about an audit log destination configuration.

*/ inline bool AuditLogHasBeenSet() const { return m_auditLogHasBeenSet; } /** *

Contains information about an audit log destination configuration.

*/ inline void SetAuditLog(const AuditLogDestinationConfiguration& value) { m_auditLogHasBeenSet = true; m_auditLog = value; } /** *

Contains information about an audit log destination configuration.

*/ inline void SetAuditLog(AuditLogDestinationConfiguration&& value) { m_auditLogHasBeenSet = true; m_auditLog = std::move(value); } /** *

Contains information about an audit log destination configuration.

*/ inline DestinationConfiguration& WithAuditLog(const AuditLogDestinationConfiguration& value) { SetAuditLog(value); return *this;} /** *

Contains information about an audit log destination configuration.

*/ inline DestinationConfiguration& WithAuditLog(AuditLogDestinationConfiguration&& value) { SetAuditLog(std::move(value)); return *this;} private: AuditLogDestinationConfiguration m_auditLog; bool m_auditLogHasBeenSet = false; }; } // namespace Model } // namespace AppFabric } // namespace Aws