AWS SDK for C++  1.9.159
AWS SDK for C++
ProjectOperation.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace QuickSight
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<Aws::String>& GetProjectedColumns() const{ return m_projectedColumns; }
46 
50  inline bool ProjectedColumnsHasBeenSet() const { return m_projectedColumnsHasBeenSet; }
51 
55  inline void SetProjectedColumns(const Aws::Vector<Aws::String>& value) { m_projectedColumnsHasBeenSet = true; m_projectedColumns = value; }
56 
60  inline void SetProjectedColumns(Aws::Vector<Aws::String>&& value) { m_projectedColumnsHasBeenSet = true; m_projectedColumns = std::move(value); }
61 
65  inline ProjectOperation& WithProjectedColumns(const Aws::Vector<Aws::String>& value) { SetProjectedColumns(value); return *this;}
66 
70  inline ProjectOperation& WithProjectedColumns(Aws::Vector<Aws::String>&& value) { SetProjectedColumns(std::move(value)); return *this;}
71 
75  inline ProjectOperation& AddProjectedColumns(const Aws::String& value) { m_projectedColumnsHasBeenSet = true; m_projectedColumns.push_back(value); return *this; }
76 
80  inline ProjectOperation& AddProjectedColumns(Aws::String&& value) { m_projectedColumnsHasBeenSet = true; m_projectedColumns.push_back(std::move(value)); return *this; }
81 
85  inline ProjectOperation& AddProjectedColumns(const char* value) { m_projectedColumnsHasBeenSet = true; m_projectedColumns.push_back(value); return *this; }
86 
87  private:
88 
89  Aws::Vector<Aws::String> m_projectedColumns;
90  bool m_projectedColumnsHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace QuickSight
95 } // namespace Aws
Aws::QuickSight::Model::ProjectOperation::AddProjectedColumns
ProjectOperation & AddProjectedColumns(const Aws::String &value)
Definition: ProjectOperation.h:75
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ProjectOperation::WithProjectedColumns
ProjectOperation & WithProjectedColumns(const Aws::Vector< Aws::String > &value)
Definition: ProjectOperation.h:65
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::ProjectOperation::operator=
ProjectOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::ProjectOperation::SetProjectedColumns
void SetProjectedColumns(Aws::Vector< Aws::String > &&value)
Definition: ProjectOperation.h:60
Aws::QuickSight::Model::ProjectOperation
Definition: ProjectOperation.h:34
AWSVector.h
Aws::QuickSight::Model::ProjectOperation::AddProjectedColumns
ProjectOperation & AddProjectedColumns(Aws::String &&value)
Definition: ProjectOperation.h:80
Aws::QuickSight::Model::ProjectOperation::AddProjectedColumns
ProjectOperation & AddProjectedColumns(const char *value)
Definition: ProjectOperation.h:85
Aws::QuickSight::Model::ProjectOperation::SetProjectedColumns
void SetProjectedColumns(const Aws::Vector< Aws::String > &value)
Definition: ProjectOperation.h:55
Aws::QuickSight::Model::ProjectOperation::GetProjectedColumns
const Aws::Vector< Aws::String > & GetProjectedColumns() const
Definition: ProjectOperation.h:45
Aws::QuickSight::Model::ProjectOperation::ProjectOperation
ProjectOperation()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::ProjectOperation::ProjectedColumnsHasBeenSet
bool ProjectedColumnsHasBeenSet() const
Definition: ProjectOperation.h:50
Aws::QuickSight::Model::ProjectOperation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ProjectOperation::WithProjectedColumns
ProjectOperation & WithProjectedColumns(Aws::Vector< Aws::String > &&value)
Definition: ProjectOperation.h:70
Aws::QuickSight::Model::ProjectOperation::ProjectOperation
ProjectOperation(Aws::Utils::Json::JsonView jsonValue)