AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RenameColumnOperation.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_QUICKSIGHT_API RenameColumnOperation();
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetColumnName() const{ return m_columnName; }
45 inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
46 inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; }
47 inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); }
48 inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); }
49 inline RenameColumnOperation& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;}
50 inline RenameColumnOperation& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;}
51 inline RenameColumnOperation& WithColumnName(const char* value) { SetColumnName(value); return *this;}
53
55
58 inline const Aws::String& GetNewColumnName() const{ return m_newColumnName; }
59 inline bool NewColumnNameHasBeenSet() const { return m_newColumnNameHasBeenSet; }
60 inline void SetNewColumnName(const Aws::String& value) { m_newColumnNameHasBeenSet = true; m_newColumnName = value; }
61 inline void SetNewColumnName(Aws::String&& value) { m_newColumnNameHasBeenSet = true; m_newColumnName = std::move(value); }
62 inline void SetNewColumnName(const char* value) { m_newColumnNameHasBeenSet = true; m_newColumnName.assign(value); }
63 inline RenameColumnOperation& WithNewColumnName(const Aws::String& value) { SetNewColumnName(value); return *this;}
64 inline RenameColumnOperation& WithNewColumnName(Aws::String&& value) { SetNewColumnName(std::move(value)); return *this;}
65 inline RenameColumnOperation& WithNewColumnName(const char* value) { SetNewColumnName(value); return *this;}
67 private:
68
69 Aws::String m_columnName;
70 bool m_columnNameHasBeenSet = false;
71
72 Aws::String m_newColumnName;
73 bool m_newColumnNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QuickSight
78} // namespace Aws
AWS_QUICKSIGHT_API RenameColumnOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
RenameColumnOperation & WithNewColumnName(const Aws::String &value)
RenameColumnOperation & WithNewColumnName(const char *value)
RenameColumnOperation & WithColumnName(Aws::String &&value)
RenameColumnOperation & WithColumnName(const char *value)
RenameColumnOperation & WithColumnName(const Aws::String &value)
RenameColumnOperation & WithNewColumnName(Aws::String &&value)
AWS_QUICKSIGHT_API RenameColumnOperation(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue