AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OutputSource.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/entityresolution/model/OutputAttribute.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace EntityResolution
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_ENTITYRESOLUTION_API OutputSource() = default;
40 AWS_ENTITYRESOLUTION_API OutputSource(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ENTITYRESOLUTION_API OutputSource& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetOutputS3Path() const { return m_outputS3Path; }
50 inline bool OutputS3PathHasBeenSet() const { return m_outputS3PathHasBeenSet; }
51 template<typename OutputS3PathT = Aws::String>
52 void SetOutputS3Path(OutputS3PathT&& value) { m_outputS3PathHasBeenSet = true; m_outputS3Path = std::forward<OutputS3PathT>(value); }
53 template<typename OutputS3PathT = Aws::String>
54 OutputSource& WithOutputS3Path(OutputS3PathT&& value) { SetOutputS3Path(std::forward<OutputS3PathT>(value)); return *this;}
56
58
62 inline const Aws::String& GetKMSArn() const { return m_kMSArn; }
63 inline bool KMSArnHasBeenSet() const { return m_kMSArnHasBeenSet; }
64 template<typename KMSArnT = Aws::String>
65 void SetKMSArn(KMSArnT&& value) { m_kMSArnHasBeenSet = true; m_kMSArn = std::forward<KMSArnT>(value); }
66 template<typename KMSArnT = Aws::String>
67 OutputSource& WithKMSArn(KMSArnT&& value) { SetKMSArn(std::forward<KMSArnT>(value)); return *this;}
69
71
77 inline const Aws::Vector<OutputAttribute>& GetOutput() const { return m_output; }
78 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
79 template<typename OutputT = Aws::Vector<OutputAttribute>>
80 void SetOutput(OutputT&& value) { m_outputHasBeenSet = true; m_output = std::forward<OutputT>(value); }
81 template<typename OutputT = Aws::Vector<OutputAttribute>>
82 OutputSource& WithOutput(OutputT&& value) { SetOutput(std::forward<OutputT>(value)); return *this;}
83 template<typename OutputT = OutputAttribute>
84 OutputSource& AddOutput(OutputT&& value) { m_outputHasBeenSet = true; m_output.emplace_back(std::forward<OutputT>(value)); return *this; }
86
88
95 inline bool GetApplyNormalization() const { return m_applyNormalization; }
96 inline bool ApplyNormalizationHasBeenSet() const { return m_applyNormalizationHasBeenSet; }
97 inline void SetApplyNormalization(bool value) { m_applyNormalizationHasBeenSet = true; m_applyNormalization = value; }
98 inline OutputSource& WithApplyNormalization(bool value) { SetApplyNormalization(value); return *this;}
100 private:
101
102 Aws::String m_outputS3Path;
103 bool m_outputS3PathHasBeenSet = false;
104
105 Aws::String m_kMSArn;
106 bool m_kMSArnHasBeenSet = false;
107
109 bool m_outputHasBeenSet = false;
110
111 bool m_applyNormalization{false};
112 bool m_applyNormalizationHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace EntityResolution
117} // namespace Aws
const Aws::Vector< OutputAttribute > & GetOutput() const
AWS_ENTITYRESOLUTION_API OutputSource(Aws::Utils::Json::JsonView jsonValue)
OutputSource & WithApplyNormalization(bool value)
void SetOutputS3Path(OutputS3PathT &&value)
OutputSource & AddOutput(OutputT &&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)
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