AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateStarterMappingTemplateRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/B2BIRequest.h>
9#include <aws/b2bi/model/S3Location.h>
10#include <aws/b2bi/model/MappingType.h>
11#include <aws/b2bi/model/TemplateDetails.h>
12#include <utility>
13
14namespace Aws
15{
16namespace B2BI
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_B2BI_API CreateStarterMappingTemplateRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateStarterMappingTemplate"; }
33
34 AWS_B2BI_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const S3Location& GetOutputSampleLocation() const { return m_outputSampleLocation; }
45 inline bool OutputSampleLocationHasBeenSet() const { return m_outputSampleLocationHasBeenSet; }
46 template<typename OutputSampleLocationT = S3Location>
47 void SetOutputSampleLocation(OutputSampleLocationT&& value) { m_outputSampleLocationHasBeenSet = true; m_outputSampleLocation = std::forward<OutputSampleLocationT>(value); }
48 template<typename OutputSampleLocationT = S3Location>
49 CreateStarterMappingTemplateRequest& WithOutputSampleLocation(OutputSampleLocationT&& value) { SetOutputSampleLocation(std::forward<OutputSampleLocationT>(value)); return *this;}
51
53
56 inline MappingType GetMappingType() const { return m_mappingType; }
57 inline bool MappingTypeHasBeenSet() const { return m_mappingTypeHasBeenSet; }
58 inline void SetMappingType(MappingType value) { m_mappingTypeHasBeenSet = true; m_mappingType = value; }
61
63
68 inline const TemplateDetails& GetTemplateDetails() const { return m_templateDetails; }
69 inline bool TemplateDetailsHasBeenSet() const { return m_templateDetailsHasBeenSet; }
70 template<typename TemplateDetailsT = TemplateDetails>
71 void SetTemplateDetails(TemplateDetailsT&& value) { m_templateDetailsHasBeenSet = true; m_templateDetails = std::forward<TemplateDetailsT>(value); }
72 template<typename TemplateDetailsT = TemplateDetails>
73 CreateStarterMappingTemplateRequest& WithTemplateDetails(TemplateDetailsT&& value) { SetTemplateDetails(std::forward<TemplateDetailsT>(value)); return *this;}
75 private:
76
77 S3Location m_outputSampleLocation;
78 bool m_outputSampleLocationHasBeenSet = false;
79
80 MappingType m_mappingType{MappingType::NOT_SET};
81 bool m_mappingTypeHasBeenSet = false;
82
83 TemplateDetails m_templateDetails;
84 bool m_templateDetailsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace B2BI
89} // namespace Aws
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStarterMappingTemplateRequest & WithOutputSampleLocation(OutputSampleLocationT &&value)
AWS_B2BI_API Aws::String SerializePayload() const override
CreateStarterMappingTemplateRequest & WithTemplateDetails(TemplateDetailsT &&value)
CreateStarterMappingTemplateRequest & WithMappingType(MappingType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String