AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ResponseExtractionMapping.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
30 public:
31 AWS_GLUE_API ResponseExtractionMapping() = default;
35
37
41 inline const Aws::String& GetContentPath() const { return m_contentPath; }
42 inline bool ContentPathHasBeenSet() const { return m_contentPathHasBeenSet; }
43 template <typename ContentPathT = Aws::String>
44 void SetContentPath(ContentPathT&& value) {
45 m_contentPathHasBeenSet = true;
46 m_contentPath = std::forward<ContentPathT>(value);
47 }
48 template <typename ContentPathT = Aws::String>
50 SetContentPath(std::forward<ContentPathT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetHeaderKey() const { return m_headerKey; }
60 inline bool HeaderKeyHasBeenSet() const { return m_headerKeyHasBeenSet; }
61 template <typename HeaderKeyT = Aws::String>
62 void SetHeaderKey(HeaderKeyT&& value) {
63 m_headerKeyHasBeenSet = true;
64 m_headerKey = std::forward<HeaderKeyT>(value);
65 }
66 template <typename HeaderKeyT = Aws::String>
68 SetHeaderKey(std::forward<HeaderKeyT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_contentPath;
74
75 Aws::String m_headerKey;
76 bool m_contentPathHasBeenSet = false;
77 bool m_headerKeyHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Glue
82} // namespace Aws
ResponseExtractionMapping & WithHeaderKey(HeaderKeyT &&value)
AWS_GLUE_API ResponseExtractionMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API ResponseExtractionMapping(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ResponseExtractionMapping & WithContentPath(ContentPathT &&value)
AWS_GLUE_API ResponseExtractionMapping()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue