AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
DlpSettingSummary.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/DlpProviderType.h>
11#include <aws/quicksight/model/DlpSettingStatus.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
32 public:
33 AWS_QUICKSIGHT_API DlpSettingSummary() = default;
34 AWS_QUICKSIGHT_API DlpSettingSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetDlpSettingId() const { return m_dlpSettingId; }
43 inline bool DlpSettingIdHasBeenSet() const { return m_dlpSettingIdHasBeenSet; }
44 template <typename DlpSettingIdT = Aws::String>
45 void SetDlpSettingId(DlpSettingIdT&& value) {
46 m_dlpSettingIdHasBeenSet = true;
47 m_dlpSettingId = std::forward<DlpSettingIdT>(value);
48 }
49 template <typename DlpSettingIdT = Aws::String>
50 DlpSettingSummary& WithDlpSettingId(DlpSettingIdT&& value) {
51 SetDlpSettingId(std::forward<DlpSettingIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
68 DlpSettingSummary& WithName(NameT&& value) {
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetArn() const { return m_arn; }
79 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
80 template <typename ArnT = Aws::String>
81 void SetArn(ArnT&& value) {
82 m_arnHasBeenSet = true;
83 m_arn = std::forward<ArnT>(value);
84 }
85 template <typename ArnT = Aws::String>
86 DlpSettingSummary& WithArn(ArnT&& value) {
87 SetArn(std::forward<ArnT>(value));
88 return *this;
89 }
91
93
97 inline DlpSettingStatus GetStatus() const { return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 inline void SetStatus(DlpSettingStatus value) {
100 m_statusHasBeenSet = true;
101 m_status = value;
102 }
104 SetStatus(value);
105 return *this;
106 }
108
110
114 inline DlpProviderType GetProviderType() const { return m_providerType; }
115 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
116 inline void SetProviderType(DlpProviderType value) {
117 m_providerTypeHasBeenSet = true;
118 m_providerType = value;
119 }
121 SetProviderType(value);
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
131 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
132 template <typename CreatedAtT = Aws::Utils::DateTime>
133 void SetCreatedAt(CreatedAtT&& value) {
134 m_createdAtHasBeenSet = true;
135 m_createdAt = std::forward<CreatedAtT>(value);
136 }
137 template <typename CreatedAtT = Aws::Utils::DateTime>
138 DlpSettingSummary& WithCreatedAt(CreatedAtT&& value) {
139 SetCreatedAt(std::forward<CreatedAtT>(value));
140 return *this;
141 }
143
145
149 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
150 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
151 template <typename UpdatedAtT = Aws::Utils::DateTime>
152 void SetUpdatedAt(UpdatedAtT&& value) {
153 m_updatedAtHasBeenSet = true;
154 m_updatedAt = std::forward<UpdatedAtT>(value);
155 }
156 template <typename UpdatedAtT = Aws::Utils::DateTime>
157 DlpSettingSummary& WithUpdatedAt(UpdatedAtT&& value) {
158 SetUpdatedAt(std::forward<UpdatedAtT>(value));
159 return *this;
160 }
162 private:
163 Aws::String m_dlpSettingId;
164
165 Aws::String m_name;
166
167 Aws::String m_arn;
168
170
172
173 Aws::Utils::DateTime m_createdAt{};
174
175 Aws::Utils::DateTime m_updatedAt{};
176 bool m_dlpSettingIdHasBeenSet = false;
177 bool m_nameHasBeenSet = false;
178 bool m_arnHasBeenSet = false;
179 bool m_statusHasBeenSet = false;
180 bool m_providerTypeHasBeenSet = false;
181 bool m_createdAtHasBeenSet = false;
182 bool m_updatedAtHasBeenSet = false;
183};
184
185} // namespace Model
186} // namespace QuickSight
187} // namespace Aws
DlpSettingSummary & WithDlpSettingId(DlpSettingIdT &&value)
DlpSettingSummary & WithName(NameT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
DlpSettingSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_QUICKSIGHT_API DlpSettingSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDlpSettingId() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DlpSettingSummary()=default
DlpSettingSummary & WithProviderType(DlpProviderType value)
DlpSettingSummary & WithCreatedAt(CreatedAtT &&value)
void SetDlpSettingId(DlpSettingIdT &&value)
DlpSettingSummary & WithArn(ArnT &&value)
void SetProviderType(DlpProviderType value)
DlpSettingSummary & WithStatus(DlpSettingStatus value)
AWS_QUICKSIGHT_API DlpSettingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue