7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/amp/model/RuleGroupsNamespaceStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
24namespace PrometheusService
51 template<
typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
53 template<
typename ArnT = Aws::String>
63 template<
typename CreatedAtT = Aws::Utils::DateTime>
64 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
65 template<
typename CreatedAtT = Aws::Utils::DateTime>
76 template<
typename ModifiedAtT = Aws::Utils::DateTime>
77 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
78 template<
typename ModifiedAtT = Aws::Utils::DateTime>
88 template<
typename NameT = Aws::String>
89 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
90 template<
typename NameT = Aws::String>
101 template<
typename StatusT = RuleGroupsNamespaceStatus>
102 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
103 template<
typename StatusT = RuleGroupsNamespaceStatus>
114 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
115 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
116 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
118 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
120 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
126 bool m_arnHasBeenSet =
false;
129 bool m_createdAtHasBeenSet =
false;
132 bool m_modifiedAtHasBeenSet =
false;
135 bool m_nameHasBeenSet =
false;
137 RuleGroupsNamespaceStatus m_status;
138 bool m_statusHasBeenSet =
false;
141 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