AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GenerateMappingRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/B2BIRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/b2bi/model/MappingType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace B2BI
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_B2BI_API GenerateMappingRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GenerateMapping"; }
32
33 AWS_B2BI_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetInputFileContent() const { return m_inputFileContent; }
44 inline bool InputFileContentHasBeenSet() const { return m_inputFileContentHasBeenSet; }
45 template<typename InputFileContentT = Aws::String>
46 void SetInputFileContent(InputFileContentT&& value) { m_inputFileContentHasBeenSet = true; m_inputFileContent = std::forward<InputFileContentT>(value); }
47 template<typename InputFileContentT = Aws::String>
48 GenerateMappingRequest& WithInputFileContent(InputFileContentT&& value) { SetInputFileContent(std::forward<InputFileContentT>(value)); return *this;}
50
52
56 inline const Aws::String& GetOutputFileContent() const { return m_outputFileContent; }
57 inline bool OutputFileContentHasBeenSet() const { return m_outputFileContentHasBeenSet; }
58 template<typename OutputFileContentT = Aws::String>
59 void SetOutputFileContent(OutputFileContentT&& value) { m_outputFileContentHasBeenSet = true; m_outputFileContent = std::forward<OutputFileContentT>(value); }
60 template<typename OutputFileContentT = Aws::String>
61 GenerateMappingRequest& WithOutputFileContent(OutputFileContentT&& value) { SetOutputFileContent(std::forward<OutputFileContentT>(value)); return *this;}
63
65
69 inline MappingType GetMappingType() const { return m_mappingType; }
70 inline bool MappingTypeHasBeenSet() const { return m_mappingTypeHasBeenSet; }
71 inline void SetMappingType(MappingType value) { m_mappingTypeHasBeenSet = true; m_mappingType = value; }
72 inline GenerateMappingRequest& WithMappingType(MappingType value) { SetMappingType(value); return *this;}
74 private:
75
76 Aws::String m_inputFileContent;
77 bool m_inputFileContentHasBeenSet = false;
78
79 Aws::String m_outputFileContent;
80 bool m_outputFileContentHasBeenSet = false;
81
82 MappingType m_mappingType{MappingType::NOT_SET};
83 bool m_mappingTypeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace B2BI
88} // 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