AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SlateSource.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 MediaTailor
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIATAILOR_API SlateSource() = default;
35 AWS_MEDIATAILOR_API SlateSource(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIATAILOR_API SlateSource& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetSourceLocationName() const { return m_sourceLocationName; }
45 inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
46 template<typename SourceLocationNameT = Aws::String>
47 void SetSourceLocationName(SourceLocationNameT&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::forward<SourceLocationNameT>(value); }
48 template<typename SourceLocationNameT = Aws::String>
49 SlateSource& WithSourceLocationName(SourceLocationNameT&& value) { SetSourceLocationName(std::forward<SourceLocationNameT>(value)); return *this;}
51
53
57 inline const Aws::String& GetVodSourceName() const { return m_vodSourceName; }
58 inline bool VodSourceNameHasBeenSet() const { return m_vodSourceNameHasBeenSet; }
59 template<typename VodSourceNameT = Aws::String>
60 void SetVodSourceName(VodSourceNameT&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::forward<VodSourceNameT>(value); }
61 template<typename VodSourceNameT = Aws::String>
62 SlateSource& WithVodSourceName(VodSourceNameT&& value) { SetVodSourceName(std::forward<VodSourceNameT>(value)); return *this;}
64 private:
65
66 Aws::String m_sourceLocationName;
67 bool m_sourceLocationNameHasBeenSet = false;
68
69 Aws::String m_vodSourceName;
70 bool m_vodSourceNameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace MediaTailor
75} // namespace Aws
SlateSource & WithVodSourceName(VodSourceNameT &&value)
Definition SlateSource.h:62
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVodSourceName(VodSourceNameT &&value)
Definition SlateSource.h:60
const Aws::String & GetSourceLocationName() const
Definition SlateSource.h:44
AWS_MEDIATAILOR_API SlateSource()=default
AWS_MEDIATAILOR_API SlateSource(Aws::Utils::Json::JsonView jsonValue)
SlateSource & WithSourceLocationName(SourceLocationNameT &&value)
Definition SlateSource.h:49
void SetSourceLocationName(SourceLocationNameT &&value)
Definition SlateSource.h:47
const Aws::String & GetVodSourceName() const
Definition SlateSource.h:57
AWS_MEDIATAILOR_API SlateSource & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue