AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetTableName() const{ return m_tableName; }
46 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
47 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
48 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
49 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
50 inline TableVersionError& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
51 inline TableVersionError& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
52 inline TableVersionError& WithTableName(const char* value) { SetTableName(value); return *this;}
54
56
60 inline const Aws::String& GetVersionId() const{ return m_versionId; }
61 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
62 inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
63 inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
64 inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
65 inline TableVersionError& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
66 inline TableVersionError& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
67 inline TableVersionError& WithVersionId(const char* value) { SetVersionId(value); return *this;}
69
71
74 inline const ErrorDetail& GetErrorDetail() const{ return m_errorDetail; }
75 inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; }
76 inline void SetErrorDetail(const ErrorDetail& value) { m_errorDetailHasBeenSet = true; m_errorDetail = value; }
77 inline void SetErrorDetail(ErrorDetail&& value) { m_errorDetailHasBeenSet = true; m_errorDetail = std::move(value); }
78 inline TableVersionError& WithErrorDetail(const ErrorDetail& value) { SetErrorDetail(value); return *this;}
79 inline TableVersionError& WithErrorDetail(ErrorDetail&& value) { SetErrorDetail(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_tableName;
84 bool m_tableNameHasBeenSet = false;
85
86 Aws::String m_versionId;
87 bool m_versionIdHasBeenSet = false;
88
89 ErrorDetail m_errorDetail;
90 bool m_errorDetailHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Glue
95} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const ErrorDetail & GetErrorDetail() const
void SetErrorDetail(ErrorDetail &&value)
TableVersionError & WithVersionId(Aws::String &&value)
TableVersionError & WithVersionId(const Aws::String &value)
AWS_GLUE_API TableVersionError(Aws::Utils::Json::JsonView jsonValue)
TableVersionError & WithVersionId(const char *value)
AWS_GLUE_API TableVersionError & operator=(Aws::Utils::Json::JsonView jsonValue)
TableVersionError & WithTableName(Aws::String &&value)
TableVersionError & WithErrorDetail(ErrorDetail &&value)
void SetTableName(Aws::String &&value)
void SetVersionId(Aws::String &&value)
TableVersionError & WithTableName(const Aws::String &value)
void SetErrorDetail(const ErrorDetail &value)
const Aws::String & GetTableName() const
const Aws::String & GetVersionId() const
void SetTableName(const Aws::String &value)
TableVersionError & WithTableName(const char *value)
void SetVersionId(const Aws::String &value)
TableVersionError & WithErrorDetail(const ErrorDetail &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue