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

Describes the configuration for experiment logging to Amazon * S3.

See Also:

AWS * API Reference

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

The name of the destination bucket.

*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *

The name of the destination bucket.

*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *

The name of the destination bucket.

*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *

The name of the destination bucket.

*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *

The name of the destination bucket.

*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *

The name of the destination bucket.

*/ inline ExperimentS3LogConfiguration& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *

The name of the destination bucket.

*/ inline ExperimentS3LogConfiguration& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *

The name of the destination bucket.

*/ inline ExperimentS3LogConfiguration& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *

The bucket prefix.

*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *

The bucket prefix.

*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *

The bucket prefix.

*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *

The bucket prefix.

*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *

The bucket prefix.

*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *

The bucket prefix.

*/ inline ExperimentS3LogConfiguration& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *

The bucket prefix.

*/ inline ExperimentS3LogConfiguration& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *

The bucket prefix.

*/ inline ExperimentS3LogConfiguration& WithPrefix(const char* value) { SetPrefix(value); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::String m_prefix; bool m_prefixHasBeenSet = false; }; } // namespace Model } // namespace FIS } // namespace Aws