AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEventBridgeRuleTemplateRequest.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/medialive/model/EventBridgeRuleTemplateEventType.h>
12#include <aws/medialive/model/EventBridgeRuleTemplateTarget.h>
13#include <utility>
14
15namespace Aws
16{
17namespace MediaLive
18{
19namespace Model
20{
21
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateEventBridgeRuleTemplate"; }
38
39 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
40
41
43
46 inline const Aws::String& GetDescription() const{ return m_description; }
47 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
48 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
49 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
50 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
52 inline UpdateEventBridgeRuleTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
53 inline UpdateEventBridgeRuleTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
55
57
58 inline const Aws::Vector<EventBridgeRuleTemplateTarget>& GetEventTargets() const{ return m_eventTargets; }
59 inline bool EventTargetsHasBeenSet() const { return m_eventTargetsHasBeenSet; }
60 inline void SetEventTargets(const Aws::Vector<EventBridgeRuleTemplateTarget>& value) { m_eventTargetsHasBeenSet = true; m_eventTargets = value; }
61 inline void SetEventTargets(Aws::Vector<EventBridgeRuleTemplateTarget>&& value) { m_eventTargetsHasBeenSet = true; m_eventTargets = std::move(value); }
64 inline UpdateEventBridgeRuleTemplateRequest& AddEventTargets(const EventBridgeRuleTemplateTarget& value) { m_eventTargetsHasBeenSet = true; m_eventTargets.push_back(value); return *this; }
65 inline UpdateEventBridgeRuleTemplateRequest& AddEventTargets(EventBridgeRuleTemplateTarget&& value) { m_eventTargetsHasBeenSet = true; m_eventTargets.push_back(std::move(value)); return *this; }
67
69
70 inline const EventBridgeRuleTemplateEventType& GetEventType() const{ return m_eventType; }
71 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
72 inline void SetEventType(const EventBridgeRuleTemplateEventType& value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
73 inline void SetEventType(EventBridgeRuleTemplateEventType&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); }
77
79
83 inline const Aws::String& GetGroupIdentifier() const{ return m_groupIdentifier; }
84 inline bool GroupIdentifierHasBeenSet() const { return m_groupIdentifierHasBeenSet; }
85 inline void SetGroupIdentifier(const Aws::String& value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier = value; }
86 inline void SetGroupIdentifier(Aws::String&& value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier = std::move(value); }
87 inline void SetGroupIdentifier(const char* value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier.assign(value); }
90 inline UpdateEventBridgeRuleTemplateRequest& WithGroupIdentifier(const char* value) { SetGroupIdentifier(value); return *this;}
92
94
98 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
99 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
100 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
101 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
102 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
104 inline UpdateEventBridgeRuleTemplateRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
105 inline UpdateEventBridgeRuleTemplateRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
107
109
113 inline const Aws::String& GetName() const{ return m_name; }
114 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
115 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
116 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
117 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
118 inline UpdateEventBridgeRuleTemplateRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
119 inline UpdateEventBridgeRuleTemplateRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
120 inline UpdateEventBridgeRuleTemplateRequest& WithName(const char* value) { SetName(value); return *this;}
122 private:
123
124 Aws::String m_description;
125 bool m_descriptionHasBeenSet = false;
126
128 bool m_eventTargetsHasBeenSet = false;
129
131 bool m_eventTypeHasBeenSet = false;
132
133 Aws::String m_groupIdentifier;
134 bool m_groupIdentifierHasBeenSet = false;
135
136 Aws::String m_identifier;
137 bool m_identifierHasBeenSet = false;
138
139 Aws::String m_name;
140 bool m_nameHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace MediaLive
145} // namespace Aws
const Aws::Vector< EventBridgeRuleTemplateTarget > & GetEventTargets() const
UpdateEventBridgeRuleTemplateRequest & WithGroupIdentifier(Aws::String &&value)
UpdateEventBridgeRuleTemplateRequest & WithEventTargets(Aws::Vector< EventBridgeRuleTemplateTarget > &&value)
void SetEventTargets(Aws::Vector< EventBridgeRuleTemplateTarget > &&value)
UpdateEventBridgeRuleTemplateRequest & WithName(const Aws::String &value)
UpdateEventBridgeRuleTemplateRequest & WithIdentifier(Aws::String &&value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
UpdateEventBridgeRuleTemplateRequest & WithEventTargets(const Aws::Vector< EventBridgeRuleTemplateTarget > &value)
UpdateEventBridgeRuleTemplateRequest & WithDescription(const char *value)
UpdateEventBridgeRuleTemplateRequest & WithIdentifier(const Aws::String &value)
UpdateEventBridgeRuleTemplateRequest & WithDescription(const Aws::String &value)
UpdateEventBridgeRuleTemplateRequest & WithEventType(const EventBridgeRuleTemplateEventType &value)
UpdateEventBridgeRuleTemplateRequest & WithEventType(EventBridgeRuleTemplateEventType &&value)
UpdateEventBridgeRuleTemplateRequest & AddEventTargets(const EventBridgeRuleTemplateTarget &value)
UpdateEventBridgeRuleTemplateRequest & WithIdentifier(const char *value)
UpdateEventBridgeRuleTemplateRequest & WithDescription(Aws::String &&value)
UpdateEventBridgeRuleTemplateRequest & WithGroupIdentifier(const char *value)
UpdateEventBridgeRuleTemplateRequest & AddEventTargets(EventBridgeRuleTemplateTarget &&value)
void SetEventTargets(const Aws::Vector< EventBridgeRuleTemplateTarget > &value)
UpdateEventBridgeRuleTemplateRequest & WithGroupIdentifier(const Aws::String &value)
UpdateEventBridgeRuleTemplateRequest & WithName(Aws::String &&value)
UpdateEventBridgeRuleTemplateRequest & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector