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/core/utils/Array.h>
11#include <aws/amp/model/RuleGroupsNamespaceStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
25namespace 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>
77 template<
typename DataT = Aws::Utils::ByteBuffer>
78 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
79 template<
typename DataT = Aws::Utils::ByteBuffer>
90 template<
typename ModifiedAtT = Aws::Utils::DateTime>
91 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
92 template<
typename ModifiedAtT = Aws::Utils::DateTime>
102 template<
typename NameT = Aws::String>
103 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
104 template<
typename NameT = Aws::String>
114 template<
typename StatusT = RuleGroupsNamespaceStatus>
115 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
116 template<
typename StatusT = RuleGroupsNamespaceStatus>
127 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
129 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
133 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
139 bool m_arnHasBeenSet =
false;
142 bool m_createdAtHasBeenSet =
false;
145 bool m_dataHasBeenSet =
false;
148 bool m_modifiedAtHasBeenSet =
false;
151 bool m_nameHasBeenSet =
false;
153 RuleGroupsNamespaceStatus m_status;
154 bool m_statusHasBeenSet =
false;
157 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