AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEventBridgeRuleTemplateResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/medialive/model/EventBridgeRuleTemplateEventType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/medialive/model/EventBridgeRuleTemplateTarget.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace MediaLive
29{
30namespace Model
31{
39 {
40 public:
44
45
47
50 inline const Aws::String& GetArn() const{ return m_arn; }
51 inline void SetArn(const Aws::String& value) { m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arn.assign(value); }
54 inline UpdateEventBridgeRuleTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline UpdateEventBridgeRuleTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline UpdateEventBridgeRuleTemplateResult& WithArn(const char* value) { SetArn(value); return *this;}
58
60
61 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
62 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
63 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
65 inline UpdateEventBridgeRuleTemplateResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline void SetDescription(const Aws::String& value) { m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_description.assign(value); }
77 inline UpdateEventBridgeRuleTemplateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline UpdateEventBridgeRuleTemplateResult& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
83 inline const Aws::Vector<EventBridgeRuleTemplateTarget>& GetEventTargets() const{ return m_eventTargets; }
84 inline void SetEventTargets(const Aws::Vector<EventBridgeRuleTemplateTarget>& value) { m_eventTargets = value; }
85 inline void SetEventTargets(Aws::Vector<EventBridgeRuleTemplateTarget>&& value) { m_eventTargets = std::move(value); }
88 inline UpdateEventBridgeRuleTemplateResult& AddEventTargets(const EventBridgeRuleTemplateTarget& value) { m_eventTargets.push_back(value); return *this; }
89 inline UpdateEventBridgeRuleTemplateResult& AddEventTargets(EventBridgeRuleTemplateTarget&& value) { m_eventTargets.push_back(std::move(value)); return *this; }
91
93
94 inline const EventBridgeRuleTemplateEventType& GetEventType() const{ return m_eventType; }
95 inline void SetEventType(const EventBridgeRuleTemplateEventType& value) { m_eventType = value; }
96 inline void SetEventType(EventBridgeRuleTemplateEventType&& value) { m_eventType = std::move(value); }
100
102
106 inline const Aws::String& GetGroupId() const{ return m_groupId; }
107 inline void SetGroupId(const Aws::String& value) { m_groupId = value; }
108 inline void SetGroupId(Aws::String&& value) { m_groupId = std::move(value); }
109 inline void SetGroupId(const char* value) { m_groupId.assign(value); }
110 inline UpdateEventBridgeRuleTemplateResult& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
111 inline UpdateEventBridgeRuleTemplateResult& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
112 inline UpdateEventBridgeRuleTemplateResult& WithGroupId(const char* value) { SetGroupId(value); return *this;}
114
116
120 inline const Aws::String& GetId() const{ return m_id; }
121 inline void SetId(const Aws::String& value) { m_id = value; }
122 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
123 inline void SetId(const char* value) { m_id.assign(value); }
124 inline UpdateEventBridgeRuleTemplateResult& WithId(const Aws::String& value) { SetId(value); return *this;}
125 inline UpdateEventBridgeRuleTemplateResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
126 inline UpdateEventBridgeRuleTemplateResult& WithId(const char* value) { SetId(value); return *this;}
128
130
131 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
132 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAt = value; }
133 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAt = std::move(value); }
137
139
143 inline const Aws::String& GetName() const{ return m_name; }
144 inline void SetName(const Aws::String& value) { m_name = value; }
145 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
146 inline void SetName(const char* value) { m_name.assign(value); }
147 inline UpdateEventBridgeRuleTemplateResult& WithName(const Aws::String& value) { SetName(value); return *this;}
148 inline UpdateEventBridgeRuleTemplateResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
149 inline UpdateEventBridgeRuleTemplateResult& WithName(const char* value) { SetName(value); return *this;}
151
153
154 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
155 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
156 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
159 inline UpdateEventBridgeRuleTemplateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
160 inline UpdateEventBridgeRuleTemplateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
161 inline UpdateEventBridgeRuleTemplateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
162 inline UpdateEventBridgeRuleTemplateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
163 inline UpdateEventBridgeRuleTemplateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
164 inline UpdateEventBridgeRuleTemplateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
165 inline UpdateEventBridgeRuleTemplateResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
167
169
170 inline const Aws::String& GetRequestId() const{ return m_requestId; }
171 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
172 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
173 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
174 inline UpdateEventBridgeRuleTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
175 inline UpdateEventBridgeRuleTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
176 inline UpdateEventBridgeRuleTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
178 private:
179
180 Aws::String m_arn;
181
182 Aws::Utils::DateTime m_createdAt;
183
184 Aws::String m_description;
185
187
189
190 Aws::String m_groupId;
191
192 Aws::String m_id;
193
194 Aws::Utils::DateTime m_modifiedAt;
195
196 Aws::String m_name;
197
199
200 Aws::String m_requestId;
201 };
202
203} // namespace Model
204} // namespace MediaLive
205} // namespace Aws
UpdateEventBridgeRuleTemplateResult & WithRequestId(const Aws::String &value)
UpdateEventBridgeRuleTemplateResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetEventType(const EventBridgeRuleTemplateEventType &value)
UpdateEventBridgeRuleTemplateResult & WithGroupId(const Aws::String &value)
UpdateEventBridgeRuleTemplateResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateEventBridgeRuleTemplateResult & AddTags(const char *key, Aws::String &&value)
UpdateEventBridgeRuleTemplateResult & AddTags(Aws::String &&key, const Aws::String &value)
UpdateEventBridgeRuleTemplateResult & WithEventType(EventBridgeRuleTemplateEventType &&value)
UpdateEventBridgeRuleTemplateResult & WithId(const char *value)
UpdateEventBridgeRuleTemplateResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateEventBridgeRuleTemplateResult & WithName(const Aws::String &value)
UpdateEventBridgeRuleTemplateResult & WithName(Aws::String &&value)
UpdateEventBridgeRuleTemplateResult & WithGroupId(const char *value)
UpdateEventBridgeRuleTemplateResult & WithArn(Aws::String &&value)
void SetEventTargets(const Aws::Vector< EventBridgeRuleTemplateTarget > &value)
UpdateEventBridgeRuleTemplateResult & WithModifiedAt(const Aws::Utils::DateTime &value)
UpdateEventBridgeRuleTemplateResult & AddTags(const char *key, const char *value)
UpdateEventBridgeRuleTemplateResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateEventBridgeRuleTemplateResult & WithId(Aws::String &&value)
UpdateEventBridgeRuleTemplateResult & WithRequestId(const char *value)
UpdateEventBridgeRuleTemplateResult & WithGroupId(Aws::String &&value)
AWS_MEDIALIVE_API UpdateEventBridgeRuleTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEventBridgeRuleTemplateResult & WithArn(const char *value)
UpdateEventBridgeRuleTemplateResult & AddTags(const Aws::String &key, const Aws::String &value)
UpdateEventBridgeRuleTemplateResult & AddEventTargets(const EventBridgeRuleTemplateTarget &value)
UpdateEventBridgeRuleTemplateResult & WithDescription(const char *value)
UpdateEventBridgeRuleTemplateResult & WithModifiedAt(Aws::Utils::DateTime &&value)
UpdateEventBridgeRuleTemplateResult & WithEventTargets(const Aws::Vector< EventBridgeRuleTemplateTarget > &value)
UpdateEventBridgeRuleTemplateResult & WithArn(const Aws::String &value)
UpdateEventBridgeRuleTemplateResult & WithEventTargets(Aws::Vector< EventBridgeRuleTemplateTarget > &&value)
UpdateEventBridgeRuleTemplateResult & WithName(const char *value)
void SetEventTargets(Aws::Vector< EventBridgeRuleTemplateTarget > &&value)
UpdateEventBridgeRuleTemplateResult & WithEventType(const EventBridgeRuleTemplateEventType &value)
UpdateEventBridgeRuleTemplateResult & WithDescription(const Aws::String &value)
UpdateEventBridgeRuleTemplateResult & AddEventTargets(EventBridgeRuleTemplateTarget &&value)
const Aws::Vector< EventBridgeRuleTemplateTarget > & GetEventTargets() const
UpdateEventBridgeRuleTemplateResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateEventBridgeRuleTemplateResult & WithDescription(Aws::String &&value)
UpdateEventBridgeRuleTemplateResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdateEventBridgeRuleTemplateResult & AddTags(Aws::String &&key, const char *value)
AWS_MEDIALIVE_API UpdateEventBridgeRuleTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateEventBridgeRuleTemplateResult & WithId(const Aws::String &value)
UpdateEventBridgeRuleTemplateResult & WithRequestId(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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue