AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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/eventbridge/EventBridge_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EventBridge {
21namespace Model {
22
31 public:
32 AWS_EVENTBRIDGE_API InputTransformer() = default;
33 AWS_EVENTBRIDGE_API InputTransformer(Aws::Utils::Json::JsonView jsonValue);
34 AWS_EVENTBRIDGE_API InputTransformer& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_EVENTBRIDGE_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
93 inline const Aws::String& GetInputTemplate() const { return m_inputTemplate; }
94 inline bool InputTemplateHasBeenSet() const { return m_inputTemplateHasBeenSet; }
95 template <typename InputTemplateT = Aws::String>
96 void SetInputTemplate(InputTemplateT&& value) {
97 m_inputTemplateHasBeenSet = true;
98 m_inputTemplate = std::forward<InputTemplateT>(value);
99 }
100 template <typename InputTemplateT = Aws::String>
101 InputTransformer& WithInputTemplate(InputTemplateT&& value) {
102 SetInputTemplate(std::forward<InputTemplateT>(value));
103 return *this;
104 }
106 private:
108
109 Aws::String m_inputTemplate;
110 bool m_inputPathsMapHasBeenSet = false;
111 bool m_inputTemplateHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace EventBridge
116} // 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