AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace B2BI
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_B2BI_API OutputConversion() = default;
41
42
44
48 inline ToFormat GetToFormat() const { return m_toFormat; }
49 inline bool ToFormatHasBeenSet() const { return m_toFormatHasBeenSet; }
50 inline void SetToFormat(ToFormat value) { m_toFormatHasBeenSet = true; m_toFormat = value; }
51 inline OutputConversion& WithToFormat(ToFormat value) { SetToFormat(value); return *this;}
53
55
59 inline const FormatOptions& GetFormatOptions() const { return m_formatOptions; }
60 inline bool FormatOptionsHasBeenSet() const { return m_formatOptionsHasBeenSet; }
61 template<typename FormatOptionsT = FormatOptions>
62 void SetFormatOptions(FormatOptionsT&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::forward<FormatOptionsT>(value); }
63 template<typename FormatOptionsT = FormatOptions>
64 OutputConversion& WithFormatOptions(FormatOptionsT&& value) { SetFormatOptions(std::forward<FormatOptionsT>(value)); return *this;}
66 private:
67
68 ToFormat m_toFormat{ToFormat::NOT_SET};
69 bool m_toFormatHasBeenSet = false;
70
71 FormatOptions m_formatOptions;
72 bool m_formatOptionsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace B2BI
77} // 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
AWS_B2BI_API OutputConversion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFormatOptions(FormatOptionsT &&value)
AWS_B2BI_API OutputConversion()=default
Aws::Utils::Json::JsonValue JsonValue