AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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