AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InputTransformer.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.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 EventBridge
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_EVENTBRIDGE_API InputTransformer() = default;
38 AWS_EVENTBRIDGE_API InputTransformer(Aws::Utils::Json::JsonView jsonValue);
39 AWS_EVENTBRIDGE_API InputTransformer& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
52 inline const Aws::Map<Aws::String, Aws::String>& GetInputPathsMap() const { return m_inputPathsMap; }
53 inline bool InputPathsMapHasBeenSet() const { return m_inputPathsMapHasBeenSet; }
54 template<typename InputPathsMapT = Aws::Map<Aws::String, Aws::String>>
55 void SetInputPathsMap(InputPathsMapT&& value) { m_inputPathsMapHasBeenSet = true; m_inputPathsMap = std::forward<InputPathsMapT>(value); }
56 template<typename InputPathsMapT = Aws::Map<Aws::String, Aws::String>>
57 InputTransformer& WithInputPathsMap(InputPathsMapT&& value) { SetInputPathsMap(std::forward<InputPathsMapT>(value)); return *this;}
58 template<typename InputPathsMapKeyT = Aws::String, typename InputPathsMapValueT = Aws::String>
59 InputTransformer& AddInputPathsMap(InputPathsMapKeyT&& key, InputPathsMapValueT&& value) {
60 m_inputPathsMapHasBeenSet = true; m_inputPathsMap.emplace(std::forward<InputPathsMapKeyT>(key), std::forward<InputPathsMapValueT>(value)); return *this;
61 }
63
65
91 inline const Aws::String& GetInputTemplate() const { return m_inputTemplate; }
92 inline bool InputTemplateHasBeenSet() const { return m_inputTemplateHasBeenSet; }
93 template<typename InputTemplateT = Aws::String>
94 void SetInputTemplate(InputTemplateT&& value) { m_inputTemplateHasBeenSet = true; m_inputTemplate = std::forward<InputTemplateT>(value); }
95 template<typename InputTemplateT = Aws::String>
96 InputTransformer& WithInputTemplate(InputTemplateT&& value) { SetInputTemplate(std::forward<InputTemplateT>(value)); return *this;}
98 private:
99
101 bool m_inputPathsMapHasBeenSet = false;
102
103 Aws::String m_inputTemplate;
104 bool m_inputTemplateHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace EventBridge
109} // namespace Aws
void SetInputPathsMap(InputPathsMapT &&value)
InputTransformer & WithInputPathsMap(InputPathsMapT &&value)
AWS_EVENTBRIDGE_API InputTransformer(Aws::Utils::Json::JsonView jsonValue)
void SetInputTemplate(InputTemplateT &&value)
const Aws::Map< Aws::String, Aws::String > & GetInputPathsMap() const
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
InputTransformer & AddInputPathsMap(InputPathsMapKeyT &&key, InputPathsMapValueT &&value)
AWS_EVENTBRIDGE_API InputTransformer()=default
InputTransformer & WithInputTemplate(InputTemplateT &&value)
const Aws::String & GetInputTemplate() const
AWS_EVENTBRIDGE_API InputTransformer & operator=(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