AWS SDK for C++  1.9.160
AWS SDK for C++
RenameColumnOperation.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace QuickSight
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetColumnName() const{ return m_columnName; }
44 
48  inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
49 
53  inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; }
54 
58  inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); }
59 
63  inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); }
64 
68  inline RenameColumnOperation& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;}
69 
73  inline RenameColumnOperation& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;}
74 
78  inline RenameColumnOperation& WithColumnName(const char* value) { SetColumnName(value); return *this;}
79 
80 
84  inline const Aws::String& GetNewColumnName() const{ return m_newColumnName; }
85 
89  inline bool NewColumnNameHasBeenSet() const { return m_newColumnNameHasBeenSet; }
90 
94  inline void SetNewColumnName(const Aws::String& value) { m_newColumnNameHasBeenSet = true; m_newColumnName = value; }
95 
99  inline void SetNewColumnName(Aws::String&& value) { m_newColumnNameHasBeenSet = true; m_newColumnName = std::move(value); }
100 
104  inline void SetNewColumnName(const char* value) { m_newColumnNameHasBeenSet = true; m_newColumnName.assign(value); }
105 
109  inline RenameColumnOperation& WithNewColumnName(const Aws::String& value) { SetNewColumnName(value); return *this;}
110 
114  inline RenameColumnOperation& WithNewColumnName(Aws::String&& value) { SetNewColumnName(std::move(value)); return *this;}
115 
119  inline RenameColumnOperation& WithNewColumnName(const char* value) { SetNewColumnName(value); return *this;}
120 
121  private:
122 
123  Aws::String m_columnName;
124  bool m_columnNameHasBeenSet;
125 
126  Aws::String m_newColumnName;
127  bool m_newColumnNameHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace QuickSight
132 } // namespace Aws
Aws::QuickSight::Model::RenameColumnOperation::WithColumnName
RenameColumnOperation & WithColumnName(Aws::String &&value)
Definition: RenameColumnOperation.h:73
Aws::QuickSight::Model::RenameColumnOperation::WithNewColumnName
RenameColumnOperation & WithNewColumnName(const Aws::String &value)
Definition: RenameColumnOperation.h:109
QuickSight_EXPORTS.h
Aws::QuickSight::Model::RenameColumnOperation::operator=
RenameColumnOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::RenameColumnOperation::WithNewColumnName
RenameColumnOperation & WithNewColumnName(Aws::String &&value)
Definition: RenameColumnOperation.h:114
Aws::QuickSight::Model::RenameColumnOperation
Definition: RenameColumnOperation.h:32
Aws::QuickSight::Model::RenameColumnOperation::WithColumnName
RenameColumnOperation & WithColumnName(const char *value)
Definition: RenameColumnOperation.h:78
Aws::QuickSight::Model::RenameColumnOperation::SetNewColumnName
void SetNewColumnName(const Aws::String &value)
Definition: RenameColumnOperation.h:94
Aws::QuickSight::Model::RenameColumnOperation::SetColumnName
void SetColumnName(Aws::String &&value)
Definition: RenameColumnOperation.h:58
Aws::QuickSight::Model::RenameColumnOperation::NewColumnNameHasBeenSet
bool NewColumnNameHasBeenSet() const
Definition: RenameColumnOperation.h:89
Aws::QuickSight::Model::RenameColumnOperation::SetColumnName
void SetColumnName(const char *value)
Definition: RenameColumnOperation.h:63
Aws::QuickSight::Model::RenameColumnOperation::RenameColumnOperation
RenameColumnOperation()
Aws::QuickSight::Model::RenameColumnOperation::WithColumnName
RenameColumnOperation & WithColumnName(const Aws::String &value)
Definition: RenameColumnOperation.h:68
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::QuickSight::Model::RenameColumnOperation::WithNewColumnName
RenameColumnOperation & WithNewColumnName(const char *value)
Definition: RenameColumnOperation.h:119
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::RenameColumnOperation::RenameColumnOperation
RenameColumnOperation(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::RenameColumnOperation::GetColumnName
const Aws::String & GetColumnName() const
Definition: RenameColumnOperation.h:43
Aws::QuickSight::Model::RenameColumnOperation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::RenameColumnOperation::ColumnNameHasBeenSet
bool ColumnNameHasBeenSet() const
Definition: RenameColumnOperation.h:48
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::RenameColumnOperation::SetColumnName
void SetColumnName(const Aws::String &value)
Definition: RenameColumnOperation.h:53
Aws::QuickSight::Model::RenameColumnOperation::SetNewColumnName
void SetNewColumnName(Aws::String &&value)
Definition: RenameColumnOperation.h:99
Aws::QuickSight::Model::RenameColumnOperation::SetNewColumnName
void SetNewColumnName(const char *value)
Definition: RenameColumnOperation.h:104
Aws::QuickSight::Model::RenameColumnOperation::GetNewColumnName
const Aws::String & GetNewColumnName() const
Definition: RenameColumnOperation.h:84