AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TableVersion.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/Table.h>
9#include <aws/core/utils/memory/stl/AWSString.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 TableVersion();
39
40
42
45 inline const Table& GetTable() const{ return m_table; }
46 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
47 inline void SetTable(const Table& value) { m_tableHasBeenSet = true; m_table = value; }
48 inline void SetTable(Table&& value) { m_tableHasBeenSet = true; m_table = std::move(value); }
49 inline TableVersion& WithTable(const Table& value) { SetTable(value); return *this;}
50 inline TableVersion& WithTable(Table&& value) { SetTable(std::move(value)); return *this;}
52
54
58 inline const Aws::String& GetVersionId() const{ return m_versionId; }
59 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
60 inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
61 inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
62 inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
63 inline TableVersion& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
64 inline TableVersion& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
65 inline TableVersion& WithVersionId(const char* value) { SetVersionId(value); return *this;}
67 private:
68
69 Table m_table;
70 bool m_tableHasBeenSet = false;
71
72 Aws::String m_versionId;
73 bool m_versionIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Glue
78} // namespace Aws
AWS_GLUE_API TableVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersionId() const
AWS_GLUE_API TableVersion(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVersionId(const char *value)
void SetTable(Table &&value)
TableVersion & WithVersionId(Aws::String &&value)
void SetVersionId(Aws::String &&value)
const Table & GetTable() const
void SetVersionId(const Aws::String &value)
void SetTable(const Table &value)
TableVersion & WithVersionId(const Aws::String &value)
TableVersion & WithVersionId(const char *value)
TableVersion & WithTable(Table &&value)
TableVersion & WithTable(const Table &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue