AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetSchemaVersionRequest.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/SchemaVersionFormat.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 GetSchemaVersionRequest() = 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 "GetSchemaVersion"; }
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 GetSchemaVersionRequest& WithType(SchemaVersionType value) { SetType(value); return *this;}
52
54
58 inline const Aws::String& GetSchemaVersionedId() const { return m_schemaVersionedId; }
59 inline bool SchemaVersionedIdHasBeenSet() const { return m_schemaVersionedIdHasBeenSet; }
60 template<typename SchemaVersionedIdT = Aws::String>
61 void SetSchemaVersionedId(SchemaVersionedIdT&& value) { m_schemaVersionedIdHasBeenSet = true; m_schemaVersionedId = std::forward<SchemaVersionedIdT>(value); }
62 template<typename SchemaVersionedIdT = Aws::String>
63 GetSchemaVersionRequest& WithSchemaVersionedId(SchemaVersionedIdT&& value) { SetSchemaVersionedId(std::forward<SchemaVersionedIdT>(value)); return *this;}
65
67
70 inline SchemaVersionFormat GetFormat() const { return m_format; }
71 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
72 inline void SetFormat(SchemaVersionFormat value) { m_formatHasBeenSet = true; m_format = value; }
73 inline GetSchemaVersionRequest& WithFormat(SchemaVersionFormat value) { SetFormat(value); return *this;}
75 private:
76
78 bool m_typeHasBeenSet = false;
79
80 Aws::String m_schemaVersionedId;
81 bool m_schemaVersionedIdHasBeenSet = false;
82
84 bool m_formatHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace IoTManagedIntegrations
89} // 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