AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
OutputLocationRef.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.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 OutputLocationRef() = default;
31 AWS_MEDIALIVE_API OutputLocationRef(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetDestinationRefId() const { return m_destinationRefId; }
38 inline bool DestinationRefIdHasBeenSet() const { return m_destinationRefIdHasBeenSet; }
39 template <typename DestinationRefIdT = Aws::String>
40 void SetDestinationRefId(DestinationRefIdT&& value) {
41 m_destinationRefIdHasBeenSet = true;
42 m_destinationRefId = std::forward<DestinationRefIdT>(value);
43 }
44 template <typename DestinationRefIdT = Aws::String>
45 OutputLocationRef& WithDestinationRefId(DestinationRefIdT&& value) {
46 SetDestinationRefId(std::forward<DestinationRefIdT>(value));
47 return *this;
48 }
50 private:
51 Aws::String m_destinationRefId;
52 bool m_destinationRefIdHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace MediaLive
57} // namespace Aws
OutputLocationRef & WithDestinationRefId(DestinationRefIdT &&value)
AWS_MEDIALIVE_API OutputLocationRef(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API OutputLocationRef()=default
void SetDestinationRefId(DestinationRefIdT &&value)
const Aws::String & GetDestinationRefId() const
AWS_MEDIALIVE_API OutputLocationRef & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue