AWS SDK for C++  0.14.3
AWS SDK for C++
Notifications.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace ElasticTranscoder
29 {
30 namespace Model
31 {
32 
39  {
40  public:
41  Notifications();
43  Notifications& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
50  inline const Aws::String& GetProgressing() const{ return m_progressing; }
51 
56  inline void SetProgressing(const Aws::String& value) { m_progressingHasBeenSet = true; m_progressing = value; }
57 
62  inline void SetProgressing(Aws::String&& value) { m_progressingHasBeenSet = true; m_progressing = value; }
63 
68  inline void SetProgressing(const char* value) { m_progressingHasBeenSet = true; m_progressing.assign(value); }
69 
74  inline Notifications& WithProgressing(const Aws::String& value) { SetProgressing(value); return *this;}
75 
80  inline Notifications& WithProgressing(Aws::String&& value) { SetProgressing(value); return *this;}
81 
86  inline Notifications& WithProgressing(const char* value) { SetProgressing(value); return *this;}
87 
92  inline const Aws::String& GetCompleted() const{ return m_completed; }
93 
98  inline void SetCompleted(const Aws::String& value) { m_completedHasBeenSet = true; m_completed = value; }
99 
104  inline void SetCompleted(Aws::String&& value) { m_completedHasBeenSet = true; m_completed = value; }
105 
110  inline void SetCompleted(const char* value) { m_completedHasBeenSet = true; m_completed.assign(value); }
111 
116  inline Notifications& WithCompleted(const Aws::String& value) { SetCompleted(value); return *this;}
117 
122  inline Notifications& WithCompleted(Aws::String&& value) { SetCompleted(value); return *this;}
123 
128  inline Notifications& WithCompleted(const char* value) { SetCompleted(value); return *this;}
129 
134  inline const Aws::String& GetWarning() const{ return m_warning; }
135 
140  inline void SetWarning(const Aws::String& value) { m_warningHasBeenSet = true; m_warning = value; }
141 
146  inline void SetWarning(Aws::String&& value) { m_warningHasBeenSet = true; m_warning = value; }
147 
152  inline void SetWarning(const char* value) { m_warningHasBeenSet = true; m_warning.assign(value); }
153 
158  inline Notifications& WithWarning(const Aws::String& value) { SetWarning(value); return *this;}
159 
164  inline Notifications& WithWarning(Aws::String&& value) { SetWarning(value); return *this;}
165 
170  inline Notifications& WithWarning(const char* value) { SetWarning(value); return *this;}
171 
176  inline const Aws::String& GetError() const{ return m_error; }
177 
182  inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; }
183 
188  inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = value; }
189 
194  inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); }
195 
200  inline Notifications& WithError(const Aws::String& value) { SetError(value); return *this;}
201 
206  inline Notifications& WithError(Aws::String&& value) { SetError(value); return *this;}
207 
212  inline Notifications& WithError(const char* value) { SetError(value); return *this;}
213 
214  private:
215  Aws::String m_progressing;
216  bool m_progressingHasBeenSet;
217  Aws::String m_completed;
218  bool m_completedHasBeenSet;
219  Aws::String m_warning;
220  bool m_warningHasBeenSet;
221  Aws::String m_error;
222  bool m_errorHasBeenSet;
223  };
224 
225 } // namespace Model
226 } // namespace ElasticTranscoder
227 } // namespace Aws
Notifications & WithError(Aws::String &&value)
Notifications & WithWarning(const char *value)
const Aws::String & GetCompleted() const
Definition: Notifications.h:92
const Aws::String & GetWarning() const
void SetProgressing(Aws::String &&value)
Definition: Notifications.h:62
void SetCompleted(const Aws::String &value)
Definition: Notifications.h:98
Notifications & WithProgressing(const char *value)
Definition: Notifications.h:86
void SetError(const Aws::String &value)
Notifications & WithProgressing(Aws::String &&value)
Definition: Notifications.h:80
Notifications & WithCompleted(const char *value)
const Aws::String & GetProgressing() const
Definition: Notifications.h:50
Notifications & WithProgressing(const Aws::String &value)
Definition: Notifications.h:74
const Aws::String & GetError() const
void SetWarning(const Aws::String &value)
Notifications & WithError(const char *value)
Notifications & WithWarning(Aws::String &&value)
Notifications & WithError(const Aws::String &value)
#define AWS_ELASTICTRANSCODER_API
Notifications & WithWarning(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Notifications & WithCompleted(Aws::String &&value)
void SetProgressing(const Aws::String &value)
Definition: Notifications.h:56
Notifications & WithCompleted(const Aws::String &value)
JSON (JavaScript Object Notation).