AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetSchemaVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10#include <aws/iot-managed-integrations/model/SchemaVersionFormat.h>
11#include <aws/iot-managed-integrations/model/SchemaVersionType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace IoTManagedIntegrations {
20namespace Model {
21
25 public:
26 AWS_IOTMANAGEDINTEGRATIONS_API GetSchemaVersionRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetSchemaVersion"; }
33
34 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
35
36 AWS_IOTMANAGEDINTEGRATIONS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
42 inline SchemaVersionType GetType() const { return m_type; }
43 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
44 inline void SetType(SchemaVersionType value) {
45 m_typeHasBeenSet = true;
46 m_type = value;
47 }
49 SetType(value);
50 return *this;
51 }
53
55
59 inline const Aws::String& GetSchemaVersionedId() const { return m_schemaVersionedId; }
60 inline bool SchemaVersionedIdHasBeenSet() const { return m_schemaVersionedIdHasBeenSet; }
61 template <typename SchemaVersionedIdT = Aws::String>
62 void SetSchemaVersionedId(SchemaVersionedIdT&& value) {
63 m_schemaVersionedIdHasBeenSet = true;
64 m_schemaVersionedId = std::forward<SchemaVersionedIdT>(value);
65 }
66 template <typename SchemaVersionedIdT = Aws::String>
67 GetSchemaVersionRequest& WithSchemaVersionedId(SchemaVersionedIdT&& value) {
68 SetSchemaVersionedId(std::forward<SchemaVersionedIdT>(value));
69 return *this;
70 }
72
74
77 inline SchemaVersionFormat GetFormat() const { return m_format; }
78 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
79 inline void SetFormat(SchemaVersionFormat value) {
80 m_formatHasBeenSet = true;
81 m_format = value;
82 }
84 SetFormat(value);
85 return *this;
86 }
88 private:
90
91 Aws::String m_schemaVersionedId;
92
94 bool m_typeHasBeenSet = false;
95 bool m_schemaVersionedIdHasBeenSet = false;
96 bool m_formatHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace IoTManagedIntegrations
101} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API GetSchemaVersionRequest()=default
GetSchemaVersionRequest & WithType(SchemaVersionType value)
GetSchemaVersionRequest & WithSchemaVersionedId(SchemaVersionedIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
GetSchemaVersionRequest & WithFormat(SchemaVersionFormat value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String