AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TestConversionRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/B2BIRequest.h>
9#include <aws/b2bi/model/ConversionSource.h>
10#include <aws/b2bi/model/ConversionTarget.h>
11#include <utility>
12
13namespace Aws
14{
15namespace B2BI
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_B2BI_API TestConversionRequest();
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 "TestConversion"; }
32
33 AWS_B2BI_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const ConversionSource& GetSource() const{ return m_source; }
43 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
44 inline void SetSource(const ConversionSource& value) { m_sourceHasBeenSet = true; m_source = value; }
45 inline void SetSource(ConversionSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
46 inline TestConversionRequest& WithSource(const ConversionSource& value) { SetSource(value); return *this;}
47 inline TestConversionRequest& WithSource(ConversionSource&& value) { SetSource(std::move(value)); return *this;}
49
51
55 inline const ConversionTarget& GetTarget() const{ return m_target; }
56 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
57 inline void SetTarget(const ConversionTarget& value) { m_targetHasBeenSet = true; m_target = value; }
58 inline void SetTarget(ConversionTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
59 inline TestConversionRequest& WithTarget(const ConversionTarget& value) { SetTarget(value); return *this;}
60 inline TestConversionRequest& WithTarget(ConversionTarget&& value) { SetTarget(std::move(value)); return *this;}
62 private:
63
64 ConversionSource m_source;
65 bool m_sourceHasBeenSet = false;
66
67 ConversionTarget m_target;
68 bool m_targetHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace B2BI
73} // namespace Aws
void SetTarget(ConversionTarget &&value)
const ConversionSource & GetSource() const
void SetSource(const ConversionSource &value)
const ConversionTarget & GetTarget() const
AWS_B2BI_API Aws::String SerializePayload() const override
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTarget(const ConversionTarget &value)
TestConversionRequest & WithTarget(ConversionTarget &&value)
virtual const char * GetServiceRequestName() const override
TestConversionRequest & WithSource(ConversionSource &&value)
TestConversionRequest & WithTarget(const ConversionTarget &value)
void SetSource(ConversionSource &&value)
TestConversionRequest & WithSource(const ConversionSource &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String