AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ColumnInfo.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10#include <memory>
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 class Type;
27
35 {
36 public:
37 AWS_TIMESTREAMQUERY_API ColumnInfo();
38 AWS_TIMESTREAMQUERY_API ColumnInfo(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TIMESTREAMQUERY_API ColumnInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline ColumnInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline ColumnInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline ColumnInfo& WithName(const char* value) { SetName(value); return *this;}
57
59
64 AWS_TIMESTREAMQUERY_API const Type& GetType() const;
65 AWS_TIMESTREAMQUERY_API bool TypeHasBeenSet() const;
66 AWS_TIMESTREAMQUERY_API void SetType(const Type& value);
67 AWS_TIMESTREAMQUERY_API void SetType(Type&& value);
68 AWS_TIMESTREAMQUERY_API ColumnInfo& WithType(const Type& value);
69 AWS_TIMESTREAMQUERY_API ColumnInfo& WithType(Type&& value);
71 private:
72
73 Aws::String m_name;
74 bool m_nameHasBeenSet = false;
75
76 std::shared_ptr<Type> m_type;
77 bool m_typeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace TimestreamQuery
82} // namespace Aws
AWS_TIMESTREAMQUERY_API const Type & GetType() const
AWS_TIMESTREAMQUERY_API ColumnInfo & WithType(Type &&value)
AWS_TIMESTREAMQUERY_API void SetType(Type &&value)
void SetName(const char *value)
Definition ColumnInfo.h:52
AWS_TIMESTREAMQUERY_API bool TypeHasBeenSet() const
AWS_TIMESTREAMQUERY_API ColumnInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API ColumnInfo & WithType(const Type &value)
AWS_TIMESTREAMQUERY_API ColumnInfo(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
Definition ColumnInfo.h:51
const Aws::String & GetName() const
Definition ColumnInfo.h:48
ColumnInfo & WithName(const char *value)
Definition ColumnInfo.h:55
ColumnInfo & WithName(const Aws::String &value)
Definition ColumnInfo.h:53
ColumnInfo & WithName(Aws::String &&value)
Definition ColumnInfo.h:54
AWS_TIMESTREAMQUERY_API void SetType(const Type &value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMQUERY_API ColumnInfo()
void SetName(const Aws::String &value)
Definition ColumnInfo.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue