AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ToolOverrideConstantInputValue.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/ToolOverrideInputValueType.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 ToolOverrideConstantInputValue() = default;
33 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline ToolOverrideInputValueType GetType() const { return m_type; }
40 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
42 m_typeHasBeenSet = true;
43 m_type = value;
44 }
46 SetType(value);
47 return *this;
48 }
50
52
55 inline const Aws::String& GetValue() const { return m_value; }
56 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
57 template <typename ValueT = Aws::String>
58 void SetValue(ValueT&& value) {
59 m_valueHasBeenSet = true;
60 m_value = std::forward<ValueT>(value);
61 }
62 template <typename ValueT = Aws::String>
64 SetValue(std::forward<ValueT>(value));
65 return *this;
66 }
68 private:
70
71 Aws::String m_value;
72 bool m_typeHasBeenSet = false;
73 bool m_valueHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace QConnect
78} // namespace Aws
AWS_QCONNECT_API ToolOverrideConstantInputValue()=default
AWS_QCONNECT_API ToolOverrideConstantInputValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ToolOverrideConstantInputValue & WithType(ToolOverrideInputValueType value)
AWS_QCONNECT_API ToolOverrideConstantInputValue(Aws::Utils::Json::JsonView jsonValue)
ToolOverrideConstantInputValue & WithValue(ValueT &&value)
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