AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CheckSchemaVersionValidityRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/DataFormat.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API CheckSchemaVersionValidityRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CheckSchemaVersionValidity"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
39 inline DataFormat GetDataFormat() const { return m_dataFormat; }
40 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
41 inline void SetDataFormat(DataFormat value) {
42 m_dataFormatHasBeenSet = true;
43 m_dataFormat = value;
44 }
46 SetDataFormat(value);
47 return *this;
48 }
50
52
55 inline const Aws::String& GetSchemaDefinition() const { return m_schemaDefinition; }
56 inline bool SchemaDefinitionHasBeenSet() const { return m_schemaDefinitionHasBeenSet; }
57 template <typename SchemaDefinitionT = Aws::String>
58 void SetSchemaDefinition(SchemaDefinitionT&& value) {
59 m_schemaDefinitionHasBeenSet = true;
60 m_schemaDefinition = std::forward<SchemaDefinitionT>(value);
61 }
62 template <typename SchemaDefinitionT = Aws::String>
64 SetSchemaDefinition(std::forward<SchemaDefinitionT>(value));
65 return *this;
66 }
68 private:
69 DataFormat m_dataFormat{DataFormat::NOT_SET};
70
71 Aws::String m_schemaDefinition;
72 bool m_dataFormatHasBeenSet = false;
73 bool m_schemaDefinitionHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Glue
78} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CheckSchemaVersionValidityRequest & WithSchemaDefinition(SchemaDefinitionT &&value)
CheckSchemaVersionValidityRequest & WithDataFormat(DataFormat value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String