AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
AppendOperation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/AppendedColumn.h>
11#include <aws/quicksight/model/TransformOperationSource.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
32 public:
33 AWS_QUICKSIGHT_API AppendOperation() = default;
34 AWS_QUICKSIGHT_API AppendOperation(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetAlias() const { return m_alias; }
43 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
44 template <typename AliasT = Aws::String>
45 void SetAlias(AliasT&& value) {
46 m_aliasHasBeenSet = true;
47 m_alias = std::forward<AliasT>(value);
48 }
49 template <typename AliasT = Aws::String>
50 AppendOperation& WithAlias(AliasT&& value) {
51 SetAlias(std::forward<AliasT>(value));
52 return *this;
53 }
55
57
60 inline const TransformOperationSource& GetFirstSource() const { return m_firstSource; }
61 inline bool FirstSourceHasBeenSet() const { return m_firstSourceHasBeenSet; }
62 template <typename FirstSourceT = TransformOperationSource>
63 void SetFirstSource(FirstSourceT&& value) {
64 m_firstSourceHasBeenSet = true;
65 m_firstSource = std::forward<FirstSourceT>(value);
66 }
67 template <typename FirstSourceT = TransformOperationSource>
68 AppendOperation& WithFirstSource(FirstSourceT&& value) {
69 SetFirstSource(std::forward<FirstSourceT>(value));
70 return *this;
71 }
73
75
78 inline const TransformOperationSource& GetSecondSource() const { return m_secondSource; }
79 inline bool SecondSourceHasBeenSet() const { return m_secondSourceHasBeenSet; }
80 template <typename SecondSourceT = TransformOperationSource>
81 void SetSecondSource(SecondSourceT&& value) {
82 m_secondSourceHasBeenSet = true;
83 m_secondSource = std::forward<SecondSourceT>(value);
84 }
85 template <typename SecondSourceT = TransformOperationSource>
86 AppendOperation& WithSecondSource(SecondSourceT&& value) {
87 SetSecondSource(std::forward<SecondSourceT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::Vector<AppendedColumn>& GetAppendedColumns() const { return m_appendedColumns; }
98 inline bool AppendedColumnsHasBeenSet() const { return m_appendedColumnsHasBeenSet; }
99 template <typename AppendedColumnsT = Aws::Vector<AppendedColumn>>
100 void SetAppendedColumns(AppendedColumnsT&& value) {
101 m_appendedColumnsHasBeenSet = true;
102 m_appendedColumns = std::forward<AppendedColumnsT>(value);
103 }
104 template <typename AppendedColumnsT = Aws::Vector<AppendedColumn>>
105 AppendOperation& WithAppendedColumns(AppendedColumnsT&& value) {
106 SetAppendedColumns(std::forward<AppendedColumnsT>(value));
107 return *this;
108 }
109 template <typename AppendedColumnsT = AppendedColumn>
110 AppendOperation& AddAppendedColumns(AppendedColumnsT&& value) {
111 m_appendedColumnsHasBeenSet = true;
112 m_appendedColumns.emplace_back(std::forward<AppendedColumnsT>(value));
113 return *this;
114 }
116 private:
117 Aws::String m_alias;
118
119 TransformOperationSource m_firstSource;
120
121 TransformOperationSource m_secondSource;
122
123 Aws::Vector<AppendedColumn> m_appendedColumns;
124 bool m_aliasHasBeenSet = false;
125 bool m_firstSourceHasBeenSet = false;
126 bool m_secondSourceHasBeenSet = false;
127 bool m_appendedColumnsHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace QuickSight
132} // namespace Aws
AppendOperation & WithSecondSource(SecondSourceT &&value)
AWS_QUICKSIGHT_API AppendOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAppendedColumns(AppendedColumnsT &&value)
AppendOperation & AddAppendedColumns(AppendedColumnsT &&value)
AWS_QUICKSIGHT_API AppendOperation()=default
void SetSecondSource(SecondSourceT &&value)
AWS_QUICKSIGHT_API AppendOperation(Aws::Utils::Json::JsonView jsonValue)
const TransformOperationSource & GetSecondSource() const
const Aws::Vector< AppendedColumn > & GetAppendedColumns() const
AppendOperation & WithAlias(AliasT &&value)
AppendOperation & WithFirstSource(FirstSourceT &&value)
AppendOperation & WithAppendedColumns(AppendedColumnsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const TransformOperationSource & GetFirstSource() const
const Aws::String & GetAlias() const
void SetFirstSource(FirstSourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue