7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/RuleGroupsNamespaceStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace PrometheusService {
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
82 template <
typename StatusT = RuleGroupsNamespaceStatus>
84 m_statusHasBeenSet =
true;
85 m_status = std::forward<StatusT>(value);
87 template <
typename StatusT = RuleGroupsNamespaceStatus>
100 template <
typename CreatedAtT = Aws::Utils::DateTime>
102 m_createdAtHasBeenSet =
true;
103 m_createdAt = std::forward<CreatedAtT>(value);
105 template <
typename CreatedAtT = Aws::Utils::DateTime>
119 template <
typename ModifiedAtT = Aws::Utils::DateTime>
121 m_modifiedAtHasBeenSet =
true;
122 m_modifiedAt = std::forward<ModifiedAtT>(value);
124 template <
typename ModifiedAtT = Aws::Utils::DateTime>
138 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 m_tagsHasBeenSet =
true;
141 m_tags = std::forward<TagsT>(value);
143 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 SetTags(std::forward<TagsT>(value));
148 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
150 m_tagsHasBeenSet =
true;
151 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
167 bool m_arnHasBeenSet =
false;
168 bool m_nameHasBeenSet =
false;
169 bool m_statusHasBeenSet =
false;
170 bool m_createdAtHasBeenSet =
false;
171 bool m_modifiedAtHasBeenSet =
false;
172 bool m_tagsHasBeenSet =
false;
const Aws::String & GetName() const
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(StatusT &&value)
AWS_PROMETHEUSSERVICE_API RuleGroupsNamespaceSummary()=default
bool CreatedAtHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::String & GetArn() const
bool ArnHasBeenSet() const
void SetArn(ArnT &&value)
void SetTags(TagsT &&value)
bool ModifiedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RuleGroupsNamespaceSummary & WithModifiedAt(ModifiedAtT &&value)
void SetName(NameT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
RuleGroupsNamespaceSummary & WithArn(ArnT &&value)
RuleGroupsNamespaceSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool StatusHasBeenSet() const
RuleGroupsNamespaceSummary & WithTags(TagsT &&value)
RuleGroupsNamespaceSummary & WithStatus(StatusT &&value)
RuleGroupsNamespaceSummary & WithCreatedAt(CreatedAtT &&value)
RuleGroupsNamespaceSummary & WithName(NameT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
AWS_PROMETHEUSSERVICE_API RuleGroupsNamespaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
void SetModifiedAt(ModifiedAtT &&value)
AWS_PROMETHEUSSERVICE_API RuleGroupsNamespaceSummary(Aws::Utils::Json::JsonView jsonValue)
const RuleGroupsNamespaceStatus & GetStatus() const
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