AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ConversionTarget.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/AdvancedOptions.h>
9#include <aws/b2bi/model/ConversionTargetFormat.h>
10#include <aws/b2bi/model/ConversionTargetFormatDetails.h>
11#include <aws/b2bi/model/OutputSampleFileSource.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace B2BI {
23namespace Model {
24
32 public:
33 AWS_B2BI_API ConversionTarget() = default;
37
39
42 inline ConversionTargetFormat GetFileFormat() const { return m_fileFormat; }
43 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
45 m_fileFormatHasBeenSet = true;
46 m_fileFormat = value;
47 }
49 SetFileFormat(value);
50 return *this;
51 }
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) {
63 m_formatDetailsHasBeenSet = true;
64 m_formatDetails = std::forward<FormatDetailsT>(value);
65 }
66 template <typename FormatDetailsT = ConversionTargetFormatDetails>
67 ConversionTarget& WithFormatDetails(FormatDetailsT&& value) {
68 SetFormatDetails(std::forward<FormatDetailsT>(value));
69 return *this;
70 }
72
74
78 inline const OutputSampleFileSource& GetOutputSampleFile() const { return m_outputSampleFile; }
79 inline bool OutputSampleFileHasBeenSet() const { return m_outputSampleFileHasBeenSet; }
80 template <typename OutputSampleFileT = OutputSampleFileSource>
81 void SetOutputSampleFile(OutputSampleFileT&& value) {
82 m_outputSampleFileHasBeenSet = true;
83 m_outputSampleFile = std::forward<OutputSampleFileT>(value);
84 }
85 template <typename OutputSampleFileT = OutputSampleFileSource>
86 ConversionTarget& WithOutputSampleFile(OutputSampleFileT&& value) {
87 SetOutputSampleFile(std::forward<OutputSampleFileT>(value));
88 return *this;
89 }
91
93
94 inline const AdvancedOptions& GetAdvancedOptions() const { return m_advancedOptions; }
95 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
96 template <typename AdvancedOptionsT = AdvancedOptions>
97 void SetAdvancedOptions(AdvancedOptionsT&& value) {
98 m_advancedOptionsHasBeenSet = true;
99 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
100 }
101 template <typename AdvancedOptionsT = AdvancedOptions>
102 ConversionTarget& WithAdvancedOptions(AdvancedOptionsT&& value) {
103 SetAdvancedOptions(std::forward<AdvancedOptionsT>(value));
104 return *this;
105 }
107 private:
109
110 ConversionTargetFormatDetails m_formatDetails;
111
112 OutputSampleFileSource m_outputSampleFile;
113
114 AdvancedOptions m_advancedOptions;
115 bool m_fileFormatHasBeenSet = false;
116 bool m_formatDetailsHasBeenSet = false;
117 bool m_outputSampleFileHasBeenSet = false;
118 bool m_advancedOptionsHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace B2BI
123} // 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