AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
SchemaVersionListItem.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTManagedIntegrations
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTMANAGEDINTEGRATIONS_API SchemaVersionListItem() = default;
37 AWS_IOTMANAGEDINTEGRATIONS_API SchemaVersionListItem(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API SchemaVersionListItem& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSchemaId() const { return m_schemaId; }
47 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
48 template<typename SchemaIdT = Aws::String>
49 void SetSchemaId(SchemaIdT&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::forward<SchemaIdT>(value); }
50 template<typename SchemaIdT = Aws::String>
51 SchemaVersionListItem& WithSchemaId(SchemaIdT&& value) { SetSchemaId(std::forward<SchemaIdT>(value)); return *this;}
53
55
58 inline SchemaVersionType GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(SchemaVersionType value) { m_typeHasBeenSet = true; m_type = value; }
61 inline SchemaVersionListItem& WithType(SchemaVersionType value) { SetType(value); return *this;}
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 SchemaVersionListItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75
77
80 inline const Aws::String& GetNamespace() const { return m_namespace; }
81 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
82 template<typename NamespaceT = Aws::String>
83 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
84 template<typename NamespaceT = Aws::String>
85 SchemaVersionListItem& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
87
89
93 inline const Aws::String& GetSemanticVersion() const { return m_semanticVersion; }
94 inline bool SemanticVersionHasBeenSet() const { return m_semanticVersionHasBeenSet; }
95 template<typename SemanticVersionT = Aws::String>
96 void SetSemanticVersion(SemanticVersionT&& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = std::forward<SemanticVersionT>(value); }
97 template<typename SemanticVersionT = Aws::String>
98 SchemaVersionListItem& WithSemanticVersion(SemanticVersionT&& value) { SetSemanticVersion(std::forward<SemanticVersionT>(value)); return *this;}
100
102
105 inline SchemaVersionVisibility GetVisibility() const { return m_visibility; }
106 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
107 inline void SetVisibility(SchemaVersionVisibility value) { m_visibilityHasBeenSet = true; m_visibility = value; }
110 private:
111
112 Aws::String m_schemaId;
113 bool m_schemaIdHasBeenSet = false;
114
116 bool m_typeHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
121 Aws::String m_namespace;
122 bool m_namespaceHasBeenSet = false;
123
124 Aws::String m_semanticVersion;
125 bool m_semanticVersionHasBeenSet = false;
126
128 bool m_visibilityHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace IoTManagedIntegrations
133} // namespace Aws
SchemaVersionListItem & WithType(SchemaVersionType value)
AWS_IOTMANAGEDINTEGRATIONS_API SchemaVersionListItem(Aws::Utils::Json::JsonView jsonValue)
SchemaVersionListItem & WithDescription(DescriptionT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaVersionListItem & WithNamespace(NamespaceT &&value)
SchemaVersionListItem & WithSemanticVersion(SemanticVersionT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API SchemaVersionListItem()=default
SchemaVersionListItem & WithVisibility(SchemaVersionVisibility value)
SchemaVersionListItem & WithSchemaId(SchemaIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API SchemaVersionListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue