AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
TestConversionRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BIRequest.h>
8#include <aws/b2bi/B2BI_EXPORTS.h>
9#include <aws/b2bi/model/ConversionSource.h>
10#include <aws/b2bi/model/ConversionTarget.h>
11
12#include <utility>
13
14namespace Aws {
15namespace B2BI {
16namespace Model {
17
21 public:
22 AWS_B2BI_API TestConversionRequest() = 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 "TestConversion"; }
29
30 AWS_B2BI_API Aws::String SerializePayload() const override;
31
33
35
38 inline const ConversionSource& GetSource() const { return m_source; }
39 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
40 template <typename SourceT = ConversionSource>
41 void SetSource(SourceT&& value) {
42 m_sourceHasBeenSet = true;
43 m_source = std::forward<SourceT>(value);
44 }
45 template <typename SourceT = ConversionSource>
47 SetSource(std::forward<SourceT>(value));
48 return *this;
49 }
51
53
57 inline const ConversionTarget& GetTarget() const { return m_target; }
58 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
59 template <typename TargetT = ConversionTarget>
60 void SetTarget(TargetT&& value) {
61 m_targetHasBeenSet = true;
62 m_target = std::forward<TargetT>(value);
63 }
64 template <typename TargetT = ConversionTarget>
66 SetTarget(std::forward<TargetT>(value));
67 return *this;
68 }
70 private:
71 ConversionSource m_source;
72
73 ConversionTarget m_target;
74 bool m_sourceHasBeenSet = false;
75 bool m_targetHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace B2BI
80} // namespace Aws
const ConversionSource & GetSource() const
TestConversionRequest & WithSource(SourceT &&value)
const ConversionTarget & GetTarget() const
AWS_B2BI_API Aws::String SerializePayload() const override
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_B2BI_API TestConversionRequest()=default
virtual const char * GetServiceRequestName() const override
TestConversionRequest & WithTarget(TargetT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String