AWS SDK for C++

AWS SDK for C++ Version 1.11.636

Loading...
Searching...
No Matches
ConversionTarget.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/ConversionTargetFormat.h>
9#include <aws/b2bi/model/ConversionTargetFormatDetails.h>
10#include <aws/b2bi/model/OutputSampleFileSource.h>
11#include <aws/b2bi/model/AdvancedOptions.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace B2BI
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_B2BI_API ConversionTarget() = default;
42
43
45
48 inline ConversionTargetFormat GetFileFormat() const { return m_fileFormat; }
49 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
50 inline void SetFileFormat(ConversionTargetFormat value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
53
55
59 inline const ConversionTargetFormatDetails& GetFormatDetails() const { return m_formatDetails; }
60 inline bool FormatDetailsHasBeenSet() const { return m_formatDetailsHasBeenSet; }
61 template<typename FormatDetailsT = ConversionTargetFormatDetails>
62 void SetFormatDetails(FormatDetailsT&& value) { m_formatDetailsHasBeenSet = true; m_formatDetails = std::forward<FormatDetailsT>(value); }
63 template<typename FormatDetailsT = ConversionTargetFormatDetails>
64 ConversionTarget& WithFormatDetails(FormatDetailsT&& value) { SetFormatDetails(std::forward<FormatDetailsT>(value)); return *this;}
66
68
72 inline const OutputSampleFileSource& GetOutputSampleFile() const { return m_outputSampleFile; }
73 inline bool OutputSampleFileHasBeenSet() const { return m_outputSampleFileHasBeenSet; }
74 template<typename OutputSampleFileT = OutputSampleFileSource>
75 void SetOutputSampleFile(OutputSampleFileT&& value) { m_outputSampleFileHasBeenSet = true; m_outputSampleFile = std::forward<OutputSampleFileT>(value); }
76 template<typename OutputSampleFileT = OutputSampleFileSource>
77 ConversionTarget& WithOutputSampleFile(OutputSampleFileT&& value) { SetOutputSampleFile(std::forward<OutputSampleFileT>(value)); return *this;}
79
81
82 inline const AdvancedOptions& GetAdvancedOptions() const { return m_advancedOptions; }
83 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
84 template<typename AdvancedOptionsT = AdvancedOptions>
85 void SetAdvancedOptions(AdvancedOptionsT&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = std::forward<AdvancedOptionsT>(value); }
86 template<typename AdvancedOptionsT = AdvancedOptions>
87 ConversionTarget& WithAdvancedOptions(AdvancedOptionsT&& value) { SetAdvancedOptions(std::forward<AdvancedOptionsT>(value)); return *this;}
89 private:
90
92 bool m_fileFormatHasBeenSet = false;
93
94 ConversionTargetFormatDetails m_formatDetails;
95 bool m_formatDetailsHasBeenSet = false;
96
97 OutputSampleFileSource m_outputSampleFile;
98 bool m_outputSampleFileHasBeenSet = false;
99
100 AdvancedOptions m_advancedOptions;
101 bool m_advancedOptionsHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace B2BI
106} // namespace Aws
AWS_B2BI_API ConversionTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_B2BI_API ConversionTarget(Aws::Utils::Json::JsonView jsonValue)
const ConversionTargetFormatDetails & GetFormatDetails() const
void SetFormatDetails(FormatDetailsT &&value)
const AdvancedOptions & GetAdvancedOptions() const
ConversionTargetFormat GetFileFormat() const
AWS_B2BI_API ConversionTarget()=default
ConversionTarget & WithOutputSampleFile(OutputSampleFileT &&value)
const OutputSampleFileSource & GetOutputSampleFile() const
ConversionTarget & WithFileFormat(ConversionTargetFormat value)
void SetFileFormat(ConversionTargetFormat value)
void SetOutputSampleFile(OutputSampleFileT &&value)
ConversionTarget & WithAdvancedOptions(AdvancedOptionsT &&value)
void SetAdvancedOptions(AdvancedOptionsT &&value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
ConversionTarget & WithFormatDetails(FormatDetailsT &&value)
Aws::Utils::Json::JsonValue JsonValue