7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/RuleGroupsNamespaceStatus.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
23namespace 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));
81 template <
typename StatusT = RuleGroupsNamespaceStatus>
83 m_statusHasBeenSet =
true;
84 m_status = std::forward<StatusT>(value);
86 template <
typename StatusT = RuleGroupsNamespaceStatus>
101 template <
typename DataT = Aws::Utils::ByteBuffer>
103 m_dataHasBeenSet =
true;
104 m_data = std::forward<DataT>(value);
106 template <
typename DataT = Aws::Utils::ByteBuffer>
108 SetData(std::forward<DataT>(value));
119 template <
typename CreatedAtT = Aws::Utils::DateTime>
121 m_createdAtHasBeenSet =
true;
122 m_createdAt = std::forward<CreatedAtT>(value);
124 template <
typename CreatedAtT = Aws::Utils::DateTime>
138 template <
typename ModifiedAtT = Aws::Utils::DateTime>
140 m_modifiedAtHasBeenSet =
true;
141 m_modifiedAt = std::forward<ModifiedAtT>(value);
143 template <
typename ModifiedAtT = Aws::Utils::DateTime>
157 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
159 m_tagsHasBeenSet =
true;
160 m_tags = std::forward<TagsT>(value);
162 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
164 SetTags(std::forward<TagsT>(value));
167 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
169 m_tagsHasBeenSet =
true;
170 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
188 bool m_arnHasBeenSet =
false;
189 bool m_nameHasBeenSet =
false;
190 bool m_statusHasBeenSet =
false;
191 bool m_dataHasBeenSet =
false;
192 bool m_createdAtHasBeenSet =
false;
193 bool m_modifiedAtHasBeenSet =
false;
194 bool m_tagsHasBeenSet =
false;
bool DataHasBeenSet() const
bool TagsHasBeenSet() const
bool ModifiedAtHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetStatus(StatusT &&value)
const Aws::Utils::ByteBuffer & GetData() const
const Aws::Utils::DateTime & GetCreatedAt() const
RuleGroupsNamespaceDescription & WithStatus(StatusT &&value)
RuleGroupsNamespaceDescription & WithCreatedAt(CreatedAtT &&value)
RuleGroupsNamespaceDescription & WithModifiedAt(ModifiedAtT &&value)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RuleGroupsNamespaceDescription & WithData(DataT &&value)
void SetArn(ArnT &&value)
void SetData(DataT &&value)
const RuleGroupsNamespaceStatus & GetStatus() const
RuleGroupsNamespaceDescription & WithArn(ArnT &&value)
const Aws::String & GetArn() const
bool CreatedAtHasBeenSet() const
RuleGroupsNamespaceDescription & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetName() const
AWS_PROMETHEUSSERVICE_API RuleGroupsNamespaceDescription(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
void SetName(NameT &&value)
AWS_PROMETHEUSSERVICE_API RuleGroupsNamespaceDescription()=default
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
bool ArnHasBeenSet() const
RuleGroupsNamespaceDescription & WithTags(TagsT &&value)
void SetModifiedAt(ModifiedAtT &&value)
AWS_PROMETHEUSSERVICE_API RuleGroupsNamespaceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
RuleGroupsNamespaceDescription & WithName(NameT &&value)
void SetTags(TagsT &&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