AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GenerateMappingRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BIRequest.h>
8#include <aws/b2bi/B2BI_EXPORTS.h>
9#include <aws/b2bi/model/MappingType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace B2BI {
16namespace Model {
17
21 public:
22 AWS_B2BI_API GenerateMappingRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GenerateMapping"; }
29
30 AWS_B2BI_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetInputFileContent() const { return m_inputFileContent; }
40 inline bool InputFileContentHasBeenSet() const { return m_inputFileContentHasBeenSet; }
41 template <typename InputFileContentT = Aws::String>
42 void SetInputFileContent(InputFileContentT&& value) {
43 m_inputFileContentHasBeenSet = true;
44 m_inputFileContent = std::forward<InputFileContentT>(value);
45 }
46 template <typename InputFileContentT = Aws::String>
47 GenerateMappingRequest& WithInputFileContent(InputFileContentT&& value) {
48 SetInputFileContent(std::forward<InputFileContentT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetOutputFileContent() const { return m_outputFileContent; }
59 inline bool OutputFileContentHasBeenSet() const { return m_outputFileContentHasBeenSet; }
60 template <typename OutputFileContentT = Aws::String>
61 void SetOutputFileContent(OutputFileContentT&& value) {
62 m_outputFileContentHasBeenSet = true;
63 m_outputFileContent = std::forward<OutputFileContentT>(value);
64 }
65 template <typename OutputFileContentT = Aws::String>
66 GenerateMappingRequest& WithOutputFileContent(OutputFileContentT&& value) {
67 SetOutputFileContent(std::forward<OutputFileContentT>(value));
68 return *this;
69 }
71
73
77 inline MappingType GetMappingType() const { return m_mappingType; }
78 inline bool MappingTypeHasBeenSet() const { return m_mappingTypeHasBeenSet; }
79 inline void SetMappingType(MappingType value) {
80 m_mappingTypeHasBeenSet = true;
81 m_mappingType = value;
82 }
84 SetMappingType(value);
85 return *this;
86 }
88 private:
89 Aws::String m_inputFileContent;
90
91 Aws::String m_outputFileContent;
92
93 MappingType m_mappingType{MappingType::NOT_SET};
94 bool m_inputFileContentHasBeenSet = false;
95 bool m_outputFileContentHasBeenSet = false;
96 bool m_mappingTypeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace B2BI
101} // namespace Aws
AWS_B2BI_API GenerateMappingRequest()=default
void SetInputFileContent(InputFileContentT &&value)
virtual const char * GetServiceRequestName() const override
AWS_B2BI_API Aws::String SerializePayload() const override
GenerateMappingRequest & WithInputFileContent(InputFileContentT &&value)
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GenerateMappingRequest & WithOutputFileContent(OutputFileContentT &&value)
void SetOutputFileContent(OutputFileContentT &&value)
GenerateMappingRequest & WithMappingType(MappingType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String