AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ResponseConfiguration.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 ResponseConfiguration() = default;
35
37
41 inline const Aws::String& GetResultPath() const { return m_resultPath; }
42 inline bool ResultPathHasBeenSet() const { return m_resultPathHasBeenSet; }
43 template <typename ResultPathT = Aws::String>
44 void SetResultPath(ResultPathT&& value) {
45 m_resultPathHasBeenSet = true;
46 m_resultPath = std::forward<ResultPathT>(value);
47 }
48 template <typename ResultPathT = Aws::String>
49 ResponseConfiguration& WithResultPath(ResultPathT&& value) {
50 SetResultPath(std::forward<ResultPathT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetErrorPath() const { return m_errorPath; }
61 inline bool ErrorPathHasBeenSet() const { return m_errorPathHasBeenSet; }
62 template <typename ErrorPathT = Aws::String>
63 void SetErrorPath(ErrorPathT&& value) {
64 m_errorPathHasBeenSet = true;
65 m_errorPath = std::forward<ErrorPathT>(value);
66 }
67 template <typename ErrorPathT = Aws::String>
68 ResponseConfiguration& WithErrorPath(ErrorPathT&& value) {
69 SetErrorPath(std::forward<ErrorPathT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_resultPath;
75
76 Aws::String m_errorPath;
77 bool m_resultPathHasBeenSet = false;
78 bool m_errorPathHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Glue
83} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API ResponseConfiguration()=default
AWS_GLUE_API ResponseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ResponseConfiguration & WithErrorPath(ErrorPathT &&value)
AWS_GLUE_API ResponseConfiguration(Aws::Utils::Json::JsonView jsonValue)
ResponseConfiguration & WithResultPath(ResultPathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue