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

See Also:

AWS * API Reference

*/ class MultiplexSummary { public: AWS_MEDIALIVE_API MultiplexSummary(); AWS_MEDIALIVE_API MultiplexSummary(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API MultiplexSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * The unique arn of the multiplex. */ inline const Aws::String& GetArn() const{ return m_arn; } /** * The unique arn of the multiplex. */ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** * The unique arn of the multiplex. */ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** * The unique arn of the multiplex. */ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** * The unique arn of the multiplex. */ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** * The unique arn of the multiplex. */ inline MultiplexSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** * The unique arn of the multiplex. */ inline MultiplexSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** * The unique arn of the multiplex. */ inline MultiplexSummary& WithArn(const char* value) { SetArn(value); return *this;} /** * A list of availability zones for the multiplex. */ inline const Aws::Vector& GetAvailabilityZones() const{ return m_availabilityZones; } /** * A list of availability zones for the multiplex. */ inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; } /** * A list of availability zones for the multiplex. */ inline void SetAvailabilityZones(const Aws::Vector& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; } /** * A list of availability zones for the multiplex. */ inline void SetAvailabilityZones(Aws::Vector&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); } /** * A list of availability zones for the multiplex. */ inline MultiplexSummary& WithAvailabilityZones(const Aws::Vector& value) { SetAvailabilityZones(value); return *this;} /** * A list of availability zones for the multiplex. */ inline MultiplexSummary& WithAvailabilityZones(Aws::Vector&& value) { SetAvailabilityZones(std::move(value)); return *this;} /** * A list of availability zones for the multiplex. */ inline MultiplexSummary& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** * A list of availability zones for the multiplex. */ inline MultiplexSummary& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; } /** * A list of availability zones for the multiplex. */ inline MultiplexSummary& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** * The unique id of the multiplex. */ inline const Aws::String& GetId() const{ return m_id; } /** * The unique id of the multiplex. */ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** * The unique id of the multiplex. */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** * The unique id of the multiplex. */ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** * The unique id of the multiplex. */ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** * The unique id of the multiplex. */ inline MultiplexSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** * The unique id of the multiplex. */ inline MultiplexSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** * The unique id of the multiplex. */ inline MultiplexSummary& WithId(const char* value) { SetId(value); return *this;} /** * Configuration for a multiplex event. */ inline const MultiplexSettingsSummary& GetMultiplexSettings() const{ return m_multiplexSettings; } /** * Configuration for a multiplex event. */ inline bool MultiplexSettingsHasBeenSet() const { return m_multiplexSettingsHasBeenSet; } /** * Configuration for a multiplex event. */ inline void SetMultiplexSettings(const MultiplexSettingsSummary& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = value; } /** * Configuration for a multiplex event. */ inline void SetMultiplexSettings(MultiplexSettingsSummary&& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = std::move(value); } /** * Configuration for a multiplex event. */ inline MultiplexSummary& WithMultiplexSettings(const MultiplexSettingsSummary& value) { SetMultiplexSettings(value); return *this;} /** * Configuration for a multiplex event. */ inline MultiplexSummary& WithMultiplexSettings(MultiplexSettingsSummary&& value) { SetMultiplexSettings(std::move(value)); return *this;} /** * The name of the multiplex. */ inline const Aws::String& GetName() const{ return m_name; } /** * The name of the multiplex. */ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** * The name of the multiplex. */ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** * The name of the multiplex. */ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** * The name of the multiplex. */ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** * The name of the multiplex. */ inline MultiplexSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** * The name of the multiplex. */ inline MultiplexSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** * The name of the multiplex. */ inline MultiplexSummary& WithName(const char* value) { SetName(value); return *this;} /** * The number of currently healthy pipelines. */ inline int GetPipelinesRunningCount() const{ return m_pipelinesRunningCount; } /** * The number of currently healthy pipelines. */ inline bool PipelinesRunningCountHasBeenSet() const { return m_pipelinesRunningCountHasBeenSet; } /** * The number of currently healthy pipelines. */ inline void SetPipelinesRunningCount(int value) { m_pipelinesRunningCountHasBeenSet = true; m_pipelinesRunningCount = value; } /** * The number of currently healthy pipelines. */ inline MultiplexSummary& WithPipelinesRunningCount(int value) { SetPipelinesRunningCount(value); return *this;} /** * The number of programs in the multiplex. */ inline int GetProgramCount() const{ return m_programCount; } /** * The number of programs in the multiplex. */ inline bool ProgramCountHasBeenSet() const { return m_programCountHasBeenSet; } /** * The number of programs in the multiplex. */ inline void SetProgramCount(int value) { m_programCountHasBeenSet = true; m_programCount = value; } /** * The number of programs in the multiplex. */ inline MultiplexSummary& WithProgramCount(int value) { SetProgramCount(value); return *this;} /** * The current state of the multiplex. */ inline const MultiplexState& GetState() const{ return m_state; } /** * The current state of the multiplex. */ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** * The current state of the multiplex. */ inline void SetState(const MultiplexState& value) { m_stateHasBeenSet = true; m_state = value; } /** * The current state of the multiplex. */ inline void SetState(MultiplexState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** * The current state of the multiplex. */ inline MultiplexSummary& WithState(const MultiplexState& value) { SetState(value); return *this;} /** * The current state of the multiplex. */ inline MultiplexSummary& WithState(MultiplexState&& value) { SetState(std::move(value)); return *this;} /** * A collection of key-value pairs. */ inline const Aws::Map& GetTags() const{ return m_tags; } /** * A collection of key-value pairs. */ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** * A collection of key-value pairs. */ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** * A collection of key-value pairs. */ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** * A collection of key-value pairs. */ inline MultiplexSummary& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** * A collection of key-value pairs. */ inline MultiplexSummary& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** * A collection of key-value pairs. */ inline MultiplexSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** * A collection of key-value pairs. */ inline MultiplexSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** * A collection of key-value pairs. */ inline MultiplexSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** * A collection of key-value pairs. */ inline MultiplexSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** * A collection of key-value pairs. */ inline MultiplexSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** * A collection of key-value pairs. */ inline MultiplexSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** * A collection of key-value pairs. */ inline MultiplexSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Vector m_availabilityZones; bool m_availabilityZonesHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; MultiplexSettingsSummary m_multiplexSettings; bool m_multiplexSettingsHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; int m_pipelinesRunningCount; bool m_pipelinesRunningCountHasBeenSet = false; int m_programCount; bool m_programCountHasBeenSet = false; MultiplexState m_state; bool m_stateHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws