AWS SDK for C++  1.9.104
AWS SDK for C++
SlateSource.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MediaTailor
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
44 
48  inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
49 
53  inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
54 
58  inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
59 
63  inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
64 
68  inline SlateSource& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
69 
73  inline SlateSource& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
74 
78  inline SlateSource& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
79 
80 
85  inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
86 
91  inline bool VodSourceNameHasBeenSet() const { return m_vodSourceNameHasBeenSet; }
92 
97  inline void SetVodSourceName(const Aws::String& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = value; }
98 
103  inline void SetVodSourceName(Aws::String&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::move(value); }
104 
109  inline void SetVodSourceName(const char* value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName.assign(value); }
110 
115  inline SlateSource& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
116 
121  inline SlateSource& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
122 
127  inline SlateSource& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
128 
129  private:
130 
131  Aws::String m_sourceLocationName;
132  bool m_sourceLocationNameHasBeenSet;
133 
134  Aws::String m_vodSourceName;
135  bool m_vodSourceNameHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace MediaTailor
140 } // namespace Aws
Aws::MediaTailor::Model::SlateSource::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: SlateSource.h:43
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::SlateSource::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: SlateSource.h:58
Aws::MediaTailor::Model::SlateSource::WithVodSourceName
SlateSource & WithVodSourceName(const char *value)
Definition: SlateSource.h:127
Aws::MediaTailor::Model::SlateSource::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: SlateSource.h:63
Aws::MediaTailor::Model::SlateSource::VodSourceNameHasBeenSet
bool VodSourceNameHasBeenSet() const
Definition: SlateSource.h:91
Aws::MediaTailor::Model::SlateSource::SourceLocationNameHasBeenSet
bool SourceLocationNameHasBeenSet() const
Definition: SlateSource.h:48
Aws::MediaTailor::Model::SlateSource::WithSourceLocationName
SlateSource & WithSourceLocationName(Aws::String &&value)
Definition: SlateSource.h:73
Aws::MediaTailor::Model::SlateSource::SlateSource
SlateSource()
Aws::MediaTailor::Model::SlateSource::SetVodSourceName
void SetVodSourceName(const char *value)
Definition: SlateSource.h:109
Aws::MediaTailor::Model::SlateSource::WithVodSourceName
SlateSource & WithVodSourceName(Aws::String &&value)
Definition: SlateSource.h:121
Aws::MediaTailor::Model::SlateSource::SetVodSourceName
void SetVodSourceName(Aws::String &&value)
Definition: SlateSource.h:103
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaTailor::Model::SlateSource::WithSourceLocationName
SlateSource & WithSourceLocationName(const Aws::String &value)
Definition: SlateSource.h:68
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::SlateSource::operator=
SlateSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::SlateSource::WithSourceLocationName
SlateSource & WithSourceLocationName(const char *value)
Definition: SlateSource.h:78
Aws::MediaTailor::Model::SlateSource::SetVodSourceName
void SetVodSourceName(const Aws::String &value)
Definition: SlateSource.h:97
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::SlateSource
Definition: SlateSource.h:32
Aws::MediaTailor::Model::SlateSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaTailor::Model::SlateSource::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: SlateSource.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::SlateSource::SlateSource
SlateSource(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::SlateSource::WithVodSourceName
SlateSource & WithVodSourceName(const Aws::String &value)
Definition: SlateSource.h:115
Aws::MediaTailor::Model::SlateSource::GetVodSourceName
const Aws::String & GetVodSourceName() const
Definition: SlateSource.h:85