AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TableVersionError.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/ErrorDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API TableVersionError() = default;
39
40
42
45 inline const Aws::String& GetTableName() const { return m_tableName; }
46 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
47 template<typename TableNameT = Aws::String>
48 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
49 template<typename TableNameT = Aws::String>
50 TableVersionError& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
52
54
58 inline const Aws::String& GetVersionId() const { return m_versionId; }
59 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
60 template<typename VersionIdT = Aws::String>
61 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
62 template<typename VersionIdT = Aws::String>
63 TableVersionError& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
65
67
70 inline const ErrorDetail& GetErrorDetail() const { return m_errorDetail; }
71 inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; }
72 template<typename ErrorDetailT = ErrorDetail>
73 void SetErrorDetail(ErrorDetailT&& value) { m_errorDetailHasBeenSet = true; m_errorDetail = std::forward<ErrorDetailT>(value); }
74 template<typename ErrorDetailT = ErrorDetail>
75 TableVersionError& WithErrorDetail(ErrorDetailT&& value) { SetErrorDetail(std::forward<ErrorDetailT>(value)); return *this;}
77 private:
78
79 Aws::String m_tableName;
80 bool m_tableNameHasBeenSet = false;
81
82 Aws::String m_versionId;
83 bool m_versionIdHasBeenSet = false;
84
85 ErrorDetail m_errorDetail;
86 bool m_errorDetailHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Glue
91} // namespace Aws
TableVersionError & WithVersionId(VersionIdT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTableName(TableNameT &&value)
const ErrorDetail & GetErrorDetail() const
TableVersionError & WithErrorDetail(ErrorDetailT &&value)
TableVersionError & WithTableName(TableNameT &&value)
void SetVersionId(VersionIdT &&value)
AWS_GLUE_API TableVersionError(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API TableVersionError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API TableVersionError()=default
const Aws::String & GetTableName() const
const Aws::String & GetVersionId() const
void SetErrorDetail(ErrorDetailT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue