AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DashDvbMetricsReporting.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 DashDvbMetricsReporting() = default;
37 AWS_MEDIAPACKAGEV2_API DashDvbMetricsReporting(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetReportingUrl() const { return m_reportingUrl; }
47 inline bool ReportingUrlHasBeenSet() const { return m_reportingUrlHasBeenSet; }
48 template<typename ReportingUrlT = Aws::String>
49 void SetReportingUrl(ReportingUrlT&& value) { m_reportingUrlHasBeenSet = true; m_reportingUrl = std::forward<ReportingUrlT>(value); }
50 template<typename ReportingUrlT = Aws::String>
51 DashDvbMetricsReporting& WithReportingUrl(ReportingUrlT&& value) { SetReportingUrl(std::forward<ReportingUrlT>(value)); return *this;}
53
55
60 inline int GetProbability() const { return m_probability; }
61 inline bool ProbabilityHasBeenSet() const { return m_probabilityHasBeenSet; }
62 inline void SetProbability(int value) { m_probabilityHasBeenSet = true; m_probability = value; }
63 inline DashDvbMetricsReporting& WithProbability(int value) { SetProbability(value); return *this;}
65 private:
66
67 Aws::String m_reportingUrl;
68 bool m_reportingUrlHasBeenSet = false;
69
70 int m_probability{0};
71 bool m_probabilityHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace mediapackagev2
76} // namespace Aws
AWS_MEDIAPACKAGEV2_API DashDvbMetricsReporting()=default
DashDvbMetricsReporting & WithReportingUrl(ReportingUrlT &&value)
AWS_MEDIAPACKAGEV2_API DashDvbMetricsReporting & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API DashDvbMetricsReporting(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue