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

Contains information from your report job about your report * destination.

See Also:

AWS * API Reference

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

The unique name of the Amazon S3 bucket that receives your reports.

*/ inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; } /** *

The unique name of the Amazon S3 bucket that receives your reports.

*/ inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; } /** *

The unique name of the Amazon S3 bucket that receives your reports.

*/ inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; } /** *

The unique name of the Amazon S3 bucket that receives your reports.

*/ inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); } /** *

The unique name of the Amazon S3 bucket that receives your reports.

*/ inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); } /** *

The unique name of the Amazon S3 bucket that receives your reports.

*/ inline ReportDestination& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;} /** *

The unique name of the Amazon S3 bucket that receives your reports.

*/ inline ReportDestination& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;} /** *

The unique name of the Amazon S3 bucket that receives your reports.

*/ inline ReportDestination& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;} /** *

The object key that uniquely identifies your reports in your S3 bucket.

*/ inline const Aws::Vector& GetS3Keys() const{ return m_s3Keys; } /** *

The object key that uniquely identifies your reports in your S3 bucket.

*/ inline bool S3KeysHasBeenSet() const { return m_s3KeysHasBeenSet; } /** *

The object key that uniquely identifies your reports in your S3 bucket.

*/ inline void SetS3Keys(const Aws::Vector& value) { m_s3KeysHasBeenSet = true; m_s3Keys = value; } /** *

The object key that uniquely identifies your reports in your S3 bucket.

*/ inline void SetS3Keys(Aws::Vector&& value) { m_s3KeysHasBeenSet = true; m_s3Keys = std::move(value); } /** *

The object key that uniquely identifies your reports in your S3 bucket.

*/ inline ReportDestination& WithS3Keys(const Aws::Vector& value) { SetS3Keys(value); return *this;} /** *

The object key that uniquely identifies your reports in your S3 bucket.

*/ inline ReportDestination& WithS3Keys(Aws::Vector&& value) { SetS3Keys(std::move(value)); return *this;} /** *

The object key that uniquely identifies your reports in your S3 bucket.

*/ inline ReportDestination& AddS3Keys(const Aws::String& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(value); return *this; } /** *

The object key that uniquely identifies your reports in your S3 bucket.

*/ inline ReportDestination& AddS3Keys(Aws::String&& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(std::move(value)); return *this; } /** *

The object key that uniquely identifies your reports in your S3 bucket.

*/ inline ReportDestination& AddS3Keys(const char* value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(value); return *this; } private: Aws::String m_s3BucketName; bool m_s3BucketNameHasBeenSet = false; Aws::Vector m_s3Keys; bool m_s3KeysHasBeenSet = false; }; } // namespace Model } // namespace Backup } // namespace Aws