AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SchemaVersionSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/schemas/Schemas_EXPORTS.h>
9#include <aws/schemas/model/Type.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Schemas {
21namespace Model {
22
24 public:
25 AWS_SCHEMAS_API SchemaVersionSummary() = default;
28 AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const;
29
31
34 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
35 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
36 template <typename SchemaArnT = Aws::String>
37 void SetSchemaArn(SchemaArnT&& value) {
38 m_schemaArnHasBeenSet = true;
39 m_schemaArn = std::forward<SchemaArnT>(value);
40 }
41 template <typename SchemaArnT = Aws::String>
42 SchemaVersionSummary& WithSchemaArn(SchemaArnT&& value) {
43 SetSchemaArn(std::forward<SchemaArnT>(value));
44 return *this;
45 }
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) {
56 m_schemaNameHasBeenSet = true;
57 m_schemaName = std::forward<SchemaNameT>(value);
58 }
59 template <typename SchemaNameT = Aws::String>
60 SchemaVersionSummary& WithSchemaName(SchemaNameT&& value) {
61 SetSchemaName(std::forward<SchemaNameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
71 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
72 template <typename SchemaVersionT = Aws::String>
73 void SetSchemaVersion(SchemaVersionT&& value) {
74 m_schemaVersionHasBeenSet = true;
75 m_schemaVersion = std::forward<SchemaVersionT>(value);
76 }
77 template <typename SchemaVersionT = Aws::String>
78 SchemaVersionSummary& WithSchemaVersion(SchemaVersionT&& value) {
79 SetSchemaVersion(std::forward<SchemaVersionT>(value));
80 return *this;
81 }
83
85
88 inline Type GetType() const { return m_type; }
89 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
90 inline void SetType(Type value) {
91 m_typeHasBeenSet = true;
92 m_type = value;
93 }
95 SetType(value);
96 return *this;
97 }
99 private:
100 Aws::String m_schemaArn;
101
102 Aws::String m_schemaName;
103
104 Aws::String m_schemaVersion;
105
106 Type m_type{Type::NOT_SET};
107 bool m_schemaArnHasBeenSet = false;
108 bool m_schemaNameHasBeenSet = false;
109 bool m_schemaVersionHasBeenSet = false;
110 bool m_typeHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace Schemas
115} // 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