AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
Notifications.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_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 ElasticTranscoder
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_ELASTICTRANSCODER_API Notifications() = default;
38 AWS_ELASTICTRANSCODER_API Notifications(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICTRANSCODER_API Notifications& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetProgressing() const { return m_progressing; }
49 inline bool ProgressingHasBeenSet() const { return m_progressingHasBeenSet; }
50 template<typename ProgressingT = Aws::String>
51 void SetProgressing(ProgressingT&& value) { m_progressingHasBeenSet = true; m_progressing = std::forward<ProgressingT>(value); }
52 template<typename ProgressingT = Aws::String>
53 Notifications& WithProgressing(ProgressingT&& value) { SetProgressing(std::forward<ProgressingT>(value)); return *this;}
55
57
61 inline const Aws::String& GetCompleted() const { return m_completed; }
62 inline bool CompletedHasBeenSet() const { return m_completedHasBeenSet; }
63 template<typename CompletedT = Aws::String>
64 void SetCompleted(CompletedT&& value) { m_completedHasBeenSet = true; m_completed = std::forward<CompletedT>(value); }
65 template<typename CompletedT = Aws::String>
66 Notifications& WithCompleted(CompletedT&& value) { SetCompleted(std::forward<CompletedT>(value)); return *this;}
68
70
74 inline const Aws::String& GetWarning() const { return m_warning; }
75 inline bool WarningHasBeenSet() const { return m_warningHasBeenSet; }
76 template<typename WarningT = Aws::String>
77 void SetWarning(WarningT&& value) { m_warningHasBeenSet = true; m_warning = std::forward<WarningT>(value); }
78 template<typename WarningT = Aws::String>
79 Notifications& WithWarning(WarningT&& value) { SetWarning(std::forward<WarningT>(value)); return *this;}
81
83
87 inline const Aws::String& GetError() const { return m_error; }
88 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
89 template<typename ErrorT = Aws::String>
90 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
91 template<typename ErrorT = Aws::String>
92 Notifications& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
94 private:
95
96 Aws::String m_progressing;
97 bool m_progressingHasBeenSet = false;
98
99 Aws::String m_completed;
100 bool m_completedHasBeenSet = false;
101
102 Aws::String m_warning;
103 bool m_warningHasBeenSet = false;
104
105 Aws::String m_error;
106 bool m_errorHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace ElasticTranscoder
111} // namespace Aws
const Aws::String & GetCompleted() const
Notifications & WithProgressing(ProgressingT &&value)
AWS_ELASTICTRANSCODER_API Notifications & operator=(Aws::Utils::Json::JsonView jsonValue)
Notifications & WithCompleted(CompletedT &&value)
AWS_ELASTICTRANSCODER_API Notifications()=default
Notifications & WithWarning(WarningT &&value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProgressing(ProgressingT &&value)
AWS_ELASTICTRANSCODER_API Notifications(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProgressing() const
Notifications & WithError(ErrorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue