AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QuerySchemaVersionMetadataResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/MetadataInfo.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Glue
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::Map<Aws::String, MetadataInfo>& GetMetadataInfoMap() const{ return m_metadataInfoMap; }
42 inline void SetMetadataInfoMap(const Aws::Map<Aws::String, MetadataInfo>& value) { m_metadataInfoMap = value; }
43 inline void SetMetadataInfoMap(Aws::Map<Aws::String, MetadataInfo>&& value) { m_metadataInfoMap = std::move(value); }
46 inline QuerySchemaVersionMetadataResult& AddMetadataInfoMap(const Aws::String& key, const MetadataInfo& value) { m_metadataInfoMap.emplace(key, value); return *this; }
47 inline QuerySchemaVersionMetadataResult& AddMetadataInfoMap(Aws::String&& key, const MetadataInfo& value) { m_metadataInfoMap.emplace(std::move(key), value); return *this; }
48 inline QuerySchemaVersionMetadataResult& AddMetadataInfoMap(const Aws::String& key, MetadataInfo&& value) { m_metadataInfoMap.emplace(key, std::move(value)); return *this; }
49 inline QuerySchemaVersionMetadataResult& AddMetadataInfoMap(Aws::String&& key, MetadataInfo&& value) { m_metadataInfoMap.emplace(std::move(key), std::move(value)); return *this; }
50 inline QuerySchemaVersionMetadataResult& AddMetadataInfoMap(const char* key, MetadataInfo&& value) { m_metadataInfoMap.emplace(key, std::move(value)); return *this; }
51 inline QuerySchemaVersionMetadataResult& AddMetadataInfoMap(const char* key, const MetadataInfo& value) { m_metadataInfoMap.emplace(key, value); return *this; }
53
55
58 inline const Aws::String& GetSchemaVersionId() const{ return m_schemaVersionId; }
59 inline void SetSchemaVersionId(const Aws::String& value) { m_schemaVersionId = value; }
60 inline void SetSchemaVersionId(Aws::String&& value) { m_schemaVersionId = std::move(value); }
61 inline void SetSchemaVersionId(const char* value) { m_schemaVersionId.assign(value); }
63 inline QuerySchemaVersionMetadataResult& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;}
64 inline QuerySchemaVersionMetadataResult& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;}
66
68
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
76 inline QuerySchemaVersionMetadataResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline QuerySchemaVersionMetadataResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline QuerySchemaVersionMetadataResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline QuerySchemaVersionMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline QuerySchemaVersionMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline QuerySchemaVersionMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
94
95 Aws::String m_schemaVersionId;
96
97 Aws::String m_nextToken;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace Glue
104} // namespace Aws
AWS_GLUE_API QuerySchemaVersionMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
QuerySchemaVersionMetadataResult & WithMetadataInfoMap(const Aws::Map< Aws::String, MetadataInfo > &value)
QuerySchemaVersionMetadataResult & AddMetadataInfoMap(Aws::String &&key, MetadataInfo &&value)
QuerySchemaVersionMetadataResult & WithRequestId(Aws::String &&value)
QuerySchemaVersionMetadataResult & WithSchemaVersionId(const char *value)
AWS_GLUE_API QuerySchemaVersionMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
QuerySchemaVersionMetadataResult & AddMetadataInfoMap(const char *key, MetadataInfo &&value)
QuerySchemaVersionMetadataResult & AddMetadataInfoMap(Aws::String &&key, const MetadataInfo &value)
void SetMetadataInfoMap(const Aws::Map< Aws::String, MetadataInfo > &value)
QuerySchemaVersionMetadataResult & WithSchemaVersionId(Aws::String &&value)
QuerySchemaVersionMetadataResult & AddMetadataInfoMap(const char *key, const MetadataInfo &value)
QuerySchemaVersionMetadataResult & WithRequestId(const Aws::String &value)
QuerySchemaVersionMetadataResult & AddMetadataInfoMap(const Aws::String &key, const MetadataInfo &value)
QuerySchemaVersionMetadataResult & WithMetadataInfoMap(Aws::Map< Aws::String, MetadataInfo > &&value)
void SetMetadataInfoMap(Aws::Map< Aws::String, MetadataInfo > &&value)
QuerySchemaVersionMetadataResult & WithSchemaVersionId(const Aws::String &value)
QuerySchemaVersionMetadataResult & WithNextToken(const Aws::String &value)
QuerySchemaVersionMetadataResult & AddMetadataInfoMap(const Aws::String &key, MetadataInfo &&value)
QuerySchemaVersionMetadataResult & WithNextToken(Aws::String &&value)
const Aws::Map< Aws::String, MetadataInfo > & GetMetadataInfoMap() const
QuerySchemaVersionMetadataResult & WithRequestId(const char *value)
QuerySchemaVersionMetadataResult & WithNextToken(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue