AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CdnConfiguration.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
33 {
34 public:
35 AWS_MEDIATAILOR_API CdnConfiguration();
36 AWS_MEDIATAILOR_API CdnConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIATAILOR_API CdnConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline const Aws::String& GetAdSegmentUrlPrefix() const{ return m_adSegmentUrlPrefix; }
52 inline bool AdSegmentUrlPrefixHasBeenSet() const { return m_adSegmentUrlPrefixHasBeenSet; }
53 inline void SetAdSegmentUrlPrefix(const Aws::String& value) { m_adSegmentUrlPrefixHasBeenSet = true; m_adSegmentUrlPrefix = value; }
54 inline void SetAdSegmentUrlPrefix(Aws::String&& value) { m_adSegmentUrlPrefixHasBeenSet = true; m_adSegmentUrlPrefix = std::move(value); }
55 inline void SetAdSegmentUrlPrefix(const char* value) { m_adSegmentUrlPrefixHasBeenSet = true; m_adSegmentUrlPrefix.assign(value); }
56 inline CdnConfiguration& WithAdSegmentUrlPrefix(const Aws::String& value) { SetAdSegmentUrlPrefix(value); return *this;}
57 inline CdnConfiguration& WithAdSegmentUrlPrefix(Aws::String&& value) { SetAdSegmentUrlPrefix(std::move(value)); return *this;}
58 inline CdnConfiguration& WithAdSegmentUrlPrefix(const char* value) { SetAdSegmentUrlPrefix(value); return *this;}
60
62
69 inline const Aws::String& GetContentSegmentUrlPrefix() const{ return m_contentSegmentUrlPrefix; }
70 inline bool ContentSegmentUrlPrefixHasBeenSet() const { return m_contentSegmentUrlPrefixHasBeenSet; }
71 inline void SetContentSegmentUrlPrefix(const Aws::String& value) { m_contentSegmentUrlPrefixHasBeenSet = true; m_contentSegmentUrlPrefix = value; }
72 inline void SetContentSegmentUrlPrefix(Aws::String&& value) { m_contentSegmentUrlPrefixHasBeenSet = true; m_contentSegmentUrlPrefix = std::move(value); }
73 inline void SetContentSegmentUrlPrefix(const char* value) { m_contentSegmentUrlPrefixHasBeenSet = true; m_contentSegmentUrlPrefix.assign(value); }
75 inline CdnConfiguration& WithContentSegmentUrlPrefix(Aws::String&& value) { SetContentSegmentUrlPrefix(std::move(value)); return *this;}
76 inline CdnConfiguration& WithContentSegmentUrlPrefix(const char* value) { SetContentSegmentUrlPrefix(value); return *this;}
78 private:
79
80 Aws::String m_adSegmentUrlPrefix;
81 bool m_adSegmentUrlPrefixHasBeenSet = false;
82
83 Aws::String m_contentSegmentUrlPrefix;
84 bool m_contentSegmentUrlPrefixHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace MediaTailor
89} // namespace Aws
CdnConfiguration & WithAdSegmentUrlPrefix(const Aws::String &value)
void SetContentSegmentUrlPrefix(Aws::String &&value)
const Aws::String & GetContentSegmentUrlPrefix() const
CdnConfiguration & WithAdSegmentUrlPrefix(const char *value)
void SetContentSegmentUrlPrefix(const char *value)
CdnConfiguration & WithContentSegmentUrlPrefix(Aws::String &&value)
const Aws::String & GetAdSegmentUrlPrefix() const
CdnConfiguration & WithContentSegmentUrlPrefix(const Aws::String &value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
CdnConfiguration & WithContentSegmentUrlPrefix(const char *value)
AWS_MEDIATAILOR_API CdnConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CdnConfiguration & WithAdSegmentUrlPrefix(Aws::String &&value)
void SetAdSegmentUrlPrefix(Aws::String &&value)
AWS_MEDIATAILOR_API CdnConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetContentSegmentUrlPrefix(const Aws::String &value)
void SetAdSegmentUrlPrefix(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue