AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
StartUpdateSignalMapRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/MediaLiveRequest.h>
10#include <aws/medialive/MediaLive_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace MediaLive {
16namespace Model {
17
25 public:
26 AWS_MEDIALIVE_API StartUpdateSignalMapRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartUpdateSignalMap"; }
33
34 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
35
37
39 return m_cloudWatchAlarmTemplateGroupIdentifiers;
40 }
41 inline bool CloudWatchAlarmTemplateGroupIdentifiersHasBeenSet() const { return m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet; }
42 template <typename CloudWatchAlarmTemplateGroupIdentifiersT = Aws::Vector<Aws::String>>
43 void SetCloudWatchAlarmTemplateGroupIdentifiers(CloudWatchAlarmTemplateGroupIdentifiersT&& value) {
44 m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet = true;
45 m_cloudWatchAlarmTemplateGroupIdentifiers = std::forward<CloudWatchAlarmTemplateGroupIdentifiersT>(value);
46 }
47 template <typename CloudWatchAlarmTemplateGroupIdentifiersT = Aws::Vector<Aws::String>>
48 StartUpdateSignalMapRequest& WithCloudWatchAlarmTemplateGroupIdentifiers(CloudWatchAlarmTemplateGroupIdentifiersT&& value) {
49 SetCloudWatchAlarmTemplateGroupIdentifiers(std::forward<CloudWatchAlarmTemplateGroupIdentifiersT>(value));
50 return *this;
51 }
52 template <typename CloudWatchAlarmTemplateGroupIdentifiersT = Aws::String>
53 StartUpdateSignalMapRequest& AddCloudWatchAlarmTemplateGroupIdentifiers(CloudWatchAlarmTemplateGroupIdentifiersT&& value) {
54 m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet = true;
55 m_cloudWatchAlarmTemplateGroupIdentifiers.emplace_back(std::forward<CloudWatchAlarmTemplateGroupIdentifiersT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 template <typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) {
68 m_descriptionHasBeenSet = true;
69 m_description = std::forward<DescriptionT>(value);
70 }
71 template <typename DescriptionT = Aws::String>
73 SetDescription(std::forward<DescriptionT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetDiscoveryEntryPointArn() const { return m_discoveryEntryPointArn; }
83 inline bool DiscoveryEntryPointArnHasBeenSet() const { return m_discoveryEntryPointArnHasBeenSet; }
84 template <typename DiscoveryEntryPointArnT = Aws::String>
85 void SetDiscoveryEntryPointArn(DiscoveryEntryPointArnT&& value) {
86 m_discoveryEntryPointArnHasBeenSet = true;
87 m_discoveryEntryPointArn = std::forward<DiscoveryEntryPointArnT>(value);
88 }
89 template <typename DiscoveryEntryPointArnT = Aws::String>
90 StartUpdateSignalMapRequest& WithDiscoveryEntryPointArn(DiscoveryEntryPointArnT&& value) {
91 SetDiscoveryEntryPointArn(std::forward<DiscoveryEntryPointArnT>(value));
92 return *this;
93 }
95
97
99 return m_eventBridgeRuleTemplateGroupIdentifiers;
100 }
101 inline bool EventBridgeRuleTemplateGroupIdentifiersHasBeenSet() const { return m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet; }
102 template <typename EventBridgeRuleTemplateGroupIdentifiersT = Aws::Vector<Aws::String>>
103 void SetEventBridgeRuleTemplateGroupIdentifiers(EventBridgeRuleTemplateGroupIdentifiersT&& value) {
104 m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet = true;
105 m_eventBridgeRuleTemplateGroupIdentifiers = std::forward<EventBridgeRuleTemplateGroupIdentifiersT>(value);
106 }
107 template <typename EventBridgeRuleTemplateGroupIdentifiersT = Aws::Vector<Aws::String>>
108 StartUpdateSignalMapRequest& WithEventBridgeRuleTemplateGroupIdentifiers(EventBridgeRuleTemplateGroupIdentifiersT&& value) {
109 SetEventBridgeRuleTemplateGroupIdentifiers(std::forward<EventBridgeRuleTemplateGroupIdentifiersT>(value));
110 return *this;
111 }
112 template <typename EventBridgeRuleTemplateGroupIdentifiersT = Aws::String>
113 StartUpdateSignalMapRequest& AddEventBridgeRuleTemplateGroupIdentifiers(EventBridgeRuleTemplateGroupIdentifiersT&& value) {
114 m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet = true;
115 m_eventBridgeRuleTemplateGroupIdentifiers.emplace_back(std::forward<EventBridgeRuleTemplateGroupIdentifiersT>(value));
116 return *this;
117 }
119
121
125 inline bool GetForceRediscovery() const { return m_forceRediscovery; }
126 inline bool ForceRediscoveryHasBeenSet() const { return m_forceRediscoveryHasBeenSet; }
127 inline void SetForceRediscovery(bool value) {
128 m_forceRediscoveryHasBeenSet = true;
129 m_forceRediscovery = value;
130 }
132 SetForceRediscovery(value);
133 return *this;
134 }
136
138
141 inline const Aws::String& GetIdentifier() const { return m_identifier; }
142 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
143 template <typename IdentifierT = Aws::String>
144 void SetIdentifier(IdentifierT&& value) {
145 m_identifierHasBeenSet = true;
146 m_identifier = std::forward<IdentifierT>(value);
147 }
148 template <typename IdentifierT = Aws::String>
150 SetIdentifier(std::forward<IdentifierT>(value));
151 return *this;
152 }
154
156
160 inline const Aws::String& GetName() const { return m_name; }
161 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
162 template <typename NameT = Aws::String>
163 void SetName(NameT&& value) {
164 m_nameHasBeenSet = true;
165 m_name = std::forward<NameT>(value);
166 }
167 template <typename NameT = Aws::String>
169 SetName(std::forward<NameT>(value));
170 return *this;
171 }
173 private:
174 Aws::Vector<Aws::String> m_cloudWatchAlarmTemplateGroupIdentifiers;
175
176 Aws::String m_description;
177
178 Aws::String m_discoveryEntryPointArn;
179
180 Aws::Vector<Aws::String> m_eventBridgeRuleTemplateGroupIdentifiers;
181
182 bool m_forceRediscovery{false};
183
184 Aws::String m_identifier;
185
186 Aws::String m_name;
187 bool m_cloudWatchAlarmTemplateGroupIdentifiersHasBeenSet = false;
188 bool m_descriptionHasBeenSet = false;
189 bool m_discoveryEntryPointArnHasBeenSet = false;
190 bool m_eventBridgeRuleTemplateGroupIdentifiersHasBeenSet = false;
191 bool m_forceRediscoveryHasBeenSet = false;
192 bool m_identifierHasBeenSet = false;
193 bool m_nameHasBeenSet = false;
194};
195
196} // namespace Model
197} // namespace MediaLive
198} // namespace Aws
StartUpdateSignalMapRequest & AddEventBridgeRuleTemplateGroupIdentifiers(EventBridgeRuleTemplateGroupIdentifiersT &&value)
void SetCloudWatchAlarmTemplateGroupIdentifiers(CloudWatchAlarmTemplateGroupIdentifiersT &&value)
StartUpdateSignalMapRequest & WithEventBridgeRuleTemplateGroupIdentifiers(EventBridgeRuleTemplateGroupIdentifiersT &&value)
virtual const char * GetServiceRequestName() const override
void SetEventBridgeRuleTemplateGroupIdentifiers(EventBridgeRuleTemplateGroupIdentifiersT &&value)
StartUpdateSignalMapRequest & AddCloudWatchAlarmTemplateGroupIdentifiers(CloudWatchAlarmTemplateGroupIdentifiersT &&value)
const Aws::Vector< Aws::String > & GetEventBridgeRuleTemplateGroupIdentifiers() const
StartUpdateSignalMapRequest & WithIdentifier(IdentifierT &&value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
StartUpdateSignalMapRequest & WithDiscoveryEntryPointArn(DiscoveryEntryPointArnT &&value)
AWS_MEDIALIVE_API StartUpdateSignalMapRequest()=default
StartUpdateSignalMapRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< Aws::String > & GetCloudWatchAlarmTemplateGroupIdentifiers() const
StartUpdateSignalMapRequest & WithForceRediscovery(bool value)
void SetDiscoveryEntryPointArn(DiscoveryEntryPointArnT &&value)
StartUpdateSignalMapRequest & WithCloudWatchAlarmTemplateGroupIdentifiers(CloudWatchAlarmTemplateGroupIdentifiersT &&value)
StartUpdateSignalMapRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector