AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetParameter.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/databrew/model/ParameterType.h>
10#include <aws/databrew/model/DatetimeOptions.h>
11#include <aws/databrew/model/FilterExpression.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GlueDataBrew
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GLUEDATABREW_API DatasetParameter();
39 AWS_GLUEDATABREW_API DatasetParameter(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLUEDATABREW_API DatasetParameter& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
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 DatasetParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline DatasetParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline DatasetParameter& WithName(const char* value) { SetName(value); return *this;}
57
59
63 inline const ParameterType& GetType() const{ return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(const ParameterType& value) { m_typeHasBeenSet = true; m_type = value; }
66 inline void SetType(ParameterType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 inline DatasetParameter& WithType(const ParameterType& value) { SetType(value); return *this;}
68 inline DatasetParameter& WithType(ParameterType&& value) { SetType(std::move(value)); return *this;}
70
72
76 inline const DatetimeOptions& GetDatetimeOptions() const{ return m_datetimeOptions; }
77 inline bool DatetimeOptionsHasBeenSet() const { return m_datetimeOptionsHasBeenSet; }
78 inline void SetDatetimeOptions(const DatetimeOptions& value) { m_datetimeOptionsHasBeenSet = true; m_datetimeOptions = value; }
79 inline void SetDatetimeOptions(DatetimeOptions&& value) { m_datetimeOptionsHasBeenSet = true; m_datetimeOptions = std::move(value); }
80 inline DatasetParameter& WithDatetimeOptions(const DatetimeOptions& value) { SetDatetimeOptions(value); return *this;}
81 inline DatasetParameter& WithDatetimeOptions(DatetimeOptions&& value) { SetDatetimeOptions(std::move(value)); return *this;}
83
85
89 inline bool GetCreateColumn() const{ return m_createColumn; }
90 inline bool CreateColumnHasBeenSet() const { return m_createColumnHasBeenSet; }
91 inline void SetCreateColumn(bool value) { m_createColumnHasBeenSet = true; m_createColumn = value; }
92 inline DatasetParameter& WithCreateColumn(bool value) { SetCreateColumn(value); return *this;}
94
96
100 inline const FilterExpression& GetFilter() const{ return m_filter; }
101 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
102 inline void SetFilter(const FilterExpression& value) { m_filterHasBeenSet = true; m_filter = value; }
103 inline void SetFilter(FilterExpression&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
104 inline DatasetParameter& WithFilter(const FilterExpression& value) { SetFilter(value); return *this;}
105 inline DatasetParameter& WithFilter(FilterExpression&& value) { SetFilter(std::move(value)); return *this;}
107 private:
108
109 Aws::String m_name;
110 bool m_nameHasBeenSet = false;
111
112 ParameterType m_type;
113 bool m_typeHasBeenSet = false;
114
115 DatetimeOptions m_datetimeOptions;
116 bool m_datetimeOptionsHasBeenSet = false;
117
118 bool m_createColumn;
119 bool m_createColumnHasBeenSet = false;
120
121 FilterExpression m_filter;
122 bool m_filterHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace GlueDataBrew
127} // namespace Aws
DatasetParameter & WithFilter(FilterExpression &&value)
DatasetParameter & WithName(Aws::String &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetParameter & WithDatetimeOptions(const DatetimeOptions &value)
DatasetParameter & WithType(ParameterType &&value)
AWS_GLUEDATABREW_API DatasetParameter(Aws::Utils::Json::JsonView jsonValue)
DatasetParameter & WithName(const char *value)
void SetDatetimeOptions(DatetimeOptions &&value)
AWS_GLUEDATABREW_API DatasetParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFilter(FilterExpression &&value)
void SetFilter(const FilterExpression &value)
DatasetParameter & WithDatetimeOptions(DatetimeOptions &&value)
const DatetimeOptions & GetDatetimeOptions() const
DatasetParameter & WithFilter(const FilterExpression &value)
const ParameterType & GetType() const
void SetDatetimeOptions(const DatetimeOptions &value)
DatasetParameter & WithCreateColumn(bool value)
void SetName(const Aws::String &value)
void SetType(const ParameterType &value)
const FilterExpression & GetFilter() const
DatasetParameter & WithType(const ParameterType &value)
DatasetParameter & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue