/** * 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 a location where recorded videos will be * stored. Each member represents a type of destination configuration. For * recording, you define one and only one type of destination * configuration.

See Also:

AWS * API Reference

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

An S3 destination configuration where recorded videos will be stored.

*/ inline const S3DestinationConfiguration& GetS3() const{ return m_s3; } /** *

An S3 destination configuration where recorded videos will be stored.

*/ inline bool S3HasBeenSet() const { return m_s3HasBeenSet; } /** *

An S3 destination configuration where recorded videos will be stored.

*/ inline void SetS3(const S3DestinationConfiguration& value) { m_s3HasBeenSet = true; m_s3 = value; } /** *

An S3 destination configuration where recorded videos will be stored.

*/ inline void SetS3(S3DestinationConfiguration&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); } /** *

An S3 destination configuration where recorded videos will be stored.

*/ inline DestinationConfiguration& WithS3(const S3DestinationConfiguration& value) { SetS3(value); return *this;} /** *

An S3 destination configuration where recorded videos will be stored.

*/ inline DestinationConfiguration& WithS3(S3DestinationConfiguration&& value) { SetS3(std::move(value)); return *this;} private: S3DestinationConfiguration m_s3; bool m_s3HasBeenSet = false; }; } // namespace Model } // namespace IVS } // namespace Aws