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/events/CloudWatchEvents_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 CloudWatchEvents
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CLOUDWATCHEVENTS_API InputTransformer();
38 AWS_CLOUDWATCHEVENTS_API InputTransformer(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDWATCHEVENTS_API InputTransformer& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLOUDWATCHEVENTS_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
95 inline const Aws::String& GetInputTemplate() const{ return m_inputTemplate; }
96 inline bool InputTemplateHasBeenSet() const { return m_inputTemplateHasBeenSet; }
97 inline void SetInputTemplate(const Aws::String& value) { m_inputTemplateHasBeenSet = true; m_inputTemplate = value; }
98 inline void SetInputTemplate(Aws::String&& value) { m_inputTemplateHasBeenSet = true; m_inputTemplate = std::move(value); }
99 inline void SetInputTemplate(const char* value) { m_inputTemplateHasBeenSet = true; m_inputTemplate.assign(value); }
100 inline InputTransformer& WithInputTemplate(const Aws::String& value) { SetInputTemplate(value); return *this;}
101 inline InputTransformer& WithInputTemplate(Aws::String&& value) { SetInputTemplate(std::move(value)); return *this;}
102 inline InputTransformer& WithInputTemplate(const char* value) { SetInputTemplate(value); return *this;}
104 private:
105
107 bool m_inputPathsMapHasBeenSet = false;
108
109 Aws::String m_inputTemplate;
110 bool m_inputTemplateHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace CloudWatchEvents
115} // namespace Aws
InputTransformer & AddInputPathsMap(const char *key, const char *value)
InputTransformer & AddInputPathsMap(const Aws::String &key, const Aws::String &value)
InputTransformer & WithInputPathsMap(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetInputPathsMap() const
InputTransformer & AddInputPathsMap(Aws::String &&key, Aws::String &&value)
InputTransformer & AddInputPathsMap(Aws::String &&key, const char *value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHEVENTS_API InputTransformer()
AWS_CLOUDWATCHEVENTS_API InputTransformer & operator=(Aws::Utils::Json::JsonView jsonValue)
InputTransformer & WithInputTemplate(const Aws::String &value)
void SetInputPathsMap(const Aws::Map< Aws::String, Aws::String > &value)
InputTransformer & WithInputTemplate(const char *value)
void SetInputPathsMap(Aws::Map< Aws::String, Aws::String > &&value)
InputTransformer & WithInputPathsMap(Aws::Map< Aws::String, Aws::String > &&value)
InputTransformer & WithInputTemplate(Aws::String &&value)
void SetInputTemplate(const Aws::String &value)
InputTransformer & AddInputPathsMap(const Aws::String &key, Aws::String &&value)
InputTransformer & AddInputPathsMap(Aws::String &&key, const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API InputTransformer(Aws::Utils::Json::JsonView jsonValue)
InputTransformer & AddInputPathsMap(const char *key, Aws::String &&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