AWS SDK for C++

AWS SDK for C++ Version 1.11.636

Loading...
Searching...
No Matches
AdditionalDestinations.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/OutputLocationRef.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIALIVE_API AdditionalDestinations() = default;
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const OutputLocationRef& GetDestination() const { return m_destination; }
46 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
47 template<typename DestinationT = OutputLocationRef>
48 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
49 template<typename DestinationT = OutputLocationRef>
50 AdditionalDestinations& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
52 private:
53
54 OutputLocationRef m_destination;
55 bool m_destinationHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace MediaLive
60} // namespace Aws
AWS_MEDIALIVE_API AdditionalDestinations(Aws::Utils::Json::JsonView jsonValue)
const OutputLocationRef & GetDestination() const
AWS_MEDIALIVE_API AdditionalDestinations & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API AdditionalDestinations()=default
AdditionalDestinations & WithDestination(DestinationT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue