AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
WarningGroup.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MediaConvert {
17namespace Model {
18
26 public:
27 AWS_MEDIACONVERT_API WarningGroup() = default;
28 AWS_MEDIACONVERT_API WarningGroup(Aws::Utils::Json::JsonView jsonValue);
29 AWS_MEDIACONVERT_API WarningGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
38 inline int GetCode() const { return m_code; }
39 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
40 inline void SetCode(int value) {
41 m_codeHasBeenSet = true;
42 m_code = value;
43 }
44 inline WarningGroup& WithCode(int value) {
45 SetCode(value);
46 return *this;
47 }
49
51
54 inline int GetCount() const { return m_count; }
55 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
56 inline void SetCount(int value) {
57 m_countHasBeenSet = true;
58 m_count = value;
59 }
60 inline WarningGroup& WithCount(int value) {
61 SetCount(value);
62 return *this;
63 }
65 private:
66 int m_code{0};
67
68 int m_count{0};
69 bool m_codeHasBeenSet = false;
70 bool m_countHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace MediaConvert
75} // namespace Aws
AWS_MEDIACONVERT_API WarningGroup(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API WarningGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
WarningGroup & WithCount(int value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
WarningGroup & WithCode(int value)
AWS_MEDIACONVERT_API WarningGroup()=default
Aws::Utils::Json::JsonValue JsonValue