AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ToolOverrideInputValueConfiguration.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/ToolOverrideConstantInputValue.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QConnect {
20namespace Model {
21
28 public:
29 AWS_QCONNECT_API ToolOverrideInputValueConfiguration() = default;
32 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const ToolOverrideConstantInputValue& GetConstant() const { return m_constant; }
39 inline bool ConstantHasBeenSet() const { return m_constantHasBeenSet; }
40 template <typename ConstantT = ToolOverrideConstantInputValue>
41 void SetConstant(ConstantT&& value) {
42 m_constantHasBeenSet = true;
43 m_constant = std::forward<ConstantT>(value);
44 }
45 template <typename ConstantT = ToolOverrideConstantInputValue>
47 SetConstant(std::forward<ConstantT>(value));
48 return *this;
49 }
51 private:
53 bool m_constantHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace QConnect
58} // namespace Aws
AWS_QCONNECT_API ToolOverrideInputValueConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ToolOverrideInputValueConfiguration & WithConstant(ConstantT &&value)
AWS_QCONNECT_API ToolOverrideInputValueConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue