AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
47 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
48 inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
49 inline SlateSource& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
50 inline SlateSource& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
51 inline SlateSource& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
53
55
59 inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
60 inline bool VodSourceNameHasBeenSet() const { return m_vodSourceNameHasBeenSet; }
61 inline void SetVodSourceName(const Aws::String& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = value; }
62 inline void SetVodSourceName(Aws::String&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::move(value); }
63 inline void SetVodSourceName(const char* value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName.assign(value); }
64 inline SlateSource& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
65 inline SlateSource& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
66 inline SlateSource& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
68 private:
69
70 Aws::String m_sourceLocationName;
71 bool m_sourceLocationNameHasBeenSet = false;
72
73 Aws::String m_vodSourceName;
74 bool m_vodSourceNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace MediaTailor
79} // namespace Aws
void SetVodSourceName(Aws::String &&value)
Definition SlateSource.h:62
AWS_MEDIATAILOR_API SlateSource()
void SetVodSourceName(const char *value)
Definition SlateSource.h:63
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
SlateSource & WithSourceLocationName(Aws::String &&value)
Definition SlateSource.h:50
void SetSourceLocationName(const char *value)
Definition SlateSource.h:48
void SetSourceLocationName(const Aws::String &value)
Definition SlateSource.h:46
SlateSource & WithVodSourceName(const Aws::String &value)
Definition SlateSource.h:64
SlateSource & WithSourceLocationName(const Aws::String &value)
Definition SlateSource.h:49
const Aws::String & GetSourceLocationName() const
Definition SlateSource.h:44
AWS_MEDIATAILOR_API SlateSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVodSourceName() const
Definition SlateSource.h:59
SlateSource & WithVodSourceName(const char *value)
Definition SlateSource.h:66
AWS_MEDIATAILOR_API SlateSource & operator=(Aws::Utils::Json::JsonView jsonValue)
SlateSource & WithVodSourceName(Aws::String &&value)
Definition SlateSource.h:65
void SetSourceLocationName(Aws::String &&value)
Definition SlateSource.h:47
void SetVodSourceName(const Aws::String &value)
Definition SlateSource.h:61
SlateSource & WithSourceLocationName(const char *value)
Definition SlateSource.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue