AWS SDK for C++

AWS SDK for C++ Version 1.11.636

Loading...
Searching...
No Matches
OutputConversion.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/ToFormat.h>
9#include <aws/b2bi/model/FormatOptions.h>
10#include <aws/b2bi/model/AdvancedOptions.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 B2BI
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_B2BI_API OutputConversion() = default;
42
43
45
49 inline ToFormat GetToFormat() const { return m_toFormat; }
50 inline bool ToFormatHasBeenSet() const { return m_toFormatHasBeenSet; }
51 inline void SetToFormat(ToFormat value) { m_toFormatHasBeenSet = true; m_toFormat = value; }
52 inline OutputConversion& WithToFormat(ToFormat value) { SetToFormat(value); return *this;}
54
56
60 inline const FormatOptions& GetFormatOptions() const { return m_formatOptions; }
61 inline bool FormatOptionsHasBeenSet() const { return m_formatOptionsHasBeenSet; }
62 template<typename FormatOptionsT = FormatOptions>
63 void SetFormatOptions(FormatOptionsT&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::forward<FormatOptionsT>(value); }
64 template<typename FormatOptionsT = FormatOptions>
65 OutputConversion& WithFormatOptions(FormatOptionsT&& value) { SetFormatOptions(std::forward<FormatOptionsT>(value)); return *this;}
67
69
70 inline const AdvancedOptions& GetAdvancedOptions() const { return m_advancedOptions; }
71 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
72 template<typename AdvancedOptionsT = AdvancedOptions>
73 void SetAdvancedOptions(AdvancedOptionsT&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = std::forward<AdvancedOptionsT>(value); }
74 template<typename AdvancedOptionsT = AdvancedOptions>
75 OutputConversion& WithAdvancedOptions(AdvancedOptionsT&& value) { SetAdvancedOptions(std::forward<AdvancedOptionsT>(value)); return *this;}
77 private:
78
79 ToFormat m_toFormat{ToFormat::NOT_SET};
80 bool m_toFormatHasBeenSet = false;
81
82 FormatOptions m_formatOptions;
83 bool m_formatOptionsHasBeenSet = false;
84
85 AdvancedOptions m_advancedOptions;
86 bool m_advancedOptionsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace B2BI
91} // namespace Aws
const FormatOptions & GetFormatOptions() const
AWS_B2BI_API OutputConversion(Aws::Utils::Json::JsonView jsonValue)
OutputConversion & WithToFormat(ToFormat value)
OutputConversion & WithFormatOptions(FormatOptionsT &&value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAdvancedOptions(AdvancedOptionsT &&value)
const AdvancedOptions & GetAdvancedOptions() const
AWS_B2BI_API OutputConversion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFormatOptions(FormatOptionsT &&value)
AWS_B2BI_API OutputConversion()=default
OutputConversion & WithAdvancedOptions(AdvancedOptionsT &&value)
Aws::Utils::Json::JsonValue JsonValue