AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputConversion.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/FromFormat.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 InputConversion();
41
42
44
48 inline const FromFormat& GetFromFormat() const{ return m_fromFormat; }
49 inline bool FromFormatHasBeenSet() const { return m_fromFormatHasBeenSet; }
50 inline void SetFromFormat(const FromFormat& value) { m_fromFormatHasBeenSet = true; m_fromFormat = value; }
51 inline void SetFromFormat(FromFormat&& value) { m_fromFormatHasBeenSet = true; m_fromFormat = std::move(value); }
52 inline InputConversion& WithFromFormat(const FromFormat& value) { SetFromFormat(value); return *this;}
53 inline InputConversion& WithFromFormat(FromFormat&& value) { SetFromFormat(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 InputConversion& WithFormatOptions(const FormatOptions& value) { SetFormatOptions(value); return *this;}
66 inline InputConversion& WithFormatOptions(FormatOptions&& value) { SetFormatOptions(std::move(value)); return *this;}
68 private:
69
70 FromFormat m_fromFormat;
71 bool m_fromFormatHasBeenSet = false;
72
73 FormatOptions m_formatOptions;
74 bool m_formatOptionsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace B2BI
79} // namespace Aws
const FormatOptions & GetFormatOptions() const
AWS_B2BI_API InputConversion(Aws::Utils::Json::JsonView jsonValue)
InputConversion & WithFromFormat(FromFormat &&value)
InputConversion & WithFormatOptions(const FormatOptions &value)
void SetFormatOptions(FormatOptions &&value)
InputConversion & WithFromFormat(const FromFormat &value)
void SetFromFormat(FromFormat &&value)
AWS_B2BI_API InputConversion & operator=(Aws::Utils::Json::JsonView jsonValue)
InputConversion & WithFormatOptions(FormatOptions &&value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
const FromFormat & GetFromFormat() const
void SetFormatOptions(const FormatOptions &value)
void SetFromFormat(const FromFormat &value)
Aws::Utils::Json::JsonValue JsonValue