AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
47 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
48 inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
49 inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
50 inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
51 inline SchemaVersionListItem& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
52 inline SchemaVersionListItem& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
53 inline SchemaVersionListItem& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
55
57
60 inline const Aws::String& GetSchemaVersionId() const{ return m_schemaVersionId; }
61 inline bool SchemaVersionIdHasBeenSet() const { return m_schemaVersionIdHasBeenSet; }
62 inline void SetSchemaVersionId(const Aws::String& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = value; }
63 inline void SetSchemaVersionId(Aws::String&& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = std::move(value); }
64 inline void SetSchemaVersionId(const char* value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId.assign(value); }
65 inline SchemaVersionListItem& WithSchemaVersionId(const Aws::String& value) { SetSchemaVersionId(value); return *this;}
66 inline SchemaVersionListItem& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;}
67 inline SchemaVersionListItem& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;}
69
71
74 inline long long GetVersionNumber() const{ return m_versionNumber; }
75 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
76 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
77 inline SchemaVersionListItem& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
79
81
84 inline const SchemaVersionStatus& GetStatus() const{ return m_status; }
85 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
86 inline void SetStatus(const SchemaVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
87 inline void SetStatus(SchemaVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
88 inline SchemaVersionListItem& WithStatus(const SchemaVersionStatus& value) { SetStatus(value); return *this;}
89 inline SchemaVersionListItem& WithStatus(SchemaVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
91
93
96 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
97 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
98 inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
99 inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
100 inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
101 inline SchemaVersionListItem& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
102 inline SchemaVersionListItem& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
103 inline SchemaVersionListItem& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
105 private:
106
107 Aws::String m_schemaArn;
108 bool m_schemaArnHasBeenSet = false;
109
110 Aws::String m_schemaVersionId;
111 bool m_schemaVersionIdHasBeenSet = false;
112
113 long long m_versionNumber;
114 bool m_versionNumberHasBeenSet = false;
115
116 SchemaVersionStatus m_status;
117 bool m_statusHasBeenSet = false;
118
119 Aws::String m_createdTime;
120 bool m_createdTimeHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Glue
125} // namespace Aws
AWS_GLUE_API SchemaVersionListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaVersionListItem & WithCreatedTime(Aws::String &&value)
SchemaVersionListItem & WithSchemaVersionId(Aws::String &&value)
SchemaVersionListItem & WithSchemaArn(Aws::String &&value)
SchemaVersionListItem & WithStatus(SchemaVersionStatus &&value)
const Aws::String & GetSchemaVersionId() const
SchemaVersionListItem & WithVersionNumber(long long value)
void SetStatus(SchemaVersionStatus &&value)
const SchemaVersionStatus & GetStatus() const
void SetSchemaVersionId(const Aws::String &value)
SchemaVersionListItem & WithCreatedTime(const char *value)
SchemaVersionListItem & WithSchemaVersionId(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaVersionListItem & WithSchemaArn(const char *value)
void SetStatus(const SchemaVersionStatus &value)
SchemaVersionListItem & WithStatus(const SchemaVersionStatus &value)
void SetSchemaArn(const Aws::String &value)
void SetCreatedTime(const Aws::String &value)
SchemaVersionListItem & WithSchemaVersionId(const Aws::String &value)
SchemaVersionListItem & WithCreatedTime(const Aws::String &value)
AWS_GLUE_API SchemaVersionListItem(Aws::Utils::Json::JsonView jsonValue)
SchemaVersionListItem & WithSchemaArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue