AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36 AWS_TIMESTREAMQUERY_API ParameterMapping(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TIMESTREAMQUERY_API ParameterMapping& operator=(Aws::Utils::Json::JsonView jsonValue);
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline ParameterMapping& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline ParameterMapping& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline ParameterMapping& WithName(const char* value) { SetName(value); return *this;}
54
56
57 inline const Type& GetType() const{ return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
60 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
61 inline ParameterMapping& WithType(const Type& value) { SetType(value); return *this;}
62 inline ParameterMapping& WithType(Type&& value) { SetType(std::move(value)); return *this;}
64 private:
65
66 Aws::String m_name;
67 bool m_nameHasBeenSet = false;
68
69 Type m_type;
70 bool m_typeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace TimestreamQuery
75} // namespace Aws
ParameterMapping & WithName(Aws::String &&value)
AWS_TIMESTREAMQUERY_API ParameterMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterMapping & WithType(Type &&value)
ParameterMapping & WithName(const Aws::String &value)
AWS_TIMESTREAMQUERY_API ParameterMapping(Aws::Utils::Json::JsonView jsonValue)
ParameterMapping & WithName(const char *value)
AWS_TIMESTREAMQUERY_API ParameterMapping()
ParameterMapping & WithType(const Type &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue