AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RowLevelPermissionDataSet.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/RowLevelPermissionPolicy.h>
10#include <aws/quicksight/model/RowLevelPermissionFormatVersion.h>
11#include <aws/quicksight/model/Status.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
42 {
43 public:
44 AWS_QUICKSIGHT_API RowLevelPermissionDataSet();
47 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline const Aws::String& GetNamespace() const{ return m_namespace; }
56 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
57 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
58 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
59 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
60 inline RowLevelPermissionDataSet& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
61 inline RowLevelPermissionDataSet& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
62 inline RowLevelPermissionDataSet& WithNamespace(const char* value) { SetNamespace(value); return *this;}
64
66
70 inline const Aws::String& GetArn() const{ return m_arn; }
71 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
72 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
73 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
74 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
75 inline RowLevelPermissionDataSet& WithArn(const Aws::String& value) { SetArn(value); return *this;}
76 inline RowLevelPermissionDataSet& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
77 inline RowLevelPermissionDataSet& WithArn(const char* value) { SetArn(value); return *this;}
79
81
85 inline const RowLevelPermissionPolicy& GetPermissionPolicy() const{ return m_permissionPolicy; }
86 inline bool PermissionPolicyHasBeenSet() const { return m_permissionPolicyHasBeenSet; }
87 inline void SetPermissionPolicy(const RowLevelPermissionPolicy& value) { m_permissionPolicyHasBeenSet = true; m_permissionPolicy = value; }
88 inline void SetPermissionPolicy(RowLevelPermissionPolicy&& value) { m_permissionPolicyHasBeenSet = true; m_permissionPolicy = std::move(value); }
92
94
103 inline const RowLevelPermissionFormatVersion& GetFormatVersion() const{ return m_formatVersion; }
104 inline bool FormatVersionHasBeenSet() const { return m_formatVersionHasBeenSet; }
105 inline void SetFormatVersion(const RowLevelPermissionFormatVersion& value) { m_formatVersionHasBeenSet = true; m_formatVersion = value; }
106 inline void SetFormatVersion(RowLevelPermissionFormatVersion&& value) { m_formatVersionHasBeenSet = true; m_formatVersion = std::move(value); }
110
112
117 inline const Status& GetStatus() const{ return m_status; }
118 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
119 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
120 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
121 inline RowLevelPermissionDataSet& WithStatus(const Status& value) { SetStatus(value); return *this;}
122 inline RowLevelPermissionDataSet& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
124 private:
125
126 Aws::String m_namespace;
127 bool m_namespaceHasBeenSet = false;
128
129 Aws::String m_arn;
130 bool m_arnHasBeenSet = false;
131
132 RowLevelPermissionPolicy m_permissionPolicy;
133 bool m_permissionPolicyHasBeenSet = false;
134
135 RowLevelPermissionFormatVersion m_formatVersion;
136 bool m_formatVersionHasBeenSet = false;
137
138 Status m_status;
139 bool m_statusHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace QuickSight
144} // namespace Aws
const RowLevelPermissionFormatVersion & GetFormatVersion() const
RowLevelPermissionDataSet & WithNamespace(const Aws::String &value)
const RowLevelPermissionPolicy & GetPermissionPolicy() const
RowLevelPermissionDataSet & WithStatus(const Status &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
RowLevelPermissionDataSet & WithArn(const char *value)
void SetFormatVersion(const RowLevelPermissionFormatVersion &value)
RowLevelPermissionDataSet & WithNamespace(Aws::String &&value)
RowLevelPermissionDataSet & WithPermissionPolicy(RowLevelPermissionPolicy &&value)
RowLevelPermissionDataSet & WithArn(const Aws::String &value)
RowLevelPermissionDataSet & WithArn(Aws::String &&value)
RowLevelPermissionDataSet & WithFormatVersion(RowLevelPermissionFormatVersion &&value)
AWS_QUICKSIGHT_API RowLevelPermissionDataSet(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API RowLevelPermissionDataSet & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFormatVersion(RowLevelPermissionFormatVersion &&value)
void SetPermissionPolicy(const RowLevelPermissionPolicy &value)
RowLevelPermissionDataSet & WithPermissionPolicy(const RowLevelPermissionPolicy &value)
RowLevelPermissionDataSet & WithNamespace(const char *value)
RowLevelPermissionDataSet & WithFormatVersion(const RowLevelPermissionFormatVersion &value)
RowLevelPermissionDataSet & WithStatus(Status &&value)
void SetPermissionPolicy(RowLevelPermissionPolicy &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue