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/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/ColumnType.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 IoTSiteWise
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTSITEWISE_API ColumnInfo();
37 AWS_IOTSITEWISE_API ColumnInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API ColumnInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline ColumnInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline ColumnInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline ColumnInfo& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const ColumnType& GetType() const{ return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(const ColumnType& value) { m_typeHasBeenSet = true; m_type = value; }
63 inline void SetType(ColumnType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
64 inline ColumnInfo& WithType(const ColumnType& value) { SetType(value); return *this;}
65 inline ColumnInfo& WithType(ColumnType&& value) { SetType(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_name;
70 bool m_nameHasBeenSet = false;
71
72 ColumnType m_type;
73 bool m_typeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoTSiteWise
78} // namespace Aws
void SetName(Aws::String &&value)
Definition ColumnInfo.h:49
void SetType(const ColumnType &value)
Definition ColumnInfo.h:62
void SetName(const char *value)
Definition ColumnInfo.h:50
const ColumnType & GetType() const
Definition ColumnInfo.h:60
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
ColumnInfo & WithName(Aws::String &&value)
Definition ColumnInfo.h:52
const Aws::String & GetName() const
Definition ColumnInfo.h:46
AWS_IOTSITEWISE_API ColumnInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ColumnInfo & WithName(const char *value)
Definition ColumnInfo.h:53
ColumnInfo & WithName(const Aws::String &value)
Definition ColumnInfo.h:51
ColumnInfo & WithType(const ColumnType &value)
Definition ColumnInfo.h:64
void SetType(ColumnType &&value)
Definition ColumnInfo.h:63
void SetName(const Aws::String &value)
Definition ColumnInfo.h:48
AWS_IOTSITEWISE_API ColumnInfo()
AWS_IOTSITEWISE_API ColumnInfo(Aws::Utils::Json::JsonView jsonValue)
ColumnInfo & WithType(ColumnType &&value)
Definition ColumnInfo.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue