AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSignalMapRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MediaLive
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_MEDIALIVE_API CreateSignalMapRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateSignalMap"; }
36
37 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
38
39
41
42 inline const Aws::Vector<Aws::String>& GetCloudWatchAlarmTemplateGroupIdentifiers() const{ return m_cloudWatchAlarmTemplateGroupIdentifiers; }
43 inline bool CloudWatchAlarmTemplateGroupIdentifiersHasBeenSet() const { return m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet; }
44 inline void SetCloudWatchAlarmTemplateGroupIdentifiers(const Aws::Vector<Aws::String>& value) { m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet = true; m_cloudWatchAlarmTemplateGroupIdentifiers = value; }
45 inline void SetCloudWatchAlarmTemplateGroupIdentifiers(Aws::Vector<Aws::String>&& value) { m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet = true; m_cloudWatchAlarmTemplateGroupIdentifiers = std::move(value); }
48 inline CreateSignalMapRequest& AddCloudWatchAlarmTemplateGroupIdentifiers(const Aws::String& value) { m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet = true; m_cloudWatchAlarmTemplateGroupIdentifiers.push_back(value); return *this; }
49 inline CreateSignalMapRequest& AddCloudWatchAlarmTemplateGroupIdentifiers(Aws::String&& value) { m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet = true; m_cloudWatchAlarmTemplateGroupIdentifiers.push_back(std::move(value)); return *this; }
50 inline CreateSignalMapRequest& AddCloudWatchAlarmTemplateGroupIdentifiers(const char* value) { m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet = true; m_cloudWatchAlarmTemplateGroupIdentifiers.push_back(value); return *this; }
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline CreateSignalMapRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline CreateSignalMapRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline CreateSignalMapRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
71 inline const Aws::String& GetDiscoveryEntryPointArn() const{ return m_discoveryEntryPointArn; }
72 inline bool DiscoveryEntryPointArnHasBeenSet() const { return m_discoveryEntryPointArnHasBeenSet; }
73 inline void SetDiscoveryEntryPointArn(const Aws::String& value) { m_discoveryEntryPointArnHasBeenSet = true; m_discoveryEntryPointArn = value; }
74 inline void SetDiscoveryEntryPointArn(Aws::String&& value) { m_discoveryEntryPointArnHasBeenSet = true; m_discoveryEntryPointArn = std::move(value); }
75 inline void SetDiscoveryEntryPointArn(const char* value) { m_discoveryEntryPointArnHasBeenSet = true; m_discoveryEntryPointArn.assign(value); }
78 inline CreateSignalMapRequest& WithDiscoveryEntryPointArn(const char* value) { SetDiscoveryEntryPointArn(value); return *this;}
80
82
83 inline const Aws::Vector<Aws::String>& GetEventBridgeRuleTemplateGroupIdentifiers() const{ return m_eventBridgeRuleTemplateGroupIdentifiers; }
84 inline bool EventBridgeRuleTemplateGroupIdentifiersHasBeenSet() const { return m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet; }
85 inline void SetEventBridgeRuleTemplateGroupIdentifiers(const Aws::Vector<Aws::String>& value) { m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet = true; m_eventBridgeRuleTemplateGroupIdentifiers = value; }
86 inline void SetEventBridgeRuleTemplateGroupIdentifiers(Aws::Vector<Aws::String>&& value) { m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet = true; m_eventBridgeRuleTemplateGroupIdentifiers = std::move(value); }
89 inline CreateSignalMapRequest& AddEventBridgeRuleTemplateGroupIdentifiers(const Aws::String& value) { m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet = true; m_eventBridgeRuleTemplateGroupIdentifiers.push_back(value); return *this; }
90 inline CreateSignalMapRequest& AddEventBridgeRuleTemplateGroupIdentifiers(Aws::String&& value) { m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet = true; m_eventBridgeRuleTemplateGroupIdentifiers.push_back(std::move(value)); return *this; }
91 inline CreateSignalMapRequest& AddEventBridgeRuleTemplateGroupIdentifiers(const char* value) { m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet = true; m_eventBridgeRuleTemplateGroupIdentifiers.push_back(value); return *this; }
93
95
99 inline const Aws::String& GetName() const{ return m_name; }
100 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
101 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
102 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
103 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
104 inline CreateSignalMapRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
105 inline CreateSignalMapRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
106 inline CreateSignalMapRequest& WithName(const char* value) { SetName(value); return *this;}
108
110
111 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
112 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
113 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
114 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
115 inline CreateSignalMapRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
116 inline CreateSignalMapRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
117 inline CreateSignalMapRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
118 inline CreateSignalMapRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
119 inline CreateSignalMapRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
120 inline CreateSignalMapRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
121 inline CreateSignalMapRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
122 inline CreateSignalMapRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
123 inline CreateSignalMapRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
125 private:
126
127 Aws::Vector<Aws::String> m_cloudWatchAlarmTemplateGroupIdentifiers;
128 bool m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet = false;
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132
133 Aws::String m_discoveryEntryPointArn;
134 bool m_discoveryEntryPointArnHasBeenSet = false;
135
136 Aws::Vector<Aws::String> m_eventBridgeRuleTemplateGroupIdentifiers;
137 bool m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet = false;
138
139 Aws::String m_name;
140 bool m_nameHasBeenSet = false;
141
143 bool m_tagsHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace MediaLive
148} // namespace Aws
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSignalMapRequest & AddEventBridgeRuleTemplateGroupIdentifiers(const char *value)
const Aws::Vector< Aws::String > & GetEventBridgeRuleTemplateGroupIdentifiers() const
CreateSignalMapRequest & WithCloudWatchAlarmTemplateGroupIdentifiers(const Aws::Vector< Aws::String > &value)
CreateSignalMapRequest & WithName(const char *value)
CreateSignalMapRequest & AddEventBridgeRuleTemplateGroupIdentifiers(Aws::String &&value)
void SetCloudWatchAlarmTemplateGroupIdentifiers(Aws::Vector< Aws::String > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSignalMapRequest & AddCloudWatchAlarmTemplateGroupIdentifiers(const Aws::String &value)
CreateSignalMapRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateSignalMapRequest & WithDiscoveryEntryPointArn(const Aws::String &value)
CreateSignalMapRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSignalMapRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetCloudWatchAlarmTemplateGroupIdentifiers(const Aws::Vector< Aws::String > &value)
CreateSignalMapRequest & WithName(Aws::String &&value)
CreateSignalMapRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetEventBridgeRuleTemplateGroupIdentifiers(Aws::Vector< Aws::String > &&value)
CreateSignalMapRequest & WithName(const Aws::String &value)
CreateSignalMapRequest & AddEventBridgeRuleTemplateGroupIdentifiers(const Aws::String &value)
CreateSignalMapRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSignalMapRequest & AddTags(Aws::String &&key, const char *value)
CreateSignalMapRequest & AddTags(Aws::String &&key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetEventBridgeRuleTemplateGroupIdentifiers(const Aws::Vector< Aws::String > &value)
CreateSignalMapRequest & WithEventBridgeRuleTemplateGroupIdentifiers(Aws::Vector< Aws::String > &&value)
void SetDiscoveryEntryPointArn(const Aws::String &value)
CreateSignalMapRequest & AddTags(const char *key, Aws::String &&value)
CreateSignalMapRequest & WithDiscoveryEntryPointArn(Aws::String &&value)
CreateSignalMapRequest & WithDescription(const Aws::String &value)
CreateSignalMapRequest & WithDescription(Aws::String &&value)
const Aws::Vector< Aws::String > & GetCloudWatchAlarmTemplateGroupIdentifiers() const
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
CreateSignalMapRequest & AddCloudWatchAlarmTemplateGroupIdentifiers(const char *value)
CreateSignalMapRequest & WithDescription(const char *value)
CreateSignalMapRequest & AddCloudWatchAlarmTemplateGroupIdentifiers(Aws::String &&value)
CreateSignalMapRequest & WithEventBridgeRuleTemplateGroupIdentifiers(const Aws::Vector< Aws::String > &value)
CreateSignalMapRequest & WithCloudWatchAlarmTemplateGroupIdentifiers(Aws::Vector< Aws::String > &&value)
CreateSignalMapRequest & WithDiscoveryEntryPointArn(const char *value)
CreateSignalMapRequest & AddTags(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
std::vector< T, Aws::Allocator< T > > Vector