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

Contains information about an audit log processing * configuration.

See Also:

AWS * API Reference

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

The event schema in which the audit logs need to be formatted.

*/ inline const Schema& GetSchema() const{ return m_schema; } /** *

The event schema in which the audit logs need to be formatted.

*/ inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; } /** *

The event schema in which the audit logs need to be formatted.

*/ inline void SetSchema(const Schema& value) { m_schemaHasBeenSet = true; m_schema = value; } /** *

The event schema in which the audit logs need to be formatted.

*/ inline void SetSchema(Schema&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); } /** *

The event schema in which the audit logs need to be formatted.

*/ inline AuditLogProcessingConfiguration& WithSchema(const Schema& value) { SetSchema(value); return *this;} /** *

The event schema in which the audit logs need to be formatted.

*/ inline AuditLogProcessingConfiguration& WithSchema(Schema&& value) { SetSchema(std::move(value)); return *this;} /** *

The format in which the audit logs need to be formatted.

*/ inline const Format& GetFormat() const{ return m_format; } /** *

The format in which the audit logs need to be formatted.

*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *

The format in which the audit logs need to be formatted.

*/ inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; } /** *

The format in which the audit logs need to be formatted.

*/ inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *

The format in which the audit logs need to be formatted.

*/ inline AuditLogProcessingConfiguration& WithFormat(const Format& value) { SetFormat(value); return *this;} /** *

The format in which the audit logs need to be formatted.

*/ inline AuditLogProcessingConfiguration& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;} private: Schema m_schema; bool m_schemaHasBeenSet = false; Format m_format; bool m_formatHasBeenSet = false; }; } // namespace Model } // namespace AppFabric } // namespace Aws