AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
39
40
42
45 inline const Table& GetTable() const { return m_table; }
46 inline bool TableHasBeenSet() const { return m_tableHasBeenSet; }
47 template<typename TableT = Table>
48 void SetTable(TableT&& value) { m_tableHasBeenSet = true; m_table = std::forward<TableT>(value); }
49 template<typename TableT = Table>
50 TableVersion& WithTable(TableT&& value) { SetTable(std::forward<TableT>(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 TableVersion& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
65 private:
66
67 Table m_table;
68 bool m_tableHasBeenSet = false;
69
70 Aws::String m_versionId;
71 bool m_versionIdHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Glue
76} // namespace Aws
AWS_GLUE_API TableVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API TableVersion()=default
TableVersion & WithTable(TableT &&value)
const Aws::String & GetVersionId() const
AWS_GLUE_API TableVersion(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Table & GetTable() const
void SetVersionId(VersionIdT &&value)
void SetTable(TableT &&value)
TableVersion & WithVersionId(VersionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue