AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DashProgramInformation.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
29 public:
30 AWS_MEDIAPACKAGEV2_API DashProgramInformation() = default;
31 AWS_MEDIAPACKAGEV2_API DashProgramInformation(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetTitle() const { return m_title; }
40 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
41 template <typename TitleT = Aws::String>
42 void SetTitle(TitleT&& value) {
43 m_titleHasBeenSet = true;
44 m_title = std::forward<TitleT>(value);
45 }
46 template <typename TitleT = Aws::String>
48 SetTitle(std::forward<TitleT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetSource() const { return m_source; }
58 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
59 template <typename SourceT = Aws::String>
60 void SetSource(SourceT&& value) {
61 m_sourceHasBeenSet = true;
62 m_source = std::forward<SourceT>(value);
63 }
64 template <typename SourceT = Aws::String>
66 SetSource(std::forward<SourceT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetCopyright() const { return m_copyright; }
76 inline bool CopyrightHasBeenSet() const { return m_copyrightHasBeenSet; }
77 template <typename CopyrightT = Aws::String>
78 void SetCopyright(CopyrightT&& value) {
79 m_copyrightHasBeenSet = true;
80 m_copyright = std::forward<CopyrightT>(value);
81 }
82 template <typename CopyrightT = Aws::String>
84 SetCopyright(std::forward<CopyrightT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetLanguageCode() const { return m_languageCode; }
94 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
95 template <typename LanguageCodeT = Aws::String>
96 void SetLanguageCode(LanguageCodeT&& value) {
97 m_languageCodeHasBeenSet = true;
98 m_languageCode = std::forward<LanguageCodeT>(value);
99 }
100 template <typename LanguageCodeT = Aws::String>
101 DashProgramInformation& WithLanguageCode(LanguageCodeT&& value) {
102 SetLanguageCode(std::forward<LanguageCodeT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetMoreInformationUrl() const { return m_moreInformationUrl; }
112 inline bool MoreInformationUrlHasBeenSet() const { return m_moreInformationUrlHasBeenSet; }
113 template <typename MoreInformationUrlT = Aws::String>
114 void SetMoreInformationUrl(MoreInformationUrlT&& value) {
115 m_moreInformationUrlHasBeenSet = true;
116 m_moreInformationUrl = std::forward<MoreInformationUrlT>(value);
117 }
118 template <typename MoreInformationUrlT = Aws::String>
119 DashProgramInformation& WithMoreInformationUrl(MoreInformationUrlT&& value) {
120 SetMoreInformationUrl(std::forward<MoreInformationUrlT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_title;
126
127 Aws::String m_source;
128
129 Aws::String m_copyright;
130
131 Aws::String m_languageCode;
132
133 Aws::String m_moreInformationUrl;
134 bool m_titleHasBeenSet = false;
135 bool m_sourceHasBeenSet = false;
136 bool m_copyrightHasBeenSet = false;
137 bool m_languageCodeHasBeenSet = false;
138 bool m_moreInformationUrlHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace mediapackagev2
143} // namespace Aws
AWS_MEDIAPACKAGEV2_API DashProgramInformation(Aws::Utils::Json::JsonView jsonValue)
DashProgramInformation & WithSource(SourceT &&value)
DashProgramInformation & WithLanguageCode(LanguageCodeT &&value)
DashProgramInformation & WithTitle(TitleT &&value)
AWS_MEDIAPACKAGEV2_API DashProgramInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
DashProgramInformation & WithMoreInformationUrl(MoreInformationUrlT &&value)
AWS_MEDIAPACKAGEV2_API DashProgramInformation()=default
DashProgramInformation & WithCopyright(CopyrightT &&value)
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