AWS SDK for C++  1.9.160
AWS SDK for C++
RowLevelPermissionTagConfiguration.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 
47  inline const Status& GetStatus() const{ return m_status; }
48 
53  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
54 
59  inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
60 
65  inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
66 
71  inline RowLevelPermissionTagConfiguration& WithStatus(const Status& value) { SetStatus(value); return *this;}
72 
77  inline RowLevelPermissionTagConfiguration& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
78 
79 
84  inline const Aws::Vector<RowLevelPermissionTagRule>& GetTagRules() const{ return m_tagRules; }
85 
90  inline bool TagRulesHasBeenSet() const { return m_tagRulesHasBeenSet; }
91 
96  inline void SetTagRules(const Aws::Vector<RowLevelPermissionTagRule>& value) { m_tagRulesHasBeenSet = true; m_tagRules = value; }
97 
102  inline void SetTagRules(Aws::Vector<RowLevelPermissionTagRule>&& value) { m_tagRulesHasBeenSet = true; m_tagRules = std::move(value); }
103 
108  inline RowLevelPermissionTagConfiguration& WithTagRules(const Aws::Vector<RowLevelPermissionTagRule>& value) { SetTagRules(value); return *this;}
109 
114  inline RowLevelPermissionTagConfiguration& WithTagRules(Aws::Vector<RowLevelPermissionTagRule>&& value) { SetTagRules(std::move(value)); return *this;}
115 
120  inline RowLevelPermissionTagConfiguration& AddTagRules(const RowLevelPermissionTagRule& value) { m_tagRulesHasBeenSet = true; m_tagRules.push_back(value); return *this; }
121 
126  inline RowLevelPermissionTagConfiguration& AddTagRules(RowLevelPermissionTagRule&& value) { m_tagRulesHasBeenSet = true; m_tagRules.push_back(std::move(value)); return *this; }
127 
128  private:
129 
130  Status m_status;
131  bool m_statusHasBeenSet;
132 
134  bool m_tagRulesHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace QuickSight
139 } // namespace Aws
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::SetStatus
void SetStatus(const Status &value)
Definition: RowLevelPermissionTagConfiguration.h:59
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::RowLevelPermissionTagConfiguration
RowLevelPermissionTagConfiguration()
QuickSight_EXPORTS.h
Aws::QuickSight::Model::RowLevelPermissionTagRule
Definition: RowLevelPermissionTagRule.h:32
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
RowLevelPermissionTagRule.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::GetStatus
const Status & GetStatus() const
Definition: RowLevelPermissionTagConfiguration.h:47
AWSVector.h
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::WithStatus
RowLevelPermissionTagConfiguration & WithStatus(Status &&value)
Definition: RowLevelPermissionTagConfiguration.h:77
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration
Definition: RowLevelPermissionTagConfiguration.h:35
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::TagRulesHasBeenSet
bool TagRulesHasBeenSet() const
Definition: RowLevelPermissionTagConfiguration.h:90
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::SetStatus
void SetStatus(Status &&value)
Definition: RowLevelPermissionTagConfiguration.h:65
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::WithTagRules
RowLevelPermissionTagConfiguration & WithTagRules(Aws::Vector< RowLevelPermissionTagRule > &&value)
Definition: RowLevelPermissionTagConfiguration.h:114
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::WithTagRules
RowLevelPermissionTagConfiguration & WithTagRules(const Aws::Vector< RowLevelPermissionTagRule > &value)
Definition: RowLevelPermissionTagConfiguration.h:108
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::GetTagRules
const Aws::Vector< RowLevelPermissionTagRule > & GetTagRules() const
Definition: RowLevelPermissionTagConfiguration.h:84
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::SetTagRules
void SetTagRules(const Aws::Vector< RowLevelPermissionTagRule > &value)
Definition: RowLevelPermissionTagConfiguration.h:96
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::AddTagRules
RowLevelPermissionTagConfiguration & AddTagRules(RowLevelPermissionTagRule &&value)
Definition: RowLevelPermissionTagConfiguration.h:126
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::RowLevelPermissionTagConfiguration::operator=
RowLevelPermissionTagConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Status.h
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::AddTagRules
RowLevelPermissionTagConfiguration & AddTagRules(const RowLevelPermissionTagRule &value)
Definition: RowLevelPermissionTagConfiguration.h:120
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::RowLevelPermissionTagConfiguration
RowLevelPermissionTagConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::WithStatus
RowLevelPermissionTagConfiguration & WithStatus(const Status &value)
Definition: RowLevelPermissionTagConfiguration.h:71
Aws::QuickSight::Model::Status
Status
Definition: Status.h:17
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::SetTagRules
void SetTagRules(Aws::Vector< RowLevelPermissionTagRule > &&value)
Definition: RowLevelPermissionTagConfiguration.h:102
Aws::QuickSight::Model::RowLevelPermissionTagConfiguration::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: RowLevelPermissionTagConfiguration.h:53