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

A complex type that describes an S3 location where recorded videos will be * stored.

See Also:

AWS * API Reference

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

Location (S3 bucket name) where recorded videos will be stored.

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

Location (S3 bucket name) where recorded videos will be stored.

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

Location (S3 bucket name) where recorded videos will be stored.

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

Location (S3 bucket name) where recorded videos will be stored.

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

Location (S3 bucket name) where recorded videos will be stored.

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

Location (S3 bucket name) where recorded videos will be stored.

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

Location (S3 bucket name) where recorded videos will be stored.

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

Location (S3 bucket name) where recorded videos will be stored.

*/ inline S3DestinationConfiguration& WithBucketName(const char* value) { SetBucketName(value); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; }; } // namespace Model } // namespace IVS } // namespace Aws