AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputColumn.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/InputColumnDataType.h>
10#include <aws/quicksight/model/ColumnDataSubType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API InputColumn();
38 AWS_QUICKSIGHT_API InputColumn(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API InputColumn& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline InputColumn& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline InputColumn& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline InputColumn& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const InputColumnDataType& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const InputColumnDataType& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(InputColumnDataType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline InputColumn& WithType(const InputColumnDataType& value) { SetType(value); return *this;}
66 inline InputColumn& WithType(InputColumnDataType&& value) { SetType(std::move(value)); return *this;}
68
70
74 inline const ColumnDataSubType& GetSubType() const{ return m_subType; }
75 inline bool SubTypeHasBeenSet() const { return m_subTypeHasBeenSet; }
76 inline void SetSubType(const ColumnDataSubType& value) { m_subTypeHasBeenSet = true; m_subType = value; }
77 inline void SetSubType(ColumnDataSubType&& value) { m_subTypeHasBeenSet = true; m_subType = std::move(value); }
78 inline InputColumn& WithSubType(const ColumnDataSubType& value) { SetSubType(value); return *this;}
79 inline InputColumn& WithSubType(ColumnDataSubType&& value) { SetSubType(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
87 bool m_typeHasBeenSet = false;
88
89 ColumnDataSubType m_subType;
90 bool m_subTypeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QuickSight
95} // namespace Aws
InputColumn & WithName(const Aws::String &value)
Definition InputColumn.h:52
InputColumn & WithSubType(const ColumnDataSubType &value)
Definition InputColumn.h:78
const ColumnDataSubType & GetSubType() const
Definition InputColumn.h:74
AWS_QUICKSIGHT_API InputColumn()
void SetType(InputColumnDataType &&value)
Definition InputColumn.h:64
const Aws::String & GetName() const
Definition InputColumn.h:47
InputColumn & WithType(InputColumnDataType &&value)
Definition InputColumn.h:66
const InputColumnDataType & GetType() const
Definition InputColumn.h:61
InputColumn & WithSubType(ColumnDataSubType &&value)
Definition InputColumn.h:79
InputColumn & WithType(const InputColumnDataType &value)
Definition InputColumn.h:65
InputColumn & WithName(const char *value)
Definition InputColumn.h:54
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubType(ColumnDataSubType &&value)
Definition InputColumn.h:77
void SetType(const InputColumnDataType &value)
Definition InputColumn.h:63
AWS_QUICKSIGHT_API InputColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubType(const ColumnDataSubType &value)
Definition InputColumn.h:76
void SetName(Aws::String &&value)
Definition InputColumn.h:50
AWS_QUICKSIGHT_API InputColumn(Aws::Utils::Json::JsonView jsonValue)
InputColumn & WithName(Aws::String &&value)
Definition InputColumn.h:53
void SetName(const Aws::String &value)
Definition InputColumn.h:49
void SetName(const char *value)
Definition InputColumn.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue