AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SchemaVersionListItem.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/SchemaVersionStatus.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
34 {
35 public:
36 AWS_GLUE_API SchemaVersionListItem() = default;
40
41
43
46 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
47 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
48 template<typename SchemaArnT = Aws::String>
49 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
50 template<typename SchemaArnT = Aws::String>
51 SchemaVersionListItem& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetSchemaVersionId() const { return m_schemaVersionId; }
59 inline bool SchemaVersionIdHasBeenSet() const { return m_schemaVersionIdHasBeenSet; }
60 template<typename SchemaVersionIdT = Aws::String>
61 void SetSchemaVersionId(SchemaVersionIdT&& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = std::forward<SchemaVersionIdT>(value); }
62 template<typename SchemaVersionIdT = Aws::String>
63 SchemaVersionListItem& WithSchemaVersionId(SchemaVersionIdT&& value) { SetSchemaVersionId(std::forward<SchemaVersionIdT>(value)); return *this;}
65
67
70 inline long long GetVersionNumber() const { return m_versionNumber; }
71 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
72 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
73 inline SchemaVersionListItem& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
75
77
80 inline SchemaVersionStatus GetStatus() const { return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 inline void SetStatus(SchemaVersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
83 inline SchemaVersionListItem& WithStatus(SchemaVersionStatus value) { SetStatus(value); return *this;}
85
87
90 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
91 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
92 template<typename CreatedTimeT = Aws::String>
93 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
94 template<typename CreatedTimeT = Aws::String>
95 SchemaVersionListItem& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
97 private:
98
99 Aws::String m_schemaArn;
100 bool m_schemaArnHasBeenSet = false;
101
102 Aws::String m_schemaVersionId;
103 bool m_schemaVersionIdHasBeenSet = false;
104
105 long long m_versionNumber{0};
106 bool m_versionNumberHasBeenSet = false;
107
109 bool m_statusHasBeenSet = false;
110
111 Aws::String m_createdTime;
112 bool m_createdTimeHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Glue
117} // namespace Aws
AWS_GLUE_API SchemaVersionListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaVersionListItem & WithCreatedTime(CreatedTimeT &&value)
SchemaVersionListItem & WithSchemaArn(SchemaArnT &&value)
AWS_GLUE_API SchemaVersionListItem()=default
const Aws::String & GetSchemaVersionId() const
void SetStatus(SchemaVersionStatus value)
SchemaVersionListItem & WithVersionNumber(long long value)
void SetSchemaVersionId(SchemaVersionIdT &&value)
SchemaVersionListItem & WithSchemaVersionId(SchemaVersionIdT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaVersionListItem & WithStatus(SchemaVersionStatus value)
AWS_GLUE_API SchemaVersionListItem(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue