AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace MediaLive
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_MEDIALIVE_API CreateSignalMapRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateSignalMap"; }
37
38 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
39
40
42
43 inline const Aws::Vector<Aws::String>& GetCloudWatchAlarmTemplateGroupIdentifiers() const { return m_cloudWatchAlarmTemplateGroupIdentifiers; }
44 inline bool CloudWatchAlarmTemplateGroupIdentifiersHasBeenSet() const { return m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet; }
45 template<typename CloudWatchAlarmTemplateGroupIdentifiersT = Aws::Vector<Aws::String>>
46 void SetCloudWatchAlarmTemplateGroupIdentifiers(CloudWatchAlarmTemplateGroupIdentifiersT&& value) { m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet = true; m_cloudWatchAlarmTemplateGroupIdentifiers = std::forward<CloudWatchAlarmTemplateGroupIdentifiersT>(value); }
47 template<typename CloudWatchAlarmTemplateGroupIdentifiersT = Aws::Vector<Aws::String>>
48 CreateSignalMapRequest& WithCloudWatchAlarmTemplateGroupIdentifiers(CloudWatchAlarmTemplateGroupIdentifiersT&& value) { SetCloudWatchAlarmTemplateGroupIdentifiers(std::forward<CloudWatchAlarmTemplateGroupIdentifiersT>(value)); return *this;}
49 template<typename CloudWatchAlarmTemplateGroupIdentifiersT = Aws::String>
50 CreateSignalMapRequest& AddCloudWatchAlarmTemplateGroupIdentifiers(CloudWatchAlarmTemplateGroupIdentifiersT&& value) { m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet = true; m_cloudWatchAlarmTemplateGroupIdentifiers.emplace_back(std::forward<CloudWatchAlarmTemplateGroupIdentifiersT>(value)); return *this; }
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template<typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
61 template<typename DescriptionT = Aws::String>
62 CreateSignalMapRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDiscoveryEntryPointArn() const { return m_discoveryEntryPointArn; }
70 inline bool DiscoveryEntryPointArnHasBeenSet() const { return m_discoveryEntryPointArnHasBeenSet; }
71 template<typename DiscoveryEntryPointArnT = Aws::String>
72 void SetDiscoveryEntryPointArn(DiscoveryEntryPointArnT&& value) { m_discoveryEntryPointArnHasBeenSet = true; m_discoveryEntryPointArn = std::forward<DiscoveryEntryPointArnT>(value); }
73 template<typename DiscoveryEntryPointArnT = Aws::String>
74 CreateSignalMapRequest& WithDiscoveryEntryPointArn(DiscoveryEntryPointArnT&& value) { SetDiscoveryEntryPointArn(std::forward<DiscoveryEntryPointArnT>(value)); return *this;}
76
78
79 inline const Aws::Vector<Aws::String>& GetEventBridgeRuleTemplateGroupIdentifiers() const { return m_eventBridgeRuleTemplateGroupIdentifiers; }
80 inline bool EventBridgeRuleTemplateGroupIdentifiersHasBeenSet() const { return m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet; }
81 template<typename EventBridgeRuleTemplateGroupIdentifiersT = Aws::Vector<Aws::String>>
82 void SetEventBridgeRuleTemplateGroupIdentifiers(EventBridgeRuleTemplateGroupIdentifiersT&& value) { m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet = true; m_eventBridgeRuleTemplateGroupIdentifiers = std::forward<EventBridgeRuleTemplateGroupIdentifiersT>(value); }
83 template<typename EventBridgeRuleTemplateGroupIdentifiersT = Aws::Vector<Aws::String>>
84 CreateSignalMapRequest& WithEventBridgeRuleTemplateGroupIdentifiers(EventBridgeRuleTemplateGroupIdentifiersT&& value) { SetEventBridgeRuleTemplateGroupIdentifiers(std::forward<EventBridgeRuleTemplateGroupIdentifiersT>(value)); return *this;}
85 template<typename EventBridgeRuleTemplateGroupIdentifiersT = Aws::String>
86 CreateSignalMapRequest& AddEventBridgeRuleTemplateGroupIdentifiers(EventBridgeRuleTemplateGroupIdentifiersT&& value) { m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet = true; m_eventBridgeRuleTemplateGroupIdentifiers.emplace_back(std::forward<EventBridgeRuleTemplateGroupIdentifiersT>(value)); return *this; }
88
90
94 inline const Aws::String& GetName() const { return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 template<typename NameT = Aws::String>
97 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
98 template<typename NameT = Aws::String>
99 CreateSignalMapRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
101
103
104 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
105 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
106 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
107 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
108 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 CreateSignalMapRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
110 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
111 CreateSignalMapRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
112 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
113 }
115
117
121 inline const Aws::String& GetRequestId() const { return m_requestId; }
122 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
123 template<typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
125 template<typename RequestIdT = Aws::String>
126 CreateSignalMapRequest& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
128 private:
129
130 Aws::Vector<Aws::String> m_cloudWatchAlarmTemplateGroupIdentifiers;
131 bool m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet = false;
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
136 Aws::String m_discoveryEntryPointArn;
137 bool m_discoveryEntryPointArnHasBeenSet = false;
138
139 Aws::Vector<Aws::String> m_eventBridgeRuleTemplateGroupIdentifiers;
140 bool m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
146 bool m_tagsHasBeenSet = false;
147
149 bool m_requestIdHasBeenSet = true;
150 };
151
152} // namespace Model
153} // namespace MediaLive
154} // namespace Aws
CreateSignalMapRequest & WithEventBridgeRuleTemplateGroupIdentifiers(EventBridgeRuleTemplateGroupIdentifiersT &&value)
const Aws::Vector< Aws::String > & GetEventBridgeRuleTemplateGroupIdentifiers() const
CreateSignalMapRequest & WithDescription(DescriptionT &&value)
AWS_MEDIALIVE_API CreateSignalMapRequest()=default
CreateSignalMapRequest & WithCloudWatchAlarmTemplateGroupIdentifiers(CloudWatchAlarmTemplateGroupIdentifiersT &&value)
void SetEventBridgeRuleTemplateGroupIdentifiers(EventBridgeRuleTemplateGroupIdentifiersT &&value)
CreateSignalMapRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateSignalMapRequest & WithDiscoveryEntryPointArn(DiscoveryEntryPointArnT &&value)
CreateSignalMapRequest & WithName(NameT &&value)
CreateSignalMapRequest & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSignalMapRequest & AddEventBridgeRuleTemplateGroupIdentifiers(EventBridgeRuleTemplateGroupIdentifiersT &&value)
virtual const char * GetServiceRequestName() const override
CreateSignalMapRequest & WithTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetCloudWatchAlarmTemplateGroupIdentifiers() const
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
CreateSignalMapRequest & AddCloudWatchAlarmTemplateGroupIdentifiers(CloudWatchAlarmTemplateGroupIdentifiersT &&value)
void SetDiscoveryEntryPointArn(DiscoveryEntryPointArnT &&value)
void SetCloudWatchAlarmTemplateGroupIdentifiers(CloudWatchAlarmTemplateGroupIdentifiersT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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