AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ParameterMapping.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
9#include <aws/timestream-query/model/Type.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TimestreamQuery {
21namespace Model {
22
29 public:
30 AWS_TIMESTREAMQUERY_API ParameterMapping() = default;
33 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
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) {
59 m_typeHasBeenSet = true;
60 m_type = std::forward<TypeT>(value);
61 }
62 template <typename TypeT = Type>
64 SetType(std::forward<TypeT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_name;
70
71 Type m_type;
72 bool m_nameHasBeenSet = false;
73 bool m_typeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace TimestreamQuery
78} // 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