AWS SDK for C++

AWS SDK for C++ Version 1.11.870

Loading...
Searching...
No Matches
DlpSettingDetails.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/DlpAction.h>
11#include <aws/quicksight/model/DlpProviderType.h>
12#include <aws/quicksight/model/DlpSettingStatus.h>
13#include <aws/quicksight/model/ProviderConfig.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight {
25namespace Model {
26
34 public:
35 AWS_QUICKSIGHT_API DlpSettingDetails() = default;
36 AWS_QUICKSIGHT_API DlpSettingDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetDlpSettingId() const { return m_dlpSettingId; }
45 inline bool DlpSettingIdHasBeenSet() const { return m_dlpSettingIdHasBeenSet; }
46 template <typename DlpSettingIdT = Aws::String>
47 void SetDlpSettingId(DlpSettingIdT&& value) {
48 m_dlpSettingIdHasBeenSet = true;
49 m_dlpSettingId = std::forward<DlpSettingIdT>(value);
50 }
51 template <typename DlpSettingIdT = Aws::String>
52 DlpSettingDetails& WithDlpSettingId(DlpSettingIdT&& value) {
53 SetDlpSettingId(std::forward<DlpSettingIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetName() const { return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 template <typename NameT = Aws::String>
65 void SetName(NameT&& value) {
66 m_nameHasBeenSet = true;
67 m_name = std::forward<NameT>(value);
68 }
69 template <typename NameT = Aws::String>
70 DlpSettingDetails& WithName(NameT&& value) {
71 SetName(std::forward<NameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetArn() const { return m_arn; }
81 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
82 template <typename ArnT = Aws::String>
83 void SetArn(ArnT&& value) {
84 m_arnHasBeenSet = true;
85 m_arn = std::forward<ArnT>(value);
86 }
87 template <typename ArnT = Aws::String>
88 DlpSettingDetails& WithArn(ArnT&& value) {
89 SetArn(std::forward<ArnT>(value));
90 return *this;
91 }
93
95
99 inline DlpSettingStatus GetStatus() const { return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 inline void SetStatus(DlpSettingStatus value) {
102 m_statusHasBeenSet = true;
103 m_status = value;
104 }
106 SetStatus(value);
107 return *this;
108 }
110
112
116 inline DlpProviderType GetProviderType() const { return m_providerType; }
117 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
118 inline void SetProviderType(DlpProviderType value) {
119 m_providerTypeHasBeenSet = true;
120 m_providerType = value;
121 }
123 SetProviderType(value);
124 return *this;
125 }
127
129
132 inline const ProviderConfig& GetProviderConfig() const { return m_providerConfig; }
133 inline bool ProviderConfigHasBeenSet() const { return m_providerConfigHasBeenSet; }
134 template <typename ProviderConfigT = ProviderConfig>
135 void SetProviderConfig(ProviderConfigT&& value) {
136 m_providerConfigHasBeenSet = true;
137 m_providerConfig = std::forward<ProviderConfigT>(value);
138 }
139 template <typename ProviderConfigT = ProviderConfig>
140 DlpSettingDetails& WithProviderConfig(ProviderConfigT&& value) {
141 SetProviderConfig(std::forward<ProviderConfigT>(value));
142 return *this;
143 }
145
147
151 inline DlpAction GetProviderOutageAction() const { return m_providerOutageAction; }
152 inline bool ProviderOutageActionHasBeenSet() const { return m_providerOutageActionHasBeenSet; }
154 m_providerOutageActionHasBeenSet = true;
155 m_providerOutageAction = value;
156 }
159 return *this;
160 }
162
164
167 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
168 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
169 template <typename CreatedAtT = Aws::Utils::DateTime>
170 void SetCreatedAt(CreatedAtT&& value) {
171 m_createdAtHasBeenSet = true;
172 m_createdAt = std::forward<CreatedAtT>(value);
173 }
174 template <typename CreatedAtT = Aws::Utils::DateTime>
175 DlpSettingDetails& WithCreatedAt(CreatedAtT&& value) {
176 SetCreatedAt(std::forward<CreatedAtT>(value));
177 return *this;
178 }
180
182
186 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
187 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
188 template <typename UpdatedAtT = Aws::Utils::DateTime>
189 void SetUpdatedAt(UpdatedAtT&& value) {
190 m_updatedAtHasBeenSet = true;
191 m_updatedAt = std::forward<UpdatedAtT>(value);
192 }
193 template <typename UpdatedAtT = Aws::Utils::DateTime>
194 DlpSettingDetails& WithUpdatedAt(UpdatedAtT&& value) {
195 SetUpdatedAt(std::forward<UpdatedAtT>(value));
196 return *this;
197 }
199 private:
200 Aws::String m_dlpSettingId;
201
202 Aws::String m_name;
203
204 Aws::String m_arn;
205
207
209
210 ProviderConfig m_providerConfig;
211
212 DlpAction m_providerOutageAction{DlpAction::NOT_SET};
213
214 Aws::Utils::DateTime m_createdAt{};
215
216 Aws::Utils::DateTime m_updatedAt{};
217 bool m_dlpSettingIdHasBeenSet = false;
218 bool m_nameHasBeenSet = false;
219 bool m_arnHasBeenSet = false;
220 bool m_statusHasBeenSet = false;
221 bool m_providerTypeHasBeenSet = false;
222 bool m_providerConfigHasBeenSet = false;
223 bool m_providerOutageActionHasBeenSet = false;
224 bool m_createdAtHasBeenSet = false;
225 bool m_updatedAtHasBeenSet = false;
226};
227
228} // namespace Model
229} // namespace QuickSight
230} // namespace Aws
const Aws::String & GetDlpSettingId() const
DlpSettingDetails & WithCreatedAt(CreatedAtT &&value)
DlpSettingDetails & WithName(NameT &&value)
DlpSettingDetails & WithProviderOutageAction(DlpAction value)
DlpSettingDetails & WithUpdatedAt(UpdatedAtT &&value)
DlpSettingDetails & WithProviderConfig(ProviderConfigT &&value)
const ProviderConfig & GetProviderConfig() const
AWS_QUICKSIGHT_API DlpSettingDetails()=default
DlpSettingDetails & WithStatus(DlpSettingStatus value)
AWS_QUICKSIGHT_API DlpSettingDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDlpSettingId(DlpSettingIdT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DlpSettingDetails & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetProviderConfig(ProviderConfigT &&value)
DlpSettingDetails & WithDlpSettingId(DlpSettingIdT &&value)
DlpSettingDetails & WithProviderType(DlpProviderType value)
AWS_QUICKSIGHT_API DlpSettingDetails(Aws::Utils::Json::JsonView jsonValue)
void SetProviderType(DlpProviderType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue