AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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