AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DashBaseUrl.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace mediapackagev2 {
20namespace Model {
21
30 public:
31 AWS_MEDIAPACKAGEV2_API DashBaseUrl() = default;
32 AWS_MEDIAPACKAGEV2_API DashBaseUrl(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIAPACKAGEV2_API DashBaseUrl& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetUrl() const { return m_url; }
41 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
42 template <typename UrlT = Aws::String>
43 void SetUrl(UrlT&& value) {
44 m_urlHasBeenSet = true;
45 m_url = std::forward<UrlT>(value);
46 }
47 template <typename UrlT = Aws::String>
48 DashBaseUrl& WithUrl(UrlT&& value) {
49 SetUrl(std::forward<UrlT>(value));
50 return *this;
51 }
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) {
62 m_serviceLocationHasBeenSet = true;
63 m_serviceLocation = std::forward<ServiceLocationT>(value);
64 }
65 template <typename ServiceLocationT = Aws::String>
66 DashBaseUrl& WithServiceLocation(ServiceLocationT&& value) {
67 SetServiceLocation(std::forward<ServiceLocationT>(value));
68 return *this;
69 }
71
73
77 inline int GetDvbPriority() const { return m_dvbPriority; }
78 inline bool DvbPriorityHasBeenSet() const { return m_dvbPriorityHasBeenSet; }
79 inline void SetDvbPriority(int value) {
80 m_dvbPriorityHasBeenSet = true;
81 m_dvbPriority = value;
82 }
83 inline DashBaseUrl& WithDvbPriority(int value) {
84 SetDvbPriority(value);
85 return *this;
86 }
88
90
94 inline int GetDvbWeight() const { return m_dvbWeight; }
95 inline bool DvbWeightHasBeenSet() const { return m_dvbWeightHasBeenSet; }
96 inline void SetDvbWeight(int value) {
97 m_dvbWeightHasBeenSet = true;
98 m_dvbWeight = value;
99 }
100 inline DashBaseUrl& WithDvbWeight(int value) {
101 SetDvbWeight(value);
102 return *this;
103 }
105 private:
106 Aws::String m_url;
107
108 Aws::String m_serviceLocation;
109
110 int m_dvbPriority{0};
111
112 int m_dvbWeight{0};
113 bool m_urlHasBeenSet = false;
114 bool m_serviceLocationHasBeenSet = false;
115 bool m_dvbPriorityHasBeenSet = false;
116 bool m_dvbWeightHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace mediapackagev2
121} // namespace Aws
const Aws::String & GetUrl() const
Definition DashBaseUrl.h:40
const Aws::String & GetServiceLocation() const
Definition DashBaseUrl.h:58
DashBaseUrl & WithDvbWeight(int value)
DashBaseUrl & WithDvbPriority(int value)
Definition DashBaseUrl.h:83
DashBaseUrl & WithUrl(UrlT &&value)
Definition DashBaseUrl.h:48
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:66
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