AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
InputTransformer.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/CloudWatchEvents_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CloudWatchEvents {
21namespace Model {
22
31 public:
32 AWS_CLOUDWATCHEVENTS_API InputTransformer() = default;
33 AWS_CLOUDWATCHEVENTS_API InputTransformer(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CLOUDWATCHEVENTS_API InputTransformer& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
46 inline const Aws::Map<Aws::String, Aws::String>& GetInputPathsMap() const { return m_inputPathsMap; }
47 inline bool InputPathsMapHasBeenSet() const { return m_inputPathsMapHasBeenSet; }
48 template <typename InputPathsMapT = Aws::Map<Aws::String, Aws::String>>
49 void SetInputPathsMap(InputPathsMapT&& value) {
50 m_inputPathsMapHasBeenSet = true;
51 m_inputPathsMap = std::forward<InputPathsMapT>(value);
52 }
53 template <typename InputPathsMapT = Aws::Map<Aws::String, Aws::String>>
54 InputTransformer& WithInputPathsMap(InputPathsMapT&& value) {
55 SetInputPathsMap(std::forward<InputPathsMapT>(value));
56 return *this;
57 }
58 template <typename InputPathsMapKeyT = Aws::String, typename InputPathsMapValueT = Aws::String>
59 InputTransformer& AddInputPathsMap(InputPathsMapKeyT&& key, InputPathsMapValueT&& value) {
60 m_inputPathsMapHasBeenSet = true;
61 m_inputPathsMap.emplace(std::forward<InputPathsMapKeyT>(key), std::forward<InputPathsMapValueT>(value));
62 return *this;
63 }
65
67
94 inline const Aws::String& GetInputTemplate() const { return m_inputTemplate; }
95 inline bool InputTemplateHasBeenSet() const { return m_inputTemplateHasBeenSet; }
96 template <typename InputTemplateT = Aws::String>
97 void SetInputTemplate(InputTemplateT&& value) {
98 m_inputTemplateHasBeenSet = true;
99 m_inputTemplate = std::forward<InputTemplateT>(value);
100 }
101 template <typename InputTemplateT = Aws::String>
102 InputTransformer& WithInputTemplate(InputTemplateT&& value) {
103 SetInputTemplate(std::forward<InputTemplateT>(value));
104 return *this;
105 }
107 private:
109
110 Aws::String m_inputTemplate;
111 bool m_inputPathsMapHasBeenSet = false;
112 bool m_inputTemplateHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace CloudWatchEvents
117} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetInputPathsMap() const
InputTransformer & WithInputTemplate(InputTemplateT &&value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHEVENTS_API InputTransformer & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVENTS_API InputTransformer()=default
InputTransformer & WithInputPathsMap(InputPathsMapT &&value)
InputTransformer & AddInputPathsMap(InputPathsMapKeyT &&key, InputPathsMapValueT &&value)
AWS_CLOUDWATCHEVENTS_API InputTransformer(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue