AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
48 inline const ToFormat& GetToFormat() const{ return m_toFormat; }
49 inline bool ToFormatHasBeenSet() const { return m_toFormatHasBeenSet; }
50 inline void SetToFormat(const ToFormat& value) { m_toFormatHasBeenSet = true; m_toFormat = value; }
51 inline void SetToFormat(ToFormat&& value) { m_toFormatHasBeenSet = true; m_toFormat = std::move(value); }
52 inline OutputConversion& WithToFormat(const ToFormat& value) { SetToFormat(value); return *this;}
53 inline OutputConversion& WithToFormat(ToFormat&& value) { SetToFormat(std::move(value)); return *this;}
55
57
61 inline const FormatOptions& GetFormatOptions() const{ return m_formatOptions; }
62 inline bool FormatOptionsHasBeenSet() const { return m_formatOptionsHasBeenSet; }
63 inline void SetFormatOptions(const FormatOptions& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = value; }
64 inline void SetFormatOptions(FormatOptions&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::move(value); }
65 inline OutputConversion& WithFormatOptions(const FormatOptions& value) { SetFormatOptions(value); return *this;}
66 inline OutputConversion& WithFormatOptions(FormatOptions&& value) { SetFormatOptions(std::move(value)); return *this;}
68 private:
69
70 ToFormat m_toFormat;
71 bool m_toFormatHasBeenSet = false;
72
73 FormatOptions m_formatOptions;
74 bool m_formatOptionsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace B2BI
79} // namespace Aws
void SetToFormat(const ToFormat &value)
void SetFormatOptions(FormatOptions &&value)
const FormatOptions & GetFormatOptions() const
AWS_B2BI_API OutputConversion(Aws::Utils::Json::JsonView jsonValue)
const ToFormat & GetToFormat() const
OutputConversion & WithFormatOptions(const FormatOptions &value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_B2BI_API OutputConversion & operator=(Aws::Utils::Json::JsonView jsonValue)
OutputConversion & WithToFormat(const ToFormat &value)
OutputConversion & WithToFormat(ToFormat &&value)
OutputConversion & WithFormatOptions(FormatOptions &&value)
void SetFormatOptions(const FormatOptions &value)
Aws::Utils::Json::JsonValue JsonValue