AWS SDK for C++  1.9.104
AWS SDK for C++
CdnConfiguration.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 
33  {
34  public:
39 
40 
50  inline const Aws::String& GetAdSegmentUrlPrefix() const{ return m_adSegmentUrlPrefix; }
51 
61  inline bool AdSegmentUrlPrefixHasBeenSet() const { return m_adSegmentUrlPrefixHasBeenSet; }
62 
72  inline void SetAdSegmentUrlPrefix(const Aws::String& value) { m_adSegmentUrlPrefixHasBeenSet = true; m_adSegmentUrlPrefix = value; }
73 
83  inline void SetAdSegmentUrlPrefix(Aws::String&& value) { m_adSegmentUrlPrefixHasBeenSet = true; m_adSegmentUrlPrefix = std::move(value); }
84 
94  inline void SetAdSegmentUrlPrefix(const char* value) { m_adSegmentUrlPrefixHasBeenSet = true; m_adSegmentUrlPrefix.assign(value); }
95 
105  inline CdnConfiguration& WithAdSegmentUrlPrefix(const Aws::String& value) { SetAdSegmentUrlPrefix(value); return *this;}
106 
116  inline CdnConfiguration& WithAdSegmentUrlPrefix(Aws::String&& value) { SetAdSegmentUrlPrefix(std::move(value)); return *this;}
117 
127  inline CdnConfiguration& WithAdSegmentUrlPrefix(const char* value) { SetAdSegmentUrlPrefix(value); return *this;}
128 
129 
137  inline const Aws::String& GetContentSegmentUrlPrefix() const{ return m_contentSegmentUrlPrefix; }
138 
146  inline bool ContentSegmentUrlPrefixHasBeenSet() const { return m_contentSegmentUrlPrefixHasBeenSet; }
147 
155  inline void SetContentSegmentUrlPrefix(const Aws::String& value) { m_contentSegmentUrlPrefixHasBeenSet = true; m_contentSegmentUrlPrefix = value; }
156 
164  inline void SetContentSegmentUrlPrefix(Aws::String&& value) { m_contentSegmentUrlPrefixHasBeenSet = true; m_contentSegmentUrlPrefix = std::move(value); }
165 
173  inline void SetContentSegmentUrlPrefix(const char* value) { m_contentSegmentUrlPrefixHasBeenSet = true; m_contentSegmentUrlPrefix.assign(value); }
174 
182  inline CdnConfiguration& WithContentSegmentUrlPrefix(const Aws::String& value) { SetContentSegmentUrlPrefix(value); return *this;}
183 
191  inline CdnConfiguration& WithContentSegmentUrlPrefix(Aws::String&& value) { SetContentSegmentUrlPrefix(std::move(value)); return *this;}
192 
200  inline CdnConfiguration& WithContentSegmentUrlPrefix(const char* value) { SetContentSegmentUrlPrefix(value); return *this;}
201 
202  private:
203 
204  Aws::String m_adSegmentUrlPrefix;
205  bool m_adSegmentUrlPrefixHasBeenSet;
206 
207  Aws::String m_contentSegmentUrlPrefix;
208  bool m_contentSegmentUrlPrefixHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace MediaTailor
213 } // namespace Aws
Aws::MediaTailor::Model::CdnConfiguration::GetContentSegmentUrlPrefix
const Aws::String & GetContentSegmentUrlPrefix() const
Definition: CdnConfiguration.h:137
Aws::MediaTailor::Model::CdnConfiguration::CdnConfiguration
CdnConfiguration()
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::CdnConfiguration::operator=
CdnConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::CdnConfiguration::WithContentSegmentUrlPrefix
CdnConfiguration & WithContentSegmentUrlPrefix(const Aws::String &value)
Definition: CdnConfiguration.h:182
Aws::MediaTailor::Model::CdnConfiguration::SetContentSegmentUrlPrefix
void SetContentSegmentUrlPrefix(const Aws::String &value)
Definition: CdnConfiguration.h:155
Aws::MediaTailor::Model::CdnConfiguration::AdSegmentUrlPrefixHasBeenSet
bool AdSegmentUrlPrefixHasBeenSet() const
Definition: CdnConfiguration.h:61
Aws::MediaTailor::Model::CdnConfiguration::SetContentSegmentUrlPrefix
void SetContentSegmentUrlPrefix(Aws::String &&value)
Definition: CdnConfiguration.h:164
Aws::MediaTailor::Model::CdnConfiguration::WithAdSegmentUrlPrefix
CdnConfiguration & WithAdSegmentUrlPrefix(const Aws::String &value)
Definition: CdnConfiguration.h:105
Aws::MediaTailor::Model::CdnConfiguration::SetAdSegmentUrlPrefix
void SetAdSegmentUrlPrefix(const char *value)
Definition: CdnConfiguration.h:94
Aws::MediaTailor::Model::CdnConfiguration::ContentSegmentUrlPrefixHasBeenSet
bool ContentSegmentUrlPrefixHasBeenSet() const
Definition: CdnConfiguration.h:146
Aws::MediaTailor::Model::CdnConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaTailor::Model::CdnConfiguration::WithContentSegmentUrlPrefix
CdnConfiguration & WithContentSegmentUrlPrefix(Aws::String &&value)
Definition: CdnConfiguration.h:191
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaTailor::Model::CdnConfiguration::SetAdSegmentUrlPrefix
void SetAdSegmentUrlPrefix(Aws::String &&value)
Definition: CdnConfiguration.h:83
Aws::MediaTailor::Model::CdnConfiguration::GetAdSegmentUrlPrefix
const Aws::String & GetAdSegmentUrlPrefix() const
Definition: CdnConfiguration.h:50
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::CdnConfiguration::SetContentSegmentUrlPrefix
void SetContentSegmentUrlPrefix(const char *value)
Definition: CdnConfiguration.h:173
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::CdnConfiguration::WithContentSegmentUrlPrefix
CdnConfiguration & WithContentSegmentUrlPrefix(const char *value)
Definition: CdnConfiguration.h:200
Aws::MediaTailor::Model::CdnConfiguration::SetAdSegmentUrlPrefix
void SetAdSegmentUrlPrefix(const Aws::String &value)
Definition: CdnConfiguration.h:72
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::CdnConfiguration
Definition: CdnConfiguration.h:33
Aws::MediaTailor::Model::CdnConfiguration::WithAdSegmentUrlPrefix
CdnConfiguration & WithAdSegmentUrlPrefix(const char *value)
Definition: CdnConfiguration.h:127
Aws::MediaTailor::Model::CdnConfiguration::WithAdSegmentUrlPrefix
CdnConfiguration & WithAdSegmentUrlPrefix(Aws::String &&value)
Definition: CdnConfiguration.h:116
Aws::MediaTailor::Model::CdnConfiguration::CdnConfiguration
CdnConfiguration(Aws::Utils::Json::JsonView jsonValue)