AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConversionSource.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/ConversionSourceFormat.h>
9#include <aws/b2bi/model/InputFileSource.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
34 {
35 public:
36 AWS_B2BI_API ConversionSource();
40
41
43
46 inline const ConversionSourceFormat& GetFileFormat() const{ return m_fileFormat; }
47 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
48 inline void SetFileFormat(const ConversionSourceFormat& value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
49 inline void SetFileFormat(ConversionSourceFormat&& value) { m_fileFormatHasBeenSet = true; m_fileFormat = std::move(value); }
50 inline ConversionSource& WithFileFormat(const ConversionSourceFormat& value) { SetFileFormat(value); return *this;}
51 inline ConversionSource& WithFileFormat(ConversionSourceFormat&& value) { SetFileFormat(std::move(value)); return *this;}
53
55
58 inline const InputFileSource& GetInputFile() const{ return m_inputFile; }
59 inline bool InputFileHasBeenSet() const { return m_inputFileHasBeenSet; }
60 inline void SetInputFile(const InputFileSource& value) { m_inputFileHasBeenSet = true; m_inputFile = value; }
61 inline void SetInputFile(InputFileSource&& value) { m_inputFileHasBeenSet = true; m_inputFile = std::move(value); }
62 inline ConversionSource& WithInputFile(const InputFileSource& value) { SetInputFile(value); return *this;}
63 inline ConversionSource& WithInputFile(InputFileSource&& value) { SetInputFile(std::move(value)); return *this;}
65 private:
66
67 ConversionSourceFormat m_fileFormat;
68 bool m_fileFormatHasBeenSet = false;
69
70 InputFileSource m_inputFile;
71 bool m_inputFileHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace B2BI
76} // namespace Aws
const InputFileSource & GetInputFile() const
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputFile(InputFileSource &&value)
ConversionSource & WithFileFormat(const ConversionSourceFormat &value)
ConversionSource & WithInputFile(InputFileSource &&value)
ConversionSource & WithInputFile(const InputFileSource &value)
AWS_B2BI_API ConversionSource(Aws::Utils::Json::JsonView jsonValue)
void SetInputFile(const InputFileSource &value)
void SetFileFormat(ConversionSourceFormat &&value)
ConversionSource & WithFileFormat(ConversionSourceFormat &&value)
void SetFileFormat(const ConversionSourceFormat &value)
AWS_B2BI_API ConversionSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const ConversionSourceFormat & GetFileFormat() const
Aws::Utils::Json::JsonValue JsonValue