AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
SignalMapSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/medialive/MediaLive_EXPORTS.h>
11#include <aws/medialive/model/SignalMapMonitorDeploymentStatus.h>
12#include <aws/medialive/model/SignalMapStatus.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive {
24namespace Model {
25
32 public:
33 AWS_MEDIALIVE_API SignalMapSummary() = default;
34 AWS_MEDIALIVE_API SignalMapSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
50 SignalMapSummary& WithArn(ArnT&& value) {
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
58 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
59 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
60 template <typename CreatedAtT = Aws::Utils::DateTime>
61 void SetCreatedAt(CreatedAtT&& value) {
62 m_createdAtHasBeenSet = true;
63 m_createdAt = std::forward<CreatedAtT>(value);
64 }
65 template <typename CreatedAtT = Aws::Utils::DateTime>
66 SignalMapSummary& WithCreatedAt(CreatedAtT&& value) {
67 SetCreatedAt(std::forward<CreatedAtT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
84 SignalMapSummary& WithDescription(DescriptionT&& value) {
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetId() const { return m_id; }
95 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
96 template <typename IdT = Aws::String>
97 void SetId(IdT&& value) {
98 m_idHasBeenSet = true;
99 m_id = std::forward<IdT>(value);
100 }
101 template <typename IdT = Aws::String>
102 SignalMapSummary& WithId(IdT&& value) {
103 SetId(std::forward<IdT>(value));
104 return *this;
105 }
107
109
110 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
111 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
112 template <typename ModifiedAtT = Aws::Utils::DateTime>
113 void SetModifiedAt(ModifiedAtT&& value) {
114 m_modifiedAtHasBeenSet = true;
115 m_modifiedAt = std::forward<ModifiedAtT>(value);
116 }
117 template <typename ModifiedAtT = Aws::Utils::DateTime>
118 SignalMapSummary& WithModifiedAt(ModifiedAtT&& value) {
119 SetModifiedAt(std::forward<ModifiedAtT>(value));
120 return *this;
121 }
123
125
126 inline SignalMapMonitorDeploymentStatus GetMonitorDeploymentStatus() const { return m_monitorDeploymentStatus; }
127 inline bool MonitorDeploymentStatusHasBeenSet() const { return m_monitorDeploymentStatusHasBeenSet; }
129 m_monitorDeploymentStatusHasBeenSet = true;
130 m_monitorDeploymentStatus = value;
131 }
134 return *this;
135 }
137
139
143 inline const Aws::String& GetName() const { return m_name; }
144 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
145 template <typename NameT = Aws::String>
146 void SetName(NameT&& value) {
147 m_nameHasBeenSet = true;
148 m_name = std::forward<NameT>(value);
149 }
150 template <typename NameT = Aws::String>
151 SignalMapSummary& WithName(NameT&& value) {
152 SetName(std::forward<NameT>(value));
153 return *this;
154 }
156
158
159 inline SignalMapStatus GetStatus() const { return m_status; }
160 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
161 inline void SetStatus(SignalMapStatus value) {
162 m_statusHasBeenSet = true;
163 m_status = value;
164 }
166 SetStatus(value);
167 return *this;
168 }
170
172
173 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
174 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
175 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 void SetTags(TagsT&& value) {
177 m_tagsHasBeenSet = true;
178 m_tags = std::forward<TagsT>(value);
179 }
180 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
181 SignalMapSummary& WithTags(TagsT&& value) {
182 SetTags(std::forward<TagsT>(value));
183 return *this;
184 }
185 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
186 SignalMapSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
187 m_tagsHasBeenSet = true;
188 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
189 return *this;
190 }
192 private:
193 Aws::String m_arn;
194
195 Aws::Utils::DateTime m_createdAt{};
196
197 Aws::String m_description;
198
199 Aws::String m_id;
200
201 Aws::Utils::DateTime m_modifiedAt{};
202
204
205 Aws::String m_name;
206
208
210 bool m_arnHasBeenSet = false;
211 bool m_createdAtHasBeenSet = false;
212 bool m_descriptionHasBeenSet = false;
213 bool m_idHasBeenSet = false;
214 bool m_modifiedAtHasBeenSet = false;
215 bool m_monitorDeploymentStatusHasBeenSet = false;
216 bool m_nameHasBeenSet = false;
217 bool m_statusHasBeenSet = false;
218 bool m_tagsHasBeenSet = false;
219};
220
221} // namespace Model
222} // namespace MediaLive
223} // namespace Aws
SignalMapSummary & WithId(IdT &&value)
void SetMonitorDeploymentStatus(SignalMapMonitorDeploymentStatus value)
SignalMapSummary & WithStatus(SignalMapStatus value)
SignalMapSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
SignalMapSummary & WithName(NameT &&value)
AWS_MEDIALIVE_API SignalMapSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SignalMapMonitorDeploymentStatus GetMonitorDeploymentStatus() const
SignalMapSummary & WithDescription(DescriptionT &&value)
SignalMapSummary & WithMonitorDeploymentStatus(SignalMapMonitorDeploymentStatus value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(SignalMapStatus value)
SignalMapSummary & WithTags(TagsT &&value)
SignalMapSummary & WithArn(ArnT &&value)
SignalMapSummary & WithModifiedAt(ModifiedAtT &&value)
SignalMapSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetModifiedAt() const
AWS_MEDIALIVE_API SignalMapSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API SignalMapSummary()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue