AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SchemaVersionErrorItem.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/ErrorDetails.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API SchemaVersionErrorItem() = default;
34
36
39 inline long long GetVersionNumber() const { return m_versionNumber; }
40 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
41 inline void SetVersionNumber(long long value) {
42 m_versionNumberHasBeenSet = true;
43 m_versionNumber = value;
44 }
45 inline SchemaVersionErrorItem& WithVersionNumber(long long value) {
46 SetVersionNumber(value);
47 return *this;
48 }
50
52
55 inline const ErrorDetails& GetErrorDetails() const { return m_errorDetails; }
56 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
57 template <typename ErrorDetailsT = ErrorDetails>
58 void SetErrorDetails(ErrorDetailsT&& value) {
59 m_errorDetailsHasBeenSet = true;
60 m_errorDetails = std::forward<ErrorDetailsT>(value);
61 }
62 template <typename ErrorDetailsT = ErrorDetails>
63 SchemaVersionErrorItem& WithErrorDetails(ErrorDetailsT&& value) {
64 SetErrorDetails(std::forward<ErrorDetailsT>(value));
65 return *this;
66 }
68 private:
69 long long m_versionNumber{0};
70
71 ErrorDetails m_errorDetails;
72 bool m_versionNumberHasBeenSet = false;
73 bool m_errorDetailsHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Glue
78} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API SchemaVersionErrorItem & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaVersionErrorItem & WithErrorDetails(ErrorDetailsT &&value)
AWS_GLUE_API SchemaVersionErrorItem()=default
AWS_GLUE_API SchemaVersionErrorItem(Aws::Utils::Json::JsonView jsonValue)
SchemaVersionErrorItem & WithVersionNumber(long long value)
Aws::Utils::Json::JsonValue JsonValue