AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInputPathsMap(const Aws::Map<Aws::String, Aws::String>& value) { m_inputPathsMapHasBeenSet = true; m_inputPathsMap = value; }
55 inline void SetInputPathsMap(Aws::Map<Aws::String, Aws::String>&& value) { m_inputPathsMapHasBeenSet = true; m_inputPathsMap = std::move(value); }
58 inline InputTransformer& AddInputPathsMap(const Aws::String& key, const Aws::String& value) { m_inputPathsMapHasBeenSet = true; m_inputPathsMap.emplace(key, value); return *this; }
59 inline InputTransformer& AddInputPathsMap(Aws::String&& key, const Aws::String& value) { m_inputPathsMapHasBeenSet = true; m_inputPathsMap.emplace(std::move(key), value); return *this; }
60 inline InputTransformer& AddInputPathsMap(const Aws::String& key, Aws::String&& value) { m_inputPathsMapHasBeenSet = true; m_inputPathsMap.emplace(key, std::move(value)); return *this; }
61 inline InputTransformer& AddInputPathsMap(Aws::String&& key, Aws::String&& value) { m_inputPathsMapHasBeenSet = true; m_inputPathsMap.emplace(std::move(key), std::move(value)); return *this; }
62 inline InputTransformer& AddInputPathsMap(const char* key, Aws::String&& value) { m_inputPathsMapHasBeenSet = true; m_inputPathsMap.emplace(key, std::move(value)); return *this; }
63 inline InputTransformer& AddInputPathsMap(Aws::String&& key, const char* value) { m_inputPathsMapHasBeenSet = true; m_inputPathsMap.emplace(std::move(key), value); return *this; }
64 inline InputTransformer& AddInputPathsMap(const char* key, const char* value) { m_inputPathsMapHasBeenSet = true; m_inputPathsMap.emplace(key, value); return *this; }
66
68
94 inline const Aws::String& GetInputTemplate() const{ return m_inputTemplate; }
95 inline bool InputTemplateHasBeenSet() const { return m_inputTemplateHasBeenSet; }
96 inline void SetInputTemplate(const Aws::String& value) { m_inputTemplateHasBeenSet = true; m_inputTemplate = value; }
97 inline void SetInputTemplate(Aws::String&& value) { m_inputTemplateHasBeenSet = true; m_inputTemplate = std::move(value); }
98 inline void SetInputTemplate(const char* value) { m_inputTemplateHasBeenSet = true; m_inputTemplate.assign(value); }
99 inline InputTransformer& WithInputTemplate(const Aws::String& value) { SetInputTemplate(value); return *this;}
100 inline InputTransformer& WithInputTemplate(Aws::String&& value) { SetInputTemplate(std::move(value)); return *this;}
101 inline InputTransformer& WithInputTemplate(const char* value) { SetInputTemplate(value); return *this;}
103 private:
104
106 bool m_inputPathsMapHasBeenSet = false;
107
108 Aws::String m_inputTemplate;
109 bool m_inputTemplateHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace EventBridge
114} // namespace Aws
void SetInputTemplate(const Aws::String &value)
InputTransformer & WithInputTemplate(const Aws::String &value)
InputTransformer & WithInputPathsMap(Aws::Map< Aws::String, Aws::String > &&value)
InputTransformer & WithInputTemplate(Aws::String &&value)
InputTransformer & WithInputPathsMap(const Aws::Map< Aws::String, Aws::String > &value)
AWS_EVENTBRIDGE_API InputTransformer(Aws::Utils::Json::JsonView jsonValue)
InputTransformer & AddInputPathsMap(const char *key, Aws::String &&value)
void SetInputPathsMap(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetInputPathsMap() const
InputTransformer & AddInputPathsMap(const Aws::String &key, const Aws::String &value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
InputTransformer & WithInputTemplate(const char *value)
InputTransformer & AddInputPathsMap(const Aws::String &key, Aws::String &&value)
InputTransformer & AddInputPathsMap(Aws::String &&key, const char *value)
InputTransformer & AddInputPathsMap(Aws::String &&key, Aws::String &&value)
const Aws::String & GetInputTemplate() const
InputTransformer & AddInputPathsMap(Aws::String &&key, const Aws::String &value)
AWS_EVENTBRIDGE_API InputTransformer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInputPathsMap(Aws::Map< Aws::String, Aws::String > &&value)
InputTransformer & AddInputPathsMap(const char *key, const char *value)
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