/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace MediaLive
{
namespace Model
{
/**
* Output groups for this Live Event. Output groups contain information about where
* streams should be distributed.See Also:
AWS
* API Reference
*/
class OutputGroup
{
public:
AWS_MEDIALIVE_API OutputGroup();
AWS_MEDIALIVE_API OutputGroup(Aws::Utils::Json::JsonView jsonValue);
AWS_MEDIALIVE_API OutputGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Custom output group name optionally defined by the user.
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* Custom output group name optionally defined by the user.
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* Custom output group name optionally defined by the user.
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* Custom output group name optionally defined by the user.
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* Custom output group name optionally defined by the user.
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* Custom output group name optionally defined by the user.
*/
inline OutputGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* Custom output group name optionally defined by the user.
*/
inline OutputGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* Custom output group name optionally defined by the user.
*/
inline OutputGroup& WithName(const char* value) { SetName(value); return *this;}
/**
* Settings associated with the output group.
*/
inline const OutputGroupSettings& GetOutputGroupSettings() const{ return m_outputGroupSettings; }
/**
* Settings associated with the output group.
*/
inline bool OutputGroupSettingsHasBeenSet() const { return m_outputGroupSettingsHasBeenSet; }
/**
* Settings associated with the output group.
*/
inline void SetOutputGroupSettings(const OutputGroupSettings& value) { m_outputGroupSettingsHasBeenSet = true; m_outputGroupSettings = value; }
/**
* Settings associated with the output group.
*/
inline void SetOutputGroupSettings(OutputGroupSettings&& value) { m_outputGroupSettingsHasBeenSet = true; m_outputGroupSettings = std::move(value); }
/**
* Settings associated with the output group.
*/
inline OutputGroup& WithOutputGroupSettings(const OutputGroupSettings& value) { SetOutputGroupSettings(value); return *this;}
/**
* Settings associated with the output group.
*/
inline OutputGroup& WithOutputGroupSettings(OutputGroupSettings&& value) { SetOutputGroupSettings(std::move(value)); return *this;}
inline const Aws::Vector