AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ProjectOperation.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/TransformOperationSource.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API ProjectOperation() = default;
33 AWS_QUICKSIGHT_API ProjectOperation(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetAlias() const { return m_alias; }
42 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
43 template <typename AliasT = Aws::String>
44 void SetAlias(AliasT&& value) {
45 m_aliasHasBeenSet = true;
46 m_alias = std::forward<AliasT>(value);
47 }
48 template <typename AliasT = Aws::String>
49 ProjectOperation& WithAlias(AliasT&& value) {
50 SetAlias(std::forward<AliasT>(value));
51 return *this;
52 }
54
56
60 inline const TransformOperationSource& GetSource() const { return m_source; }
61 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
62 template <typename SourceT = TransformOperationSource>
63 void SetSource(SourceT&& value) {
64 m_sourceHasBeenSet = true;
65 m_source = std::forward<SourceT>(value);
66 }
67 template <typename SourceT = TransformOperationSource>
68 ProjectOperation& WithSource(SourceT&& value) {
69 SetSource(std::forward<SourceT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Vector<Aws::String>& GetProjectedColumns() const { return m_projectedColumns; }
79 inline bool ProjectedColumnsHasBeenSet() const { return m_projectedColumnsHasBeenSet; }
80 template <typename ProjectedColumnsT = Aws::Vector<Aws::String>>
81 void SetProjectedColumns(ProjectedColumnsT&& value) {
82 m_projectedColumnsHasBeenSet = true;
83 m_projectedColumns = std::forward<ProjectedColumnsT>(value);
84 }
85 template <typename ProjectedColumnsT = Aws::Vector<Aws::String>>
86 ProjectOperation& WithProjectedColumns(ProjectedColumnsT&& value) {
87 SetProjectedColumns(std::forward<ProjectedColumnsT>(value));
88 return *this;
89 }
90 template <typename ProjectedColumnsT = Aws::String>
91 ProjectOperation& AddProjectedColumns(ProjectedColumnsT&& value) {
92 m_projectedColumnsHasBeenSet = true;
93 m_projectedColumns.emplace_back(std::forward<ProjectedColumnsT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_alias;
99
101
102 Aws::Vector<Aws::String> m_projectedColumns;
103 bool m_aliasHasBeenSet = false;
104 bool m_sourceHasBeenSet = false;
105 bool m_projectedColumnsHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace QuickSight
110} // namespace Aws
const TransformOperationSource & GetSource() const
void SetProjectedColumns(ProjectedColumnsT &&value)
AWS_QUICKSIGHT_API ProjectOperation(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ProjectOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectOperation & WithAlias(AliasT &&value)
ProjectOperation & WithSource(SourceT &&value)
AWS_QUICKSIGHT_API ProjectOperation()=default
const Aws::Vector< Aws::String > & GetProjectedColumns() const
ProjectOperation & AddProjectedColumns(ProjectedColumnsT &&value)
ProjectOperation & WithProjectedColumns(ProjectedColumnsT &&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