AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListSchemaVersionsRequest.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
9#include <aws/iot-managed-integrations/model/SchemaVersionType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iot-managed-integrations/model/SchemaVersionVisibility.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace IoTManagedIntegrations
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_IOTMANAGEDINTEGRATIONS_API ListSchemaVersionsRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListSchemaVersions"; }
37
38 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
39
40 AWS_IOTMANAGEDINTEGRATIONS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline SchemaVersionType GetType() const { return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(SchemaVersionType value) { m_typeHasBeenSet = true; m_type = value; }
50 inline ListSchemaVersionsRequest& WithType(SchemaVersionType value) { SetType(value); return *this;}
52
54
57 inline int GetMaxResults() const { return m_maxResults; }
58 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
59 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
60 inline ListSchemaVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
62
64
67 inline const Aws::String& GetNextToken() const { return m_nextToken; }
68 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
69 template<typename NextTokenT = Aws::String>
70 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
71 template<typename NextTokenT = Aws::String>
72 ListSchemaVersionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
74
76
79 inline const Aws::String& GetSchemaId() const { return m_schemaId; }
80 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
81 template<typename SchemaIdT = Aws::String>
82 void SetSchemaId(SchemaIdT&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::forward<SchemaIdT>(value); }
83 template<typename SchemaIdT = Aws::String>
84 ListSchemaVersionsRequest& WithSchemaId(SchemaIdT&& value) { SetSchemaId(std::forward<SchemaIdT>(value)); return *this;}
86
88
91 inline const Aws::String& GetNamespace() const { return m_namespace; }
92 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
93 template<typename NamespaceT = Aws::String>
94 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
95 template<typename NamespaceT = Aws::String>
96 ListSchemaVersionsRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
98
100
103 inline SchemaVersionVisibility GetVisibility() const { return m_visibility; }
104 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
105 inline void SetVisibility(SchemaVersionVisibility value) { m_visibilityHasBeenSet = true; m_visibility = value; }
108
110
114 inline const Aws::String& GetSemanticVersion() const { return m_semanticVersion; }
115 inline bool SemanticVersionHasBeenSet() const { return m_semanticVersionHasBeenSet; }
116 template<typename SemanticVersionT = Aws::String>
117 void SetSemanticVersion(SemanticVersionT&& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = std::forward<SemanticVersionT>(value); }
118 template<typename SemanticVersionT = Aws::String>
119 ListSchemaVersionsRequest& WithSemanticVersion(SemanticVersionT&& value) { SetSemanticVersion(std::forward<SemanticVersionT>(value)); return *this;}
121 private:
122
124 bool m_typeHasBeenSet = false;
125
126 int m_maxResults{0};
127 bool m_maxResultsHasBeenSet = false;
128
129 Aws::String m_nextToken;
130 bool m_nextTokenHasBeenSet = false;
131
132 Aws::String m_schemaId;
133 bool m_schemaIdHasBeenSet = false;
134
135 Aws::String m_namespace;
136 bool m_namespaceHasBeenSet = false;
137
139 bool m_visibilityHasBeenSet = false;
140
141 Aws::String m_semanticVersion;
142 bool m_semanticVersionHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace IoTManagedIntegrations
147} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
AWS_IOTMANAGEDINTEGRATIONS_API ListSchemaVersionsRequest()=default
ListSchemaVersionsRequest & WithSemanticVersion(SemanticVersionT &&value)
ListSchemaVersionsRequest & WithSchemaId(SchemaIdT &&value)
ListSchemaVersionsRequest & WithType(SchemaVersionType value)
ListSchemaVersionsRequest & WithVisibility(SchemaVersionVisibility value)
ListSchemaVersionsRequest & WithNamespace(NamespaceT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSchemaVersionsRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String