AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DashBaseUrl.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_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 mediapackagev2
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_MEDIAPACKAGEV2_API DashBaseUrl() = default;
37 AWS_MEDIAPACKAGEV2_API DashBaseUrl(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGEV2_API DashBaseUrl& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetUrl() const { return m_url; }
47 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
48 template<typename UrlT = Aws::String>
49 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
50 template<typename UrlT = Aws::String>
51 DashBaseUrl& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
53
55
58 inline const Aws::String& GetServiceLocation() const { return m_serviceLocation; }
59 inline bool ServiceLocationHasBeenSet() const { return m_serviceLocationHasBeenSet; }
60 template<typename ServiceLocationT = Aws::String>
61 void SetServiceLocation(ServiceLocationT&& value) { m_serviceLocationHasBeenSet = true; m_serviceLocation = std::forward<ServiceLocationT>(value); }
62 template<typename ServiceLocationT = Aws::String>
63 DashBaseUrl& WithServiceLocation(ServiceLocationT&& value) { SetServiceLocation(std::forward<ServiceLocationT>(value)); return *this;}
65
67
71 inline int GetDvbPriority() const { return m_dvbPriority; }
72 inline bool DvbPriorityHasBeenSet() const { return m_dvbPriorityHasBeenSet; }
73 inline void SetDvbPriority(int value) { m_dvbPriorityHasBeenSet = true; m_dvbPriority = value; }
74 inline DashBaseUrl& WithDvbPriority(int value) { SetDvbPriority(value); return *this;}
76
78
82 inline int GetDvbWeight() const { return m_dvbWeight; }
83 inline bool DvbWeightHasBeenSet() const { return m_dvbWeightHasBeenSet; }
84 inline void SetDvbWeight(int value) { m_dvbWeightHasBeenSet = true; m_dvbWeight = value; }
85 inline DashBaseUrl& WithDvbWeight(int value) { SetDvbWeight(value); return *this;}
87 private:
88
89 Aws::String m_url;
90 bool m_urlHasBeenSet = false;
91
92 Aws::String m_serviceLocation;
93 bool m_serviceLocationHasBeenSet = false;
94
95 int m_dvbPriority{0};
96 bool m_dvbPriorityHasBeenSet = false;
97
98 int m_dvbWeight{0};
99 bool m_dvbWeightHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace mediapackagev2
104} // namespace Aws
const Aws::String & GetUrl() const
Definition DashBaseUrl.h:46
const Aws::String & GetServiceLocation() const
Definition DashBaseUrl.h:58
DashBaseUrl & WithDvbWeight(int value)
Definition DashBaseUrl.h:85
DashBaseUrl & WithDvbPriority(int value)
Definition DashBaseUrl.h:74
DashBaseUrl & WithUrl(UrlT &&value)
Definition DashBaseUrl.h:51
AWS_MEDIAPACKAGEV2_API DashBaseUrl()=default
void SetServiceLocation(ServiceLocationT &&value)
Definition DashBaseUrl.h:61
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIAPACKAGEV2_API DashBaseUrl & operator=(Aws::Utils::Json::JsonView jsonValue)
DashBaseUrl & WithServiceLocation(ServiceLocationT &&value)
Definition DashBaseUrl.h:63
AWS_MEDIAPACKAGEV2_API DashBaseUrl(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue