AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
UpdateDlpSettingRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.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/ProviderConfig.h>
13
14#include <utility>
15
16namespace Aws {
17namespace QuickSight {
18namespace Model {
19
23 public:
24 AWS_QUICKSIGHT_API UpdateDlpSettingRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateDlpSetting"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
35
39 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
40 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
41 template <typename AwsAccountIdT = Aws::String>
42 void SetAwsAccountId(AwsAccountIdT&& value) {
43 m_awsAccountIdHasBeenSet = true;
44 m_awsAccountId = std::forward<AwsAccountIdT>(value);
45 }
46 template <typename AwsAccountIdT = Aws::String>
47 UpdateDlpSettingRequest& WithAwsAccountId(AwsAccountIdT&& value) {
48 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDlpSettingId() const { return m_dlpSettingId; }
58 inline bool DlpSettingIdHasBeenSet() const { return m_dlpSettingIdHasBeenSet; }
59 template <typename DlpSettingIdT = Aws::String>
60 void SetDlpSettingId(DlpSettingIdT&& value) {
61 m_dlpSettingIdHasBeenSet = true;
62 m_dlpSettingId = std::forward<DlpSettingIdT>(value);
63 }
64 template <typename DlpSettingIdT = Aws::String>
65 UpdateDlpSettingRequest& WithDlpSettingId(DlpSettingIdT&& value) {
66 SetDlpSettingId(std::forward<DlpSettingIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
94 inline DlpProviderType GetProviderType() const { return m_providerType; }
95 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
96 inline void SetProviderType(DlpProviderType value) {
97 m_providerTypeHasBeenSet = true;
98 m_providerType = value;
99 }
101 SetProviderType(value);
102 return *this;
103 }
105
107
112 inline const ProviderConfig& GetProviderConfig() const { return m_providerConfig; }
113 inline bool ProviderConfigHasBeenSet() const { return m_providerConfigHasBeenSet; }
114 template <typename ProviderConfigT = ProviderConfig>
115 void SetProviderConfig(ProviderConfigT&& value) {
116 m_providerConfigHasBeenSet = true;
117 m_providerConfig = std::forward<ProviderConfigT>(value);
118 }
119 template <typename ProviderConfigT = ProviderConfig>
120 UpdateDlpSettingRequest& WithProviderConfig(ProviderConfigT&& value) {
121 SetProviderConfig(std::forward<ProviderConfigT>(value));
122 return *this;
123 }
125
127
131 inline DlpAction GetProviderOutageAction() const { return m_providerOutageAction; }
132 inline bool ProviderOutageActionHasBeenSet() const { return m_providerOutageActionHasBeenSet; }
134 m_providerOutageActionHasBeenSet = true;
135 m_providerOutageAction = value;
136 }
139 return *this;
140 }
142
144
149 inline bool GetEnabled() const { return m_enabled; }
150 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
151 inline void SetEnabled(bool value) {
152 m_enabledHasBeenSet = true;
153 m_enabled = value;
154 }
156 SetEnabled(value);
157 return *this;
158 }
160 private:
161 Aws::String m_awsAccountId;
162
163 Aws::String m_dlpSettingId;
164
165 Aws::String m_name;
166
168
169 ProviderConfig m_providerConfig;
170
171 DlpAction m_providerOutageAction{DlpAction::NOT_SET};
172
173 bool m_enabled{false};
174 bool m_awsAccountIdHasBeenSet = false;
175 bool m_dlpSettingIdHasBeenSet = false;
176 bool m_nameHasBeenSet = false;
177 bool m_providerTypeHasBeenSet = false;
178 bool m_providerConfigHasBeenSet = false;
179 bool m_providerOutageActionHasBeenSet = false;
180 bool m_enabledHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace QuickSight
185} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateDlpSettingRequest & WithProviderOutageAction(DlpAction value)
UpdateDlpSettingRequest & WithProviderType(DlpProviderType value)
UpdateDlpSettingRequest & WithDlpSettingId(DlpSettingIdT &&value)
UpdateDlpSettingRequest & WithEnabled(bool value)
UpdateDlpSettingRequest & WithName(NameT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateDlpSettingRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API UpdateDlpSettingRequest()=default
UpdateDlpSettingRequest & WithProviderConfig(ProviderConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String