AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ParameterMapping.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-query/model/Type.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TimestreamQuery
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_TIMESTREAMQUERY_API ParameterMapping() = default;
38 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 ParameterMapping& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
55 inline const Type& GetType() const { return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 template<typename TypeT = Type>
58 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
59 template<typename TypeT = Type>
60 ParameterMapping& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
62 private:
63
64 Aws::String m_name;
65 bool m_nameHasBeenSet = false;
66
67 Type m_type;
68 bool m_typeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace TimestreamQuery
73} // namespace Aws
AWS_TIMESTREAMQUERY_API ParameterMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API ParameterMapping()=default
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterMapping & WithName(NameT &&value)
AWS_TIMESTREAMQUERY_API ParameterMapping(Aws::Utils::Json::JsonView jsonValue)
ParameterMapping & WithType(TypeT &&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