AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ToolOverrideInputValue.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qconnect/QConnect_EXPORTS.h>
9#include <aws/qconnect/model/ToolOverrideInputValueConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QConnect {
21namespace Model {
22
29 public:
30 AWS_QCONNECT_API ToolOverrideInputValue() = default;
33 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetJsonPath() const { return m_jsonPath; }
40 inline bool JsonPathHasBeenSet() const { return m_jsonPathHasBeenSet; }
41 template <typename JsonPathT = Aws::String>
42 void SetJsonPath(JsonPathT&& value) {
43 m_jsonPathHasBeenSet = true;
44 m_jsonPath = std::forward<JsonPathT>(value);
45 }
46 template <typename JsonPathT = Aws::String>
48 SetJsonPath(std::forward<JsonPathT>(value));
49 return *this;
50 }
52
54
57 inline const ToolOverrideInputValueConfiguration& GetValue() const { return m_value; }
58 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
59 template <typename ValueT = ToolOverrideInputValueConfiguration>
60 void SetValue(ValueT&& value) {
61 m_valueHasBeenSet = true;
62 m_value = std::forward<ValueT>(value);
63 }
64 template <typename ValueT = ToolOverrideInputValueConfiguration>
66 SetValue(std::forward<ValueT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_jsonPath;
72
74 bool m_jsonPathHasBeenSet = false;
75 bool m_valueHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace QConnect
80} // namespace Aws
ToolOverrideInputValue & WithJsonPath(JsonPathT &&value)
AWS_QCONNECT_API ToolOverrideInputValue & operator=(Aws::Utils::Json::JsonView jsonValue)
const ToolOverrideInputValueConfiguration & GetValue() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ToolOverrideInputValue & WithValue(ValueT &&value)
AWS_QCONNECT_API ToolOverrideInputValue(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API ToolOverrideInputValue()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue