AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
RenameColumnsOperation.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/RenameColumnOperation.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 RenameColumnsOperation() = default;
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>
51 SetAlias(std::forward<AliasT>(value));
52 return *this;
53 }
55
57
61 inline const TransformOperationSource& GetSource() const { return m_source; }
62 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
63 template <typename SourceT = TransformOperationSource>
64 void SetSource(SourceT&& value) {
65 m_sourceHasBeenSet = true;
66 m_source = std::forward<SourceT>(value);
67 }
68 template <typename SourceT = TransformOperationSource>
70 SetSource(std::forward<SourceT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::Vector<RenameColumnOperation>& GetRenameColumnOperations() const { return m_renameColumnOperations; }
81 inline bool RenameColumnOperationsHasBeenSet() const { return m_renameColumnOperationsHasBeenSet; }
82 template <typename RenameColumnOperationsT = Aws::Vector<RenameColumnOperation>>
83 void SetRenameColumnOperations(RenameColumnOperationsT&& value) {
84 m_renameColumnOperationsHasBeenSet = true;
85 m_renameColumnOperations = std::forward<RenameColumnOperationsT>(value);
86 }
87 template <typename RenameColumnOperationsT = Aws::Vector<RenameColumnOperation>>
88 RenameColumnsOperation& WithRenameColumnOperations(RenameColumnOperationsT&& value) {
89 SetRenameColumnOperations(std::forward<RenameColumnOperationsT>(value));
90 return *this;
91 }
92 template <typename RenameColumnOperationsT = RenameColumnOperation>
93 RenameColumnsOperation& AddRenameColumnOperations(RenameColumnOperationsT&& value) {
94 m_renameColumnOperationsHasBeenSet = true;
95 m_renameColumnOperations.emplace_back(std::forward<RenameColumnOperationsT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_alias;
101
103
104 Aws::Vector<RenameColumnOperation> m_renameColumnOperations;
105 bool m_aliasHasBeenSet = false;
106 bool m_sourceHasBeenSet = false;
107 bool m_renameColumnOperationsHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace QuickSight
112} // namespace Aws
void SetRenameColumnOperations(RenameColumnOperationsT &&value)
AWS_QUICKSIGHT_API RenameColumnsOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API RenameColumnsOperation(Aws::Utils::Json::JsonView jsonValue)
RenameColumnsOperation & WithSource(SourceT &&value)
const Aws::Vector< RenameColumnOperation > & GetRenameColumnOperations() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API RenameColumnsOperation()=default
const TransformOperationSource & GetSource() const
RenameColumnsOperation & WithAlias(AliasT &&value)
RenameColumnsOperation & WithRenameColumnOperations(RenameColumnOperationsT &&value)
RenameColumnsOperation & AddRenameColumnOperations(RenameColumnOperationsT &&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