AWS SDK for C++  1.9.102
AWS SDK for C++
Notifications.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ElasticTranscoder
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
47  inline const Aws::String& GetProgressing() const{ return m_progressing; }
48 
53  inline bool ProgressingHasBeenSet() const { return m_progressingHasBeenSet; }
54 
59  inline void SetProgressing(const Aws::String& value) { m_progressingHasBeenSet = true; m_progressing = value; }
60 
65  inline void SetProgressing(Aws::String&& value) { m_progressingHasBeenSet = true; m_progressing = std::move(value); }
66 
71  inline void SetProgressing(const char* value) { m_progressingHasBeenSet = true; m_progressing.assign(value); }
72 
77  inline Notifications& WithProgressing(const Aws::String& value) { SetProgressing(value); return *this;}
78 
83  inline Notifications& WithProgressing(Aws::String&& value) { SetProgressing(std::move(value)); return *this;}
84 
89  inline Notifications& WithProgressing(const char* value) { SetProgressing(value); return *this;}
90 
91 
96  inline const Aws::String& GetCompleted() const{ return m_completed; }
97 
102  inline bool CompletedHasBeenSet() const { return m_completedHasBeenSet; }
103 
108  inline void SetCompleted(const Aws::String& value) { m_completedHasBeenSet = true; m_completed = value; }
109 
114  inline void SetCompleted(Aws::String&& value) { m_completedHasBeenSet = true; m_completed = std::move(value); }
115 
120  inline void SetCompleted(const char* value) { m_completedHasBeenSet = true; m_completed.assign(value); }
121 
126  inline Notifications& WithCompleted(const Aws::String& value) { SetCompleted(value); return *this;}
127 
132  inline Notifications& WithCompleted(Aws::String&& value) { SetCompleted(std::move(value)); return *this;}
133 
138  inline Notifications& WithCompleted(const char* value) { SetCompleted(value); return *this;}
139 
140 
145  inline const Aws::String& GetWarning() const{ return m_warning; }
146 
151  inline bool WarningHasBeenSet() const { return m_warningHasBeenSet; }
152 
157  inline void SetWarning(const Aws::String& value) { m_warningHasBeenSet = true; m_warning = value; }
158 
163  inline void SetWarning(Aws::String&& value) { m_warningHasBeenSet = true; m_warning = std::move(value); }
164 
169  inline void SetWarning(const char* value) { m_warningHasBeenSet = true; m_warning.assign(value); }
170 
175  inline Notifications& WithWarning(const Aws::String& value) { SetWarning(value); return *this;}
176 
181  inline Notifications& WithWarning(Aws::String&& value) { SetWarning(std::move(value)); return *this;}
182 
187  inline Notifications& WithWarning(const char* value) { SetWarning(value); return *this;}
188 
189 
194  inline const Aws::String& GetError() const{ return m_error; }
195 
200  inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
201 
206  inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; }
207 
212  inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
213 
218  inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); }
219 
224  inline Notifications& WithError(const Aws::String& value) { SetError(value); return *this;}
225 
230  inline Notifications& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
231 
236  inline Notifications& WithError(const char* value) { SetError(value); return *this;}
237 
238  private:
239 
240  Aws::String m_progressing;
241  bool m_progressingHasBeenSet;
242 
243  Aws::String m_completed;
244  bool m_completedHasBeenSet;
245 
246  Aws::String m_warning;
247  bool m_warningHasBeenSet;
248 
249  Aws::String m_error;
250  bool m_errorHasBeenSet;
251  };
252 
253 } // namespace Model
254 } // namespace ElasticTranscoder
255 } // namespace Aws
Aws::ElasticTranscoder::Model::Notifications::WithWarning
Notifications & WithWarning(Aws::String &&value)
Definition: Notifications.h:181
Aws::ElasticTranscoder::Model::Notifications::GetWarning
const Aws::String & GetWarning() const
Definition: Notifications.h:145
Aws::ElasticTranscoder::Model::Notifications::WithError
Notifications & WithError(Aws::String &&value)
Definition: Notifications.h:230
Aws::ElasticTranscoder::Model::Notifications::operator=
Notifications & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticTranscoder::Model::Notifications::SetWarning
void SetWarning(const Aws::String &value)
Definition: Notifications.h:157
Aws::ElasticTranscoder::Model::Notifications::WithWarning
Notifications & WithWarning(const Aws::String &value)
Definition: Notifications.h:175
Aws::ElasticTranscoder::Model::Notifications::SetProgressing
void SetProgressing(Aws::String &&value)
Definition: Notifications.h:65
Aws::ElasticTranscoder::Model::Notifications::SetError
void SetError(const Aws::String &value)
Definition: Notifications.h:206
Aws::ElasticTranscoder::Model::Notifications::ErrorHasBeenSet
bool ErrorHasBeenSet() const
Definition: Notifications.h:200
Aws::ElasticTranscoder::Model::Notifications::SetWarning
void SetWarning(const char *value)
Definition: Notifications.h:169
Aws::ElasticTranscoder::Model::Notifications::Notifications
Notifications(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticTranscoder::Model::Notifications::SetError
void SetError(Aws::String &&value)
Definition: Notifications.h:212
Aws::ElasticTranscoder::Model::Notifications::SetError
void SetError(const char *value)
Definition: Notifications.h:218
Aws::ElasticTranscoder::Model::Notifications::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICTRANSCODER_API
#define AWS_ELASTICTRANSCODER_API
Definition: ElasticTranscoder_EXPORTS.h:28
Aws::ElasticTranscoder::Model::Notifications::GetError
const Aws::String & GetError() const
Definition: Notifications.h:194
Aws::ElasticTranscoder::Model::Notifications::SetWarning
void SetWarning(Aws::String &&value)
Definition: Notifications.h:163
Aws::ElasticTranscoder::Model::Notifications::WarningHasBeenSet
bool WarningHasBeenSet() const
Definition: Notifications.h:151
Aws::ElasticTranscoder::Model::Notifications::WithWarning
Notifications & WithWarning(const char *value)
Definition: Notifications.h:187
Aws::ElasticTranscoder::Model::Notifications::WithCompleted
Notifications & WithCompleted(Aws::String &&value)
Definition: Notifications.h:132
Aws::ElasticTranscoder::Model::Notifications::SetCompleted
void SetCompleted(Aws::String &&value)
Definition: Notifications.h:114
Aws::ElasticTranscoder::Model::Notifications::WithProgressing
Notifications & WithProgressing(const char *value)
Definition: Notifications.h:89
Aws::ElasticTranscoder::Model::Notifications::SetCompleted
void SetCompleted(const char *value)
Definition: Notifications.h:120
Aws::ElasticTranscoder::Model::Notifications
Definition: Notifications.h:35
Aws::ElasticTranscoder::Model::Notifications::WithError
Notifications & WithError(const Aws::String &value)
Definition: Notifications.h:224
Aws::ElasticTranscoder::Model::Notifications::WithError
Notifications & WithError(const char *value)
Definition: Notifications.h:236
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticTranscoder::Model::Notifications::CompletedHasBeenSet
bool CompletedHasBeenSet() const
Definition: Notifications.h:102
Aws::ElasticTranscoder::Model::Notifications::WithProgressing
Notifications & WithProgressing(Aws::String &&value)
Definition: Notifications.h:83
Aws::ElasticTranscoder::Model::Notifications::GetCompleted
const Aws::String & GetCompleted() const
Definition: Notifications.h:96
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticTranscoder::Model::Notifications::GetProgressing
const Aws::String & GetProgressing() const
Definition: Notifications.h:47
Aws::ElasticTranscoder::Model::Notifications::ProgressingHasBeenSet
bool ProgressingHasBeenSet() const
Definition: Notifications.h:53
Aws::ElasticTranscoder::Model::Notifications::WithCompleted
Notifications & WithCompleted(const char *value)
Definition: Notifications.h:138
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticTranscoder::Model::Notifications::WithProgressing
Notifications & WithProgressing(const Aws::String &value)
Definition: Notifications.h:77
Aws::ElasticTranscoder::Model::Notifications::Notifications
Notifications()
Aws::ElasticTranscoder::Model::Notifications::SetCompleted
void SetCompleted(const Aws::String &value)
Definition: Notifications.h:108
ElasticTranscoder_EXPORTS.h
Aws::ElasticTranscoder::Model::Notifications::WithCompleted
Notifications & WithCompleted(const Aws::String &value)
Definition: Notifications.h:126
Aws::ElasticTranscoder::Model::Notifications::SetProgressing
void SetProgressing(const Aws::String &value)
Definition: Notifications.h:59
Aws::ElasticTranscoder::Model::Notifications::SetProgressing
void SetProgressing(const char *value)
Definition: Notifications.h:71