AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 ColumnInfo& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const ColumnType& GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 template<typename TypeT = ColumnType>
61 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
62 template<typename TypeT = ColumnType>
63 ColumnInfo& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
65 private:
66
67 Aws::String m_name;
68 bool m_nameHasBeenSet = false;
69
70 ColumnType m_type;
71 bool m_typeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace IoTSiteWise
76} // namespace Aws
ColumnInfo & WithName(NameT &&value)
Definition ColumnInfo.h:51
const ColumnType & GetType() const
Definition ColumnInfo.h:58
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
ColumnInfo & WithType(TypeT &&value)
Definition ColumnInfo.h:63
const Aws::String & GetName() const
Definition ColumnInfo.h:46
AWS_IOTSITEWISE_API ColumnInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API ColumnInfo()=default
AWS_IOTSITEWISE_API ColumnInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue