AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
OutputSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/entityresolution/EntityResolution_EXPORTS.h>
10#include <aws/entityresolution/model/CustomerProfilesIntegrationConfig.h>
11#include <aws/entityresolution/model/OutputAttribute.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EntityResolution {
23namespace Model {
24
34 public:
35 AWS_ENTITYRESOLUTION_API OutputSource() = default;
36 AWS_ENTITYRESOLUTION_API OutputSource(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ENTITYRESOLUTION_API OutputSource& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::String& GetKMSArn() const { return m_kMSArn; }
46 inline bool KMSArnHasBeenSet() const { return m_kMSArnHasBeenSet; }
47 template <typename KMSArnT = Aws::String>
48 void SetKMSArn(KMSArnT&& value) {
49 m_kMSArnHasBeenSet = true;
50 m_kMSArn = std::forward<KMSArnT>(value);
51 }
52 template <typename KMSArnT = Aws::String>
53 OutputSource& WithKMSArn(KMSArnT&& value) {
54 SetKMSArn(std::forward<KMSArnT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetOutputS3Path() const { return m_outputS3Path; }
64 inline bool OutputS3PathHasBeenSet() const { return m_outputS3PathHasBeenSet; }
65 template <typename OutputS3PathT = Aws::String>
66 void SetOutputS3Path(OutputS3PathT&& value) {
67 m_outputS3PathHasBeenSet = true;
68 m_outputS3Path = std::forward<OutputS3PathT>(value);
69 }
70 template <typename OutputS3PathT = Aws::String>
71 OutputSource& WithOutputS3Path(OutputS3PathT&& value) {
72 SetOutputS3Path(std::forward<OutputS3PathT>(value));
73 return *this;
74 }
76
78
84 inline const Aws::Vector<OutputAttribute>& GetOutput() const { return m_output; }
85 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
86 template <typename OutputT = Aws::Vector<OutputAttribute>>
87 void SetOutput(OutputT&& value) {
88 m_outputHasBeenSet = true;
89 m_output = std::forward<OutputT>(value);
90 }
91 template <typename OutputT = Aws::Vector<OutputAttribute>>
92 OutputSource& WithOutput(OutputT&& value) {
93 SetOutput(std::forward<OutputT>(value));
94 return *this;
95 }
96 template <typename OutputT = OutputAttribute>
97 OutputSource& AddOutput(OutputT&& value) {
98 m_outputHasBeenSet = true;
99 m_output.emplace_back(std::forward<OutputT>(value));
100 return *this;
101 }
103
105
112 inline bool GetApplyNormalization() const { return m_applyNormalization; }
113 inline bool ApplyNormalizationHasBeenSet() const { return m_applyNormalizationHasBeenSet; }
114 inline void SetApplyNormalization(bool value) {
115 m_applyNormalizationHasBeenSet = true;
116 m_applyNormalization = value;
117 }
120 return *this;
121 }
123
125
132 return m_customerProfilesIntegrationConfig;
133 }
134 inline bool CustomerProfilesIntegrationConfigHasBeenSet() const { return m_customerProfilesIntegrationConfigHasBeenSet; }
135 template <typename CustomerProfilesIntegrationConfigT = CustomerProfilesIntegrationConfig>
136 void SetCustomerProfilesIntegrationConfig(CustomerProfilesIntegrationConfigT&& value) {
137 m_customerProfilesIntegrationConfigHasBeenSet = true;
138 m_customerProfilesIntegrationConfig = std::forward<CustomerProfilesIntegrationConfigT>(value);
139 }
140 template <typename CustomerProfilesIntegrationConfigT = CustomerProfilesIntegrationConfig>
141 OutputSource& WithCustomerProfilesIntegrationConfig(CustomerProfilesIntegrationConfigT&& value) {
142 SetCustomerProfilesIntegrationConfig(std::forward<CustomerProfilesIntegrationConfigT>(value));
143 return *this;
144 }
146 private:
147 Aws::String m_kMSArn;
148
149 Aws::String m_outputS3Path;
150
152
153 bool m_applyNormalization{false};
154
155 CustomerProfilesIntegrationConfig m_customerProfilesIntegrationConfig;
156 bool m_kMSArnHasBeenSet = false;
157 bool m_outputS3PathHasBeenSet = false;
158 bool m_outputHasBeenSet = false;
159 bool m_applyNormalizationHasBeenSet = false;
160 bool m_customerProfilesIntegrationConfigHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace EntityResolution
165} // namespace Aws
const Aws::Vector< OutputAttribute > & GetOutput() const
AWS_ENTITYRESOLUTION_API OutputSource(Aws::Utils::Json::JsonView jsonValue)
const CustomerProfilesIntegrationConfig & GetCustomerProfilesIntegrationConfig() const
OutputSource & WithApplyNormalization(bool value)
void SetOutputS3Path(OutputS3PathT &&value)
OutputSource & AddOutput(OutputT &&value)
void SetCustomerProfilesIntegrationConfig(CustomerProfilesIntegrationConfigT &&value)
OutputSource & WithKMSArn(KMSArnT &&value)
OutputSource & WithOutput(OutputT &&value)
AWS_ENTITYRESOLUTION_API OutputSource()=default
const Aws::String & GetOutputS3Path() const
AWS_ENTITYRESOLUTION_API OutputSource & operator=(Aws::Utils::Json::JsonView jsonValue)
OutputSource & WithOutputS3Path(OutputS3PathT &&value)
OutputSource & WithCustomerProfilesIntegrationConfig(CustomerProfilesIntegrationConfigT &&value)
const Aws::String & GetKMSArn() const
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue