AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Warning.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 class Warning
36 {
37 public:
38 AWS_ELASTICTRANSCODER_API Warning() = default;
39 AWS_ELASTICTRANSCODER_API Warning(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ELASTICTRANSCODER_API Warning& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetCode() const { return m_code; }
49 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
50 template<typename CodeT = Aws::String>
51 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
52 template<typename CodeT = Aws::String>
53 Warning& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
55
57
62 inline const Aws::String& GetMessage() const { return m_message; }
63 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
64 template<typename MessageT = Aws::String>
65 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
66 template<typename MessageT = Aws::String>
67 Warning& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
69 private:
70
71 Aws::String m_code;
72 bool m_codeHasBeenSet = false;
73
74 Aws::String m_message;
75 bool m_messageHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ElasticTranscoder
80} // namespace Aws
const Aws::String & GetMessage() const
Definition Warning.h:62
AWS_ELASTICTRANSCODER_API Warning(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCode() const
Definition Warning.h:48
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
Warning & WithMessage(MessageT &&value)
Definition Warning.h:67
AWS_ELASTICTRANSCODER_API Warning()=default
Warning & WithCode(CodeT &&value)
Definition Warning.h:53
void SetMessage(MessageT &&value)
Definition Warning.h:65
AWS_ELASTICTRANSCODER_API Warning & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue