AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
MicrosoftPurviewProviderConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/DlpAction.h>
10#include <aws/quicksight/model/LabelActionMapping.h>
11#include <aws/quicksight/model/MicrosoftPurviewCredentials.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
33 public:
34 AWS_QUICKSIGHT_API MicrosoftPurviewProviderConfig() = default;
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const MicrosoftPurviewCredentials& GetCredentials() const { return m_credentials; }
44 inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; }
45 template <typename CredentialsT = MicrosoftPurviewCredentials>
46 void SetCredentials(CredentialsT&& value) {
47 m_credentialsHasBeenSet = true;
48 m_credentials = std::forward<CredentialsT>(value);
49 }
50 template <typename CredentialsT = MicrosoftPurviewCredentials>
52 SetCredentials(std::forward<CredentialsT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::Vector<LabelActionMapping>& GetLabelActionMappings() const { return m_labelActionMappings; }
63 inline bool LabelActionMappingsHasBeenSet() const { return m_labelActionMappingsHasBeenSet; }
64 template <typename LabelActionMappingsT = Aws::Vector<LabelActionMapping>>
65 void SetLabelActionMappings(LabelActionMappingsT&& value) {
66 m_labelActionMappingsHasBeenSet = true;
67 m_labelActionMappings = std::forward<LabelActionMappingsT>(value);
68 }
69 template <typename LabelActionMappingsT = Aws::Vector<LabelActionMapping>>
71 SetLabelActionMappings(std::forward<LabelActionMappingsT>(value));
72 return *this;
73 }
74 template <typename LabelActionMappingsT = LabelActionMapping>
76 m_labelActionMappingsHasBeenSet = true;
77 m_labelActionMappings.emplace_back(std::forward<LabelActionMappingsT>(value));
78 return *this;
79 }
81
83
88 inline DlpAction GetUnmappedAction() const { return m_unmappedAction; }
89 inline bool UnmappedActionHasBeenSet() const { return m_unmappedActionHasBeenSet; }
90 inline void SetUnmappedAction(DlpAction value) {
91 m_unmappedActionHasBeenSet = true;
92 m_unmappedAction = value;
93 }
95 SetUnmappedAction(value);
96 return *this;
97 }
99 private:
100 MicrosoftPurviewCredentials m_credentials;
101
102 Aws::Vector<LabelActionMapping> m_labelActionMappings;
103
104 DlpAction m_unmappedAction{DlpAction::NOT_SET};
105 bool m_credentialsHasBeenSet = false;
106 bool m_labelActionMappingsHasBeenSet = false;
107 bool m_unmappedActionHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace QuickSight
112} // namespace Aws
AWS_QUICKSIGHT_API MicrosoftPurviewProviderConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
MicrosoftPurviewProviderConfig & WithLabelActionMappings(LabelActionMappingsT &&value)
MicrosoftPurviewProviderConfig & AddLabelActionMappings(LabelActionMappingsT &&value)
MicrosoftPurviewProviderConfig & WithCredentials(CredentialsT &&value)
MicrosoftPurviewProviderConfig & WithUnmappedAction(DlpAction value)
AWS_QUICKSIGHT_API MicrosoftPurviewProviderConfig()=default
AWS_QUICKSIGHT_API MicrosoftPurviewProviderConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< LabelActionMapping > & GetLabelActionMappings() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue