AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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 Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API SchemaVersionErrorItem() = default;
39
40
42
45 inline long long GetVersionNumber() const { return m_versionNumber; }
46 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
47 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
48 inline SchemaVersionErrorItem& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
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) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
59 template<typename ErrorDetailsT = ErrorDetails>
60 SchemaVersionErrorItem& WithErrorDetails(ErrorDetailsT&& value) { SetErrorDetails(std::forward<ErrorDetailsT>(value)); return *this;}
62 private:
63
64 long long m_versionNumber{0};
65 bool m_versionNumberHasBeenSet = false;
66
67 ErrorDetails m_errorDetails;
68 bool m_errorDetailsHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Glue
73} // 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