AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventBridgeRuleTemplateSummary.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/medialive/model/EventBridgeRuleTemplateEventType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaLive
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MEDIALIVE_API EventBridgeRuleTemplateSummary();
41 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline EventBridgeRuleTemplateSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline EventBridgeRuleTemplateSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline EventBridgeRuleTemplateSummary& WithArn(const char* value) { SetArn(value); return *this;}
57
59
60 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
61 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
62 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
63 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
65 inline EventBridgeRuleTemplateSummary& 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 bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline EventBridgeRuleTemplateSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline EventBridgeRuleTemplateSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline EventBridgeRuleTemplateSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline int GetEventTargetCount() const{ return m_eventTargetCount; }
87 inline bool EventTargetCountHasBeenSet() const { return m_eventTargetCountHasBeenSet; }
88 inline void SetEventTargetCount(int value) { m_eventTargetCountHasBeenSet = true; m_eventTargetCount = value; }
91
93
94 inline const EventBridgeRuleTemplateEventType& GetEventType() const{ return m_eventType; }
95 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
96 inline void SetEventType(const EventBridgeRuleTemplateEventType& value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
97 inline void SetEventType(EventBridgeRuleTemplateEventType&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); }
101
103
107 inline const Aws::String& GetGroupId() const{ return m_groupId; }
108 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
109 inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
110 inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
111 inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
112 inline EventBridgeRuleTemplateSummary& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
113 inline EventBridgeRuleTemplateSummary& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
114 inline EventBridgeRuleTemplateSummary& WithGroupId(const char* value) { SetGroupId(value); return *this;}
116
118
122 inline const Aws::String& GetId() const{ return m_id; }
123 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
124 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
125 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
126 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
127 inline EventBridgeRuleTemplateSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
128 inline EventBridgeRuleTemplateSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
129 inline EventBridgeRuleTemplateSummary& WithId(const char* value) { SetId(value); return *this;}
131
133
134 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
135 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
136 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; }
137 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); }
139 inline EventBridgeRuleTemplateSummary& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
141
143
147 inline const Aws::String& GetName() const{ return m_name; }
148 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
149 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
150 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
151 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
152 inline EventBridgeRuleTemplateSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
153 inline EventBridgeRuleTemplateSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
154 inline EventBridgeRuleTemplateSummary& WithName(const char* value) { SetName(value); return *this;}
156
158
159 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
160 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
161 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
162 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
164 inline EventBridgeRuleTemplateSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
165 inline EventBridgeRuleTemplateSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
166 inline EventBridgeRuleTemplateSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
167 inline EventBridgeRuleTemplateSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
168 inline EventBridgeRuleTemplateSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
169 inline EventBridgeRuleTemplateSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
170 inline EventBridgeRuleTemplateSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
171 inline EventBridgeRuleTemplateSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
173 private:
174
175 Aws::String m_arn;
176 bool m_arnHasBeenSet = false;
177
178 Aws::Utils::DateTime m_createdAt;
179 bool m_createdAtHasBeenSet = false;
180
181 Aws::String m_description;
182 bool m_descriptionHasBeenSet = false;
183
184 int m_eventTargetCount;
185 bool m_eventTargetCountHasBeenSet = false;
186
188 bool m_eventTypeHasBeenSet = false;
189
190 Aws::String m_groupId;
191 bool m_groupIdHasBeenSet = false;
192
193 Aws::String m_id;
194 bool m_idHasBeenSet = false;
195
196 Aws::Utils::DateTime m_modifiedAt;
197 bool m_modifiedAtHasBeenSet = false;
198
199 Aws::String m_name;
200 bool m_nameHasBeenSet = false;
201
203 bool m_tagsHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace MediaLive
208} // namespace Aws
EventBridgeRuleTemplateSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
EventBridgeRuleTemplateSummary & WithGroupId(const Aws::String &value)
AWS_MEDIALIVE_API EventBridgeRuleTemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EventBridgeRuleTemplateSummary & WithEventType(const EventBridgeRuleTemplateEventType &value)
EventBridgeRuleTemplateSummary & AddTags(const Aws::String &key, Aws::String &&value)
EventBridgeRuleTemplateSummary & AddTags(const char *key, const char *value)
EventBridgeRuleTemplateSummary & WithGroupId(const char *value)
const EventBridgeRuleTemplateEventType & GetEventType() const
EventBridgeRuleTemplateSummary & AddTags(Aws::String &&key, Aws::String &&value)
EventBridgeRuleTemplateSummary & AddTags(Aws::String &&key, const Aws::String &value)
EventBridgeRuleTemplateSummary & WithArn(const Aws::String &value)
EventBridgeRuleTemplateSummary & WithEventTargetCount(int value)
EventBridgeRuleTemplateSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
EventBridgeRuleTemplateSummary & WithId(const char *value)
EventBridgeRuleTemplateSummary & WithName(Aws::String &&value)
EventBridgeRuleTemplateSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
EventBridgeRuleTemplateSummary & WithId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
EventBridgeRuleTemplateSummary & WithModifiedAt(const Aws::Utils::DateTime &value)
EventBridgeRuleTemplateSummary & WithId(Aws::String &&value)
void SetEventType(EventBridgeRuleTemplateEventType &&value)
EventBridgeRuleTemplateSummary & WithGroupId(Aws::String &&value)
EventBridgeRuleTemplateSummary & WithEventType(EventBridgeRuleTemplateEventType &&value)
AWS_MEDIALIVE_API EventBridgeRuleTemplateSummary(Aws::Utils::Json::JsonView jsonValue)
EventBridgeRuleTemplateSummary & WithDescription(const char *value)
EventBridgeRuleTemplateSummary & WithArn(const char *value)
EventBridgeRuleTemplateSummary & AddTags(Aws::String &&key, const char *value)
EventBridgeRuleTemplateSummary & WithName(const Aws::String &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
EventBridgeRuleTemplateSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetEventType(const EventBridgeRuleTemplateEventType &value)
EventBridgeRuleTemplateSummary & WithName(const char *value)
EventBridgeRuleTemplateSummary & WithDescription(Aws::String &&value)
EventBridgeRuleTemplateSummary & AddTags(const char *key, Aws::String &&value)
EventBridgeRuleTemplateSummary & WithDescription(const Aws::String &value)
EventBridgeRuleTemplateSummary & AddTags(const Aws::String &key, const Aws::String &value)
EventBridgeRuleTemplateSummary & WithModifiedAt(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
EventBridgeRuleTemplateSummary & WithArn(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
Aws::Utils::Json::JsonValue JsonValue