AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetMetadataKey() const{ return m_metadataKey; }
46 inline bool MetadataKeyHasBeenSet() const { return m_metadataKeyHasBeenSet; }
47 inline void SetMetadataKey(const Aws::String& value) { m_metadataKeyHasBeenSet = true; m_metadataKey = value; }
48 inline void SetMetadataKey(Aws::String&& value) { m_metadataKeyHasBeenSet = true; m_metadataKey = std::move(value); }
49 inline void SetMetadataKey(const char* value) { m_metadataKeyHasBeenSet = true; m_metadataKey.assign(value); }
50 inline MetadataKeyValuePair& WithMetadataKey(const Aws::String& value) { SetMetadataKey(value); return *this;}
51 inline MetadataKeyValuePair& WithMetadataKey(Aws::String&& value) { SetMetadataKey(std::move(value)); return *this;}
52 inline MetadataKeyValuePair& WithMetadataKey(const char* value) { SetMetadataKey(value); return *this;}
54
56
59 inline const Aws::String& GetMetadataValue() const{ return m_metadataValue; }
60 inline bool MetadataValueHasBeenSet() const { return m_metadataValueHasBeenSet; }
61 inline void SetMetadataValue(const Aws::String& value) { m_metadataValueHasBeenSet = true; m_metadataValue = value; }
62 inline void SetMetadataValue(Aws::String&& value) { m_metadataValueHasBeenSet = true; m_metadataValue = std::move(value); }
63 inline void SetMetadataValue(const char* value) { m_metadataValueHasBeenSet = true; m_metadataValue.assign(value); }
64 inline MetadataKeyValuePair& WithMetadataValue(const Aws::String& value) { SetMetadataValue(value); return *this;}
65 inline MetadataKeyValuePair& WithMetadataValue(Aws::String&& value) { SetMetadataValue(std::move(value)); return *this;}
66 inline MetadataKeyValuePair& WithMetadataValue(const char* value) { SetMetadataValue(value); return *this;}
68 private:
69
70 Aws::String m_metadataKey;
71 bool m_metadataKeyHasBeenSet = false;
72
73 Aws::String m_metadataValue;
74 bool m_metadataValueHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Glue
79} // namespace Aws
MetadataKeyValuePair & WithMetadataKey(const Aws::String &value)
const Aws::String & GetMetadataKey() const
void SetMetadataKey(const Aws::String &value)
MetadataKeyValuePair & WithMetadataKey(Aws::String &&value)
const Aws::String & GetMetadataValue() const
MetadataKeyValuePair & WithMetadataValue(const char *value)
void SetMetadataValue(const Aws::String &value)
MetadataKeyValuePair & WithMetadataValue(Aws::String &&value)
MetadataKeyValuePair & WithMetadataValue(const Aws::String &value)
AWS_GLUE_API MetadataKeyValuePair(Aws::Utils::Json::JsonView jsonValue)
MetadataKeyValuePair & WithMetadataKey(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
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