AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudWatchAlarmTemplateGroupSummary.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/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline CloudWatchAlarmTemplateGroupSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline CloudWatchAlarmTemplateGroupSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline CloudWatchAlarmTemplateGroupSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
59 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
60 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
61 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
62 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
64 inline CloudWatchAlarmTemplateGroupSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline CloudWatchAlarmTemplateGroupSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline CloudWatchAlarmTemplateGroupSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
86 inline const Aws::String& GetId() const{ return m_id; }
87 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
88 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
89 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
90 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
91 inline CloudWatchAlarmTemplateGroupSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
92 inline CloudWatchAlarmTemplateGroupSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
93 inline CloudWatchAlarmTemplateGroupSummary& WithId(const char* value) { SetId(value); return *this;}
95
97
98 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
99 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
100 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; }
101 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); }
105
107
111 inline const Aws::String& GetName() const{ return m_name; }
112 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
113 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
114 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
115 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
116 inline CloudWatchAlarmTemplateGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
117 inline CloudWatchAlarmTemplateGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
118 inline CloudWatchAlarmTemplateGroupSummary& WithName(const char* value) { SetName(value); return *this;}
120
122
123 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
124 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
125 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
126 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
129 inline CloudWatchAlarmTemplateGroupSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
130 inline CloudWatchAlarmTemplateGroupSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
131 inline CloudWatchAlarmTemplateGroupSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
132 inline CloudWatchAlarmTemplateGroupSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
133 inline CloudWatchAlarmTemplateGroupSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
134 inline CloudWatchAlarmTemplateGroupSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
135 inline CloudWatchAlarmTemplateGroupSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
137
139
142 inline int GetTemplateCount() const{ return m_templateCount; }
143 inline bool TemplateCountHasBeenSet() const { return m_templateCountHasBeenSet; }
144 inline void SetTemplateCount(int value) { m_templateCountHasBeenSet = true; m_templateCount = value; }
147 private:
148
149 Aws::String m_arn;
150 bool m_arnHasBeenSet = false;
151
152 Aws::Utils::DateTime m_createdAt;
153 bool m_createdAtHasBeenSet = false;
154
155 Aws::String m_description;
156 bool m_descriptionHasBeenSet = false;
157
158 Aws::String m_id;
159 bool m_idHasBeenSet = false;
160
161 Aws::Utils::DateTime m_modifiedAt;
162 bool m_modifiedAtHasBeenSet = false;
163
164 Aws::String m_name;
165 bool m_nameHasBeenSet = false;
166
168 bool m_tagsHasBeenSet = false;
169
170 int m_templateCount;
171 bool m_templateCountHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace MediaLive
176} // namespace Aws
CloudWatchAlarmTemplateGroupSummary & AddTags(Aws::String &&key, Aws::String &&value)
CloudWatchAlarmTemplateGroupSummary & WithId(const Aws::String &value)
CloudWatchAlarmTemplateGroupSummary & AddTags(const char *key, const char *value)
CloudWatchAlarmTemplateGroupSummary & AddTags(const Aws::String &key, Aws::String &&value)
CloudWatchAlarmTemplateGroupSummary & WithId(const char *value)
CloudWatchAlarmTemplateGroupSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
CloudWatchAlarmTemplateGroupSummary & WithName(const char *value)
AWS_MEDIALIVE_API CloudWatchAlarmTemplateGroupSummary(Aws::Utils::Json::JsonView jsonValue)
CloudWatchAlarmTemplateGroupSummary & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
CloudWatchAlarmTemplateGroupSummary & WithId(Aws::String &&value)
CloudWatchAlarmTemplateGroupSummary & WithDescription(Aws::String &&value)
CloudWatchAlarmTemplateGroupSummary & WithDescription(const char *value)
CloudWatchAlarmTemplateGroupSummary & WithArn(const char *value)
CloudWatchAlarmTemplateGroupSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CloudWatchAlarmTemplateGroupSummary & AddTags(Aws::String &&key, const Aws::String &value)
AWS_MEDIALIVE_API CloudWatchAlarmTemplateGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudWatchAlarmTemplateGroupSummary & WithName(Aws::String &&value)
CloudWatchAlarmTemplateGroupSummary & WithDescription(const Aws::String &value)
CloudWatchAlarmTemplateGroupSummary & WithName(const Aws::String &value)
CloudWatchAlarmTemplateGroupSummary & AddTags(Aws::String &&key, const char *value)
CloudWatchAlarmTemplateGroupSummary & AddTags(const Aws::String &key, const Aws::String &value)
CloudWatchAlarmTemplateGroupSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
CloudWatchAlarmTemplateGroupSummary & WithArn(Aws::String &&value)
CloudWatchAlarmTemplateGroupSummary & WithModifiedAt(Aws::Utils::DateTime &&value)
CloudWatchAlarmTemplateGroupSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CloudWatchAlarmTemplateGroupSummary & WithArn(const Aws::String &value)
CloudWatchAlarmTemplateGroupSummary & WithModifiedAt(const Aws::Utils::DateTime &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