/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ChimeSDKMediaPipelines { namespace Model { /** *

Defines the configuration settings for the horizontal layout.

See * Also:

AWS * API Reference

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

Sets the automatic ordering of the video tiles.

*/ inline const TileOrder& GetTileOrder() const{ return m_tileOrder; } /** *

Sets the automatic ordering of the video tiles.

*/ inline bool TileOrderHasBeenSet() const { return m_tileOrderHasBeenSet; } /** *

Sets the automatic ordering of the video tiles.

*/ inline void SetTileOrder(const TileOrder& value) { m_tileOrderHasBeenSet = true; m_tileOrder = value; } /** *

Sets the automatic ordering of the video tiles.

*/ inline void SetTileOrder(TileOrder&& value) { m_tileOrderHasBeenSet = true; m_tileOrder = std::move(value); } /** *

Sets the automatic ordering of the video tiles.

*/ inline HorizontalLayoutConfiguration& WithTileOrder(const TileOrder& value) { SetTileOrder(value); return *this;} /** *

Sets the automatic ordering of the video tiles.

*/ inline HorizontalLayoutConfiguration& WithTileOrder(TileOrder&& value) { SetTileOrder(std::move(value)); return *this;} /** *

Sets the position of horizontal tiles.

*/ inline const HorizontalTilePosition& GetTilePosition() const{ return m_tilePosition; } /** *

Sets the position of horizontal tiles.

*/ inline bool TilePositionHasBeenSet() const { return m_tilePositionHasBeenSet; } /** *

Sets the position of horizontal tiles.

*/ inline void SetTilePosition(const HorizontalTilePosition& value) { m_tilePositionHasBeenSet = true; m_tilePosition = value; } /** *

Sets the position of horizontal tiles.

*/ inline void SetTilePosition(HorizontalTilePosition&& value) { m_tilePositionHasBeenSet = true; m_tilePosition = std::move(value); } /** *

Sets the position of horizontal tiles.

*/ inline HorizontalLayoutConfiguration& WithTilePosition(const HorizontalTilePosition& value) { SetTilePosition(value); return *this;} /** *

Sets the position of horizontal tiles.

*/ inline HorizontalLayoutConfiguration& WithTilePosition(HorizontalTilePosition&& value) { SetTilePosition(std::move(value)); return *this;} /** *

The maximum number of video tiles to display.

*/ inline int GetTileCount() const{ return m_tileCount; } /** *

The maximum number of video tiles to display.

*/ inline bool TileCountHasBeenSet() const { return m_tileCountHasBeenSet; } /** *

The maximum number of video tiles to display.

*/ inline void SetTileCount(int value) { m_tileCountHasBeenSet = true; m_tileCount = value; } /** *

The maximum number of video tiles to display.

*/ inline HorizontalLayoutConfiguration& WithTileCount(int value) { SetTileCount(value); return *this;} /** *

Sets the aspect ratio of the video tiles, such as 16:9.

*/ inline const Aws::String& GetTileAspectRatio() const{ return m_tileAspectRatio; } /** *

Sets the aspect ratio of the video tiles, such as 16:9.

*/ inline bool TileAspectRatioHasBeenSet() const { return m_tileAspectRatioHasBeenSet; } /** *

Sets the aspect ratio of the video tiles, such as 16:9.

*/ inline void SetTileAspectRatio(const Aws::String& value) { m_tileAspectRatioHasBeenSet = true; m_tileAspectRatio = value; } /** *

Sets the aspect ratio of the video tiles, such as 16:9.

*/ inline void SetTileAspectRatio(Aws::String&& value) { m_tileAspectRatioHasBeenSet = true; m_tileAspectRatio = std::move(value); } /** *

Sets the aspect ratio of the video tiles, such as 16:9.

*/ inline void SetTileAspectRatio(const char* value) { m_tileAspectRatioHasBeenSet = true; m_tileAspectRatio.assign(value); } /** *

Sets the aspect ratio of the video tiles, such as 16:9.

*/ inline HorizontalLayoutConfiguration& WithTileAspectRatio(const Aws::String& value) { SetTileAspectRatio(value); return *this;} /** *

Sets the aspect ratio of the video tiles, such as 16:9.

*/ inline HorizontalLayoutConfiguration& WithTileAspectRatio(Aws::String&& value) { SetTileAspectRatio(std::move(value)); return *this;} /** *

Sets the aspect ratio of the video tiles, such as 16:9.

*/ inline HorizontalLayoutConfiguration& WithTileAspectRatio(const char* value) { SetTileAspectRatio(value); return *this;} private: TileOrder m_tileOrder; bool m_tileOrderHasBeenSet = false; HorizontalTilePosition m_tilePosition; bool m_tilePositionHasBeenSet = false; int m_tileCount; bool m_tileCountHasBeenSet = false; Aws::String m_tileAspectRatio; bool m_tileAspectRatioHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws