AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MetadataKeyValuePair.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API MetadataKeyValuePair() = default;
39
40
42
45 inline const Aws::String& GetMetadataKey() const { return m_metadataKey; }
46 inline bool MetadataKeyHasBeenSet() const { return m_metadataKeyHasBeenSet; }
47 template<typename MetadataKeyT = Aws::String>
48 void SetMetadataKey(MetadataKeyT&& value) { m_metadataKeyHasBeenSet = true; m_metadataKey = std::forward<MetadataKeyT>(value); }
49 template<typename MetadataKeyT = Aws::String>
50 MetadataKeyValuePair& WithMetadataKey(MetadataKeyT&& value) { SetMetadataKey(std::forward<MetadataKeyT>(value)); return *this;}
52
54
57 inline const Aws::String& GetMetadataValue() const { return m_metadataValue; }
58 inline bool MetadataValueHasBeenSet() const { return m_metadataValueHasBeenSet; }
59 template<typename MetadataValueT = Aws::String>
60 void SetMetadataValue(MetadataValueT&& value) { m_metadataValueHasBeenSet = true; m_metadataValue = std::forward<MetadataValueT>(value); }
61 template<typename MetadataValueT = Aws::String>
62 MetadataKeyValuePair& WithMetadataValue(MetadataValueT&& value) { SetMetadataValue(std::forward<MetadataValueT>(value)); return *this;}
64 private:
65
66 Aws::String m_metadataKey;
67 bool m_metadataKeyHasBeenSet = false;
68
69 Aws::String m_metadataValue;
70 bool m_metadataValueHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Glue
75} // namespace Aws
AWS_GLUE_API MetadataKeyValuePair()=default
void SetMetadataValue(MetadataValueT &&value)
const Aws::String & GetMetadataKey() const
const Aws::String & GetMetadataValue() const
MetadataKeyValuePair & WithMetadataValue(MetadataValueT &&value)
AWS_GLUE_API MetadataKeyValuePair(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
MetadataKeyValuePair & WithMetadataKey(MetadataKeyT &&value)
AWS_GLUE_API MetadataKeyValuePair & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue