AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
RowLevelPermissionDataSet.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/RowLevelPermissionFormatVersion.h>
10#include <aws/quicksight/model/RowLevelPermissionPolicy.h>
11#include <aws/quicksight/model/Status.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
38 public:
39 AWS_QUICKSIGHT_API RowLevelPermissionDataSet() = default;
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
49 inline const Aws::String& GetNamespace() const { return m_namespace; }
50 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
51 template <typename NamespaceT = Aws::String>
52 void SetNamespace(NamespaceT&& value) {
53 m_namespaceHasBeenSet = true;
54 m_namespace = std::forward<NamespaceT>(value);
55 }
56 template <typename NamespaceT = Aws::String>
58 SetNamespace(std::forward<NamespaceT>(value));
59 return *this;
60 }
62
64
68 inline const Aws::String& GetArn() const { return m_arn; }
69 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
70 template <typename ArnT = Aws::String>
71 void SetArn(ArnT&& value) {
72 m_arnHasBeenSet = true;
73 m_arn = std::forward<ArnT>(value);
74 }
75 template <typename ArnT = Aws::String>
77 SetArn(std::forward<ArnT>(value));
78 return *this;
79 }
81
83
87 inline RowLevelPermissionPolicy GetPermissionPolicy() const { return m_permissionPolicy; }
88 inline bool PermissionPolicyHasBeenSet() const { return m_permissionPolicyHasBeenSet; }
90 m_permissionPolicyHasBeenSet = true;
91 m_permissionPolicy = value;
92 }
95 return *this;
96 }
98
100
109 inline RowLevelPermissionFormatVersion GetFormatVersion() const { return m_formatVersion; }
110 inline bool FormatVersionHasBeenSet() const { return m_formatVersionHasBeenSet; }
112 m_formatVersionHasBeenSet = true;
113 m_formatVersion = value;
114 }
116 SetFormatVersion(value);
117 return *this;
118 }
120
122
127 inline Status GetStatus() const { return m_status; }
128 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
129 inline void SetStatus(Status value) {
130 m_statusHasBeenSet = true;
131 m_status = value;
132 }
134 SetStatus(value);
135 return *this;
136 }
138 private:
139 Aws::String m_namespace;
140
141 Aws::String m_arn;
142
144
146
147 Status m_status{Status::NOT_SET};
148 bool m_namespaceHasBeenSet = false;
149 bool m_arnHasBeenSet = false;
150 bool m_permissionPolicyHasBeenSet = false;
151 bool m_formatVersionHasBeenSet = false;
152 bool m_statusHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace QuickSight
157} // namespace Aws
AWS_QUICKSIGHT_API RowLevelPermissionDataSet()=default
void SetPermissionPolicy(RowLevelPermissionPolicy value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
RowLevelPermissionDataSet & WithArn(ArnT &&value)
RowLevelPermissionDataSet & WithFormatVersion(RowLevelPermissionFormatVersion value)
AWS_QUICKSIGHT_API RowLevelPermissionDataSet(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API RowLevelPermissionDataSet & operator=(Aws::Utils::Json::JsonView jsonValue)
RowLevelPermissionDataSet & WithStatus(Status value)
RowLevelPermissionDataSet & WithPermissionPolicy(RowLevelPermissionPolicy value)
RowLevelPermissionFormatVersion GetFormatVersion() const
RowLevelPermissionDataSet & WithNamespace(NamespaceT &&value)
void SetFormatVersion(RowLevelPermissionFormatVersion value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue