AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SchemaVersionSummary.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/schemas/model/Type.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 Schemas
23{
24namespace Model
25{
26
28 {
29 public:
30 AWS_SCHEMAS_API SchemaVersionSummary() = default;
33 AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
35
37
40 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
41 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
42 template<typename SchemaArnT = Aws::String>
43 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
44 template<typename SchemaArnT = Aws::String>
45 SchemaVersionSummary& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
53 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
54 template<typename SchemaNameT = Aws::String>
55 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
56 template<typename SchemaNameT = Aws::String>
57 SchemaVersionSummary& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
65 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
66 template<typename SchemaVersionT = Aws::String>
67 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
68 template<typename SchemaVersionT = Aws::String>
69 SchemaVersionSummary& WithSchemaVersion(SchemaVersionT&& value) { SetSchemaVersion(std::forward<SchemaVersionT>(value)); return *this;}
71
73
76 inline Type GetType() const { return m_type; }
77 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 inline void SetType(Type value) { m_typeHasBeenSet = true; m_type = value; }
79 inline SchemaVersionSummary& WithType(Type value) { SetType(value); return *this;}
81 private:
82
83 Aws::String m_schemaArn;
84 bool m_schemaArnHasBeenSet = false;
85
86 Aws::String m_schemaName;
87 bool m_schemaNameHasBeenSet = false;
88
89 Aws::String m_schemaVersion;
90 bool m_schemaVersionHasBeenSet = false;
91
92 Type m_type{Type::NOT_SET};
93 bool m_typeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Schemas
98} // namespace Aws
AWS_SCHEMAS_API SchemaVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaVersionSummary & WithSchemaName(SchemaNameT &&value)
SchemaVersionSummary & WithSchemaVersion(SchemaVersionT &&value)
AWS_SCHEMAS_API SchemaVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaVersionSummary & WithType(Type value)
AWS_SCHEMAS_API SchemaVersionSummary()=default
void SetSchemaVersion(SchemaVersionT &&value)
SchemaVersionSummary & WithSchemaArn(SchemaArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue