AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Mapping.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/MappingTemplateLanguage.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace B2BI
23{
24namespace Model
25{
26
33 class Mapping
34 {
35 public:
36 AWS_B2BI_API Mapping();
37 AWS_B2BI_API Mapping(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const MappingTemplateLanguage& GetTemplateLanguage() const{ return m_templateLanguage; }
47 inline bool TemplateLanguageHasBeenSet() const { return m_templateLanguageHasBeenSet; }
48 inline void SetTemplateLanguage(const MappingTemplateLanguage& value) { m_templateLanguageHasBeenSet = true; m_templateLanguage = value; }
49 inline void SetTemplateLanguage(MappingTemplateLanguage&& value) { m_templateLanguageHasBeenSet = true; m_templateLanguage = std::move(value); }
50 inline Mapping& WithTemplateLanguage(const MappingTemplateLanguage& value) { SetTemplateLanguage(value); return *this;}
51 inline Mapping& WithTemplateLanguage(MappingTemplateLanguage&& value) { SetTemplateLanguage(std::move(value)); return *this;}
53
55
59 inline const Aws::String& GetTemplate() const{ return m_template; }
60 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
61 inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
62 inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
63 inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
64 inline Mapping& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
65 inline Mapping& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
66 inline Mapping& WithTemplate(const char* value) { SetTemplate(value); return *this;}
68 private:
69
70 MappingTemplateLanguage m_templateLanguage;
71 bool m_templateLanguageHasBeenSet = false;
72
73 Aws::String m_template;
74 bool m_templateHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace B2BI
79} // namespace Aws
void SetTemplateLanguage(const MappingTemplateLanguage &value)
Definition Mapping.h:48
Mapping & WithTemplate(Aws::String &&value)
Definition Mapping.h:65
const MappingTemplateLanguage & GetTemplateLanguage() const
Definition Mapping.h:46
bool TemplateLanguageHasBeenSet() const
Definition Mapping.h:47
AWS_B2BI_API Mapping(Aws::Utils::Json::JsonView jsonValue)
void SetTemplate(const Aws::String &value)
Definition Mapping.h:61
AWS_B2BI_API Mapping & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TemplateHasBeenSet() const
Definition Mapping.h:60
Mapping & WithTemplate(const char *value)
Definition Mapping.h:66
void SetTemplateLanguage(MappingTemplateLanguage &&value)
Definition Mapping.h:49
Mapping & WithTemplate(const Aws::String &value)
Definition Mapping.h:64
void SetTemplate(const char *value)
Definition Mapping.h:63
Mapping & WithTemplateLanguage(const MappingTemplateLanguage &value)
Definition Mapping.h:50
Mapping & WithTemplateLanguage(MappingTemplateLanguage &&value)
Definition Mapping.h:51
void SetTemplate(Aws::String &&value)
Definition Mapping.h:62
const Aws::String & GetTemplate() const
Definition Mapping.h:59
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue