AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
GetSchemaVersionResult.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/model/SchemaVersionType.h>
10#include <aws/iot-managed-integrations/model/SchemaVersionVisibility.h>
11#include <aws/core/utils/Document.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoTManagedIntegrations
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IOTMANAGEDINTEGRATIONS_API GetSchemaVersionResult() = default;
36
37
39
42 inline const Aws::String& GetSchemaId() const { return m_schemaId; }
43 template<typename SchemaIdT = Aws::String>
44 void SetSchemaId(SchemaIdT&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::forward<SchemaIdT>(value); }
45 template<typename SchemaIdT = Aws::String>
46 GetSchemaVersionResult& WithSchemaId(SchemaIdT&& value) { SetSchemaId(std::forward<SchemaIdT>(value)); return *this;}
48
50
53 inline SchemaVersionType GetType() const { return m_type; }
54 inline void SetType(SchemaVersionType value) { m_typeHasBeenSet = true; m_type = value; }
55 inline GetSchemaVersionResult& WithType(SchemaVersionType value) { SetType(value); return *this;}
57
59
62 inline const Aws::String& GetDescription() const { return m_description; }
63 template<typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
65 template<typename DescriptionT = Aws::String>
66 GetSchemaVersionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
68
70
73 inline const Aws::String& GetNamespace() const { return m_namespace; }
74 template<typename NamespaceT = Aws::String>
75 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
76 template<typename NamespaceT = Aws::String>
77 GetSchemaVersionResult& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
79
81
85 inline const Aws::String& GetSemanticVersion() const { return m_semanticVersion; }
86 template<typename SemanticVersionT = Aws::String>
87 void SetSemanticVersion(SemanticVersionT&& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = std::forward<SemanticVersionT>(value); }
88 template<typename SemanticVersionT = Aws::String>
89 GetSchemaVersionResult& WithSemanticVersion(SemanticVersionT&& value) { SetSemanticVersion(std::forward<SemanticVersionT>(value)); return *this;}
91
93
96 inline SchemaVersionVisibility GetVisibility() const { return m_visibility; }
97 inline void SetVisibility(SchemaVersionVisibility value) { m_visibilityHasBeenSet = true; m_visibility = value; }
100
102
105 inline Aws::Utils::DocumentView GetSchema() const { return m_schema; }
106 template<typename SchemaT = Aws::Utils::Document>
107 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
108 template<typename SchemaT = Aws::Utils::Document>
109 GetSchemaVersionResult& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
111
113
114 inline const Aws::String& GetRequestId() const { return m_requestId; }
115 template<typename RequestIdT = Aws::String>
116 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
117 template<typename RequestIdT = Aws::String>
118 GetSchemaVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
120 private:
121
122 Aws::String m_schemaId;
123 bool m_schemaIdHasBeenSet = false;
124
126 bool m_typeHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
131 Aws::String m_namespace;
132 bool m_namespaceHasBeenSet = false;
133
134 Aws::String m_semanticVersion;
135 bool m_semanticVersionHasBeenSet = false;
136
138 bool m_visibilityHasBeenSet = false;
139
140 Aws::Utils::Document m_schema;
141 bool m_schemaHasBeenSet = false;
142
143 Aws::String m_requestId;
144 bool m_requestIdHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace IoTManagedIntegrations
149} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API GetSchemaVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTMANAGEDINTEGRATIONS_API GetSchemaVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaVersionResult & WithRequestId(RequestIdT &&value)
GetSchemaVersionResult & WithDescription(DescriptionT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetSchemaVersionResult()=default
GetSchemaVersionResult & WithSchemaId(SchemaIdT &&value)
GetSchemaVersionResult & WithSemanticVersion(SemanticVersionT &&value)
GetSchemaVersionResult & WithVisibility(SchemaVersionVisibility value)
GetSchemaVersionResult & WithNamespace(NamespaceT &&value)
GetSchemaVersionResult & WithType(SchemaVersionType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue