/** * 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 AuditManager { namespace Model { /** *

The default s3 bucket where Audit Manager saves the files that you export * from evidence finder.

See Also:

AWS * API Reference

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

The destination type, such as Amazon S3.

*/ inline const ExportDestinationType& GetDestinationType() const{ return m_destinationType; } /** *

The destination type, such as Amazon S3.

*/ inline bool DestinationTypeHasBeenSet() const { return m_destinationTypeHasBeenSet; } /** *

The destination type, such as Amazon S3.

*/ inline void SetDestinationType(const ExportDestinationType& value) { m_destinationTypeHasBeenSet = true; m_destinationType = value; } /** *

The destination type, such as Amazon S3.

*/ inline void SetDestinationType(ExportDestinationType&& value) { m_destinationTypeHasBeenSet = true; m_destinationType = std::move(value); } /** *

The destination type, such as Amazon S3.

*/ inline DefaultExportDestination& WithDestinationType(const ExportDestinationType& value) { SetDestinationType(value); return *this;} /** *

The destination type, such as Amazon S3.

*/ inline DefaultExportDestination& WithDestinationType(ExportDestinationType&& value) { SetDestinationType(std::move(value)); return *this;} /** *

The destination bucket where Audit Manager stores exported files.

*/ inline const Aws::String& GetDestination() const{ return m_destination; } /** *

The destination bucket where Audit Manager stores exported files.

*/ inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } /** *

The destination bucket where Audit Manager stores exported files.

*/ inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; } /** *

The destination bucket where Audit Manager stores exported files.

*/ inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } /** *

The destination bucket where Audit Manager stores exported files.

*/ inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); } /** *

The destination bucket where Audit Manager stores exported files.

*/ inline DefaultExportDestination& WithDestination(const Aws::String& value) { SetDestination(value); return *this;} /** *

The destination bucket where Audit Manager stores exported files.

*/ inline DefaultExportDestination& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;} /** *

The destination bucket where Audit Manager stores exported files.

*/ inline DefaultExportDestination& WithDestination(const char* value) { SetDestination(value); return *this;} private: ExportDestinationType m_destinationType; bool m_destinationTypeHasBeenSet = false; Aws::String m_destination; bool m_destinationHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws