AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QuerySchemaVersionMetadataRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/model/SchemaId.h>
10#include <aws/glue/model/SchemaVersionNumber.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/glue/model/MetadataKeyValuePair.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Glue
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "QuerySchemaVersionMetadata"; }
35
36 AWS_GLUE_API Aws::String SerializePayload() const override;
37
39
40
42
46 inline const SchemaId& GetSchemaId() const{ return m_schemaId; }
47 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
48 inline void SetSchemaId(const SchemaId& value) { m_schemaIdHasBeenSet = true; m_schemaId = value; }
49 inline void SetSchemaId(SchemaId&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::move(value); }
50 inline QuerySchemaVersionMetadataRequest& WithSchemaId(const SchemaId& value) { SetSchemaId(value); return *this;}
51 inline QuerySchemaVersionMetadataRequest& WithSchemaId(SchemaId&& value) { SetSchemaId(std::move(value)); return *this;}
53
55
58 inline const SchemaVersionNumber& GetSchemaVersionNumber() const{ return m_schemaVersionNumber; }
59 inline bool SchemaVersionNumberHasBeenSet() const { return m_schemaVersionNumberHasBeenSet; }
60 inline void SetSchemaVersionNumber(const SchemaVersionNumber& value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = value; }
61 inline void SetSchemaVersionNumber(SchemaVersionNumber&& value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = std::move(value); }
65
67
70 inline const Aws::String& GetSchemaVersionId() const{ return m_schemaVersionId; }
71 inline bool SchemaVersionIdHasBeenSet() const { return m_schemaVersionIdHasBeenSet; }
72 inline void SetSchemaVersionId(const Aws::String& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = value; }
73 inline void SetSchemaVersionId(Aws::String&& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = std::move(value); }
74 inline void SetSchemaVersionId(const char* value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId.assign(value); }
76 inline QuerySchemaVersionMetadataRequest& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;}
77 inline QuerySchemaVersionMetadataRequest& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;}
79
81
85 inline const Aws::Vector<MetadataKeyValuePair>& GetMetadataList() const{ return m_metadataList; }
86 inline bool MetadataListHasBeenSet() const { return m_metadataListHasBeenSet; }
87 inline void SetMetadataList(const Aws::Vector<MetadataKeyValuePair>& value) { m_metadataListHasBeenSet = true; m_metadataList = value; }
88 inline void SetMetadataList(Aws::Vector<MetadataKeyValuePair>&& value) { m_metadataListHasBeenSet = true; m_metadataList = std::move(value); }
91 inline QuerySchemaVersionMetadataRequest& AddMetadataList(const MetadataKeyValuePair& value) { m_metadataListHasBeenSet = true; m_metadataList.push_back(value); return *this; }
92 inline QuerySchemaVersionMetadataRequest& AddMetadataList(MetadataKeyValuePair&& value) { m_metadataListHasBeenSet = true; m_metadataList.push_back(std::move(value)); return *this; }
94
96
100 inline int GetMaxResults() const{ return m_maxResults; }
101 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
102 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
103 inline QuerySchemaVersionMetadataRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
105
107
110 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
111 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
112 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
113 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
114 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
115 inline QuerySchemaVersionMetadataRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
116 inline QuerySchemaVersionMetadataRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
117 inline QuerySchemaVersionMetadataRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119 private:
120
121 SchemaId m_schemaId;
122 bool m_schemaIdHasBeenSet = false;
123
124 SchemaVersionNumber m_schemaVersionNumber;
125 bool m_schemaVersionNumberHasBeenSet = false;
126
127 Aws::String m_schemaVersionId;
128 bool m_schemaVersionIdHasBeenSet = false;
129
131 bool m_metadataListHasBeenSet = false;
132
133 int m_maxResults;
134 bool m_maxResultsHasBeenSet = false;
135
136 Aws::String m_nextToken;
137 bool m_nextTokenHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Glue
142} // namespace Aws
QuerySchemaVersionMetadataRequest & WithSchemaVersionId(const Aws::String &value)
AWS_GLUE_API Aws::String SerializePayload() const override
QuerySchemaVersionMetadataRequest & AddMetadataList(const MetadataKeyValuePair &value)
QuerySchemaVersionMetadataRequest & WithSchemaId(SchemaId &&value)
QuerySchemaVersionMetadataRequest & WithSchemaId(const SchemaId &value)
QuerySchemaVersionMetadataRequest & WithMaxResults(int value)
QuerySchemaVersionMetadataRequest & WithMetadataList(Aws::Vector< MetadataKeyValuePair > &&value)
QuerySchemaVersionMetadataRequest & WithNextToken(const char *value)
QuerySchemaVersionMetadataRequest & WithSchemaVersionId(const char *value)
void SetMetadataList(const Aws::Vector< MetadataKeyValuePair > &value)
QuerySchemaVersionMetadataRequest & AddMetadataList(MetadataKeyValuePair &&value)
QuerySchemaVersionMetadataRequest & WithSchemaVersionId(Aws::String &&value)
QuerySchemaVersionMetadataRequest & WithMetadataList(const Aws::Vector< MetadataKeyValuePair > &value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetMetadataList(Aws::Vector< MetadataKeyValuePair > &&value)
QuerySchemaVersionMetadataRequest & WithSchemaVersionNumber(const SchemaVersionNumber &value)
const Aws::Vector< MetadataKeyValuePair > & GetMetadataList() const
QuerySchemaVersionMetadataRequest & WithNextToken(const Aws::String &value)
QuerySchemaVersionMetadataRequest & WithNextToken(Aws::String &&value)
QuerySchemaVersionMetadataRequest & WithSchemaVersionNumber(SchemaVersionNumber &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector