AWS SDK for C++  1.9.160
AWS SDK for C++
TagColumnOperation.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace QuickSight
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetColumnName() const{ return m_columnName; }
47 
51  inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
52 
56  inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; }
57 
61  inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); }
62 
66  inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); }
67 
71  inline TagColumnOperation& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;}
72 
76  inline TagColumnOperation& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;}
77 
81  inline TagColumnOperation& WithColumnName(const char* value) { SetColumnName(value); return *this;}
82 
83 
89  inline const Aws::Vector<ColumnTag>& GetTags() const{ return m_tags; }
90 
96  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
97 
103  inline void SetTags(const Aws::Vector<ColumnTag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
104 
110  inline void SetTags(Aws::Vector<ColumnTag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
111 
117  inline TagColumnOperation& WithTags(const Aws::Vector<ColumnTag>& value) { SetTags(value); return *this;}
118 
124  inline TagColumnOperation& WithTags(Aws::Vector<ColumnTag>&& value) { SetTags(std::move(value)); return *this;}
125 
131  inline TagColumnOperation& AddTags(const ColumnTag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
132 
138  inline TagColumnOperation& AddTags(ColumnTag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
139 
140  private:
141 
142  Aws::String m_columnName;
143  bool m_columnNameHasBeenSet;
144 
145  Aws::Vector<ColumnTag> m_tags;
146  bool m_tagsHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace QuickSight
151 } // namespace Aws
Aws::QuickSight::Model::TagColumnOperation::SetColumnName
void SetColumnName(const Aws::String &value)
Definition: TagColumnOperation.h:56
Aws::QuickSight::Model::TagColumnOperation::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: TagColumnOperation.h:96
QuickSight_EXPORTS.h
Aws::QuickSight::Model::TagColumnOperation::WithTags
TagColumnOperation & WithTags(const Aws::Vector< ColumnTag > &value)
Definition: TagColumnOperation.h:117
Aws::QuickSight::Model::TagColumnOperation::WithColumnName
TagColumnOperation & WithColumnName(Aws::String &&value)
Definition: TagColumnOperation.h:76
Aws::QuickSight::Model::TagColumnOperation::TagColumnOperation
TagColumnOperation()
ColumnTag.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::QuickSight::Model::TagColumnOperation::AddTags
TagColumnOperation & AddTags(const ColumnTag &value)
Definition: TagColumnOperation.h:131
Aws::QuickSight::Model::TagColumnOperation::operator=
TagColumnOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TagColumnOperation::TagColumnOperation
TagColumnOperation(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TagColumnOperation::GetTags
const Aws::Vector< ColumnTag > & GetTags() const
Definition: TagColumnOperation.h:89
Aws::QuickSight::Model::TagColumnOperation
Definition: TagColumnOperation.h:35
Aws::QuickSight::Model::TagColumnOperation::ColumnNameHasBeenSet
bool ColumnNameHasBeenSet() const
Definition: TagColumnOperation.h:51
Aws::QuickSight::Model::TagColumnOperation::WithTags
TagColumnOperation & WithTags(Aws::Vector< ColumnTag > &&value)
Definition: TagColumnOperation.h:124
Aws::QuickSight::Model::TagColumnOperation::WithColumnName
TagColumnOperation & WithColumnName(const char *value)
Definition: TagColumnOperation.h:81
Aws::QuickSight::Model::TagColumnOperation::SetColumnName
void SetColumnName(const char *value)
Definition: TagColumnOperation.h:66
Aws::QuickSight::Model::TagColumnOperation::GetColumnName
const Aws::String & GetColumnName() const
Definition: TagColumnOperation.h:46
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::TagColumnOperation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::TagColumnOperation::WithColumnName
TagColumnOperation & WithColumnName(const Aws::String &value)
Definition: TagColumnOperation.h:71
Aws::QuickSight::Model::ColumnTag
Definition: ColumnTag.h:36
Aws::QuickSight::Model::TagColumnOperation::SetColumnName
void SetColumnName(Aws::String &&value)
Definition: TagColumnOperation.h:61
Aws::QuickSight::Model::TagColumnOperation::SetTags
void SetTags(const Aws::Vector< ColumnTag > &value)
Definition: TagColumnOperation.h:103
Aws::QuickSight::Model::TagColumnOperation::AddTags
TagColumnOperation & AddTags(ColumnTag &&value)
Definition: TagColumnOperation.h:138
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::QuickSight::Model::TagColumnOperation::SetTags
void SetTags(Aws::Vector< ColumnTag > &&value)
Definition: TagColumnOperation.h:110
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97