7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/crt/cbor/Cbor.h>
21namespace CloudWatchOmni {
32 AWS_CLOUDWATCHOMNI_API
OmniDashboard(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename DashboardIdT = Aws::String>
44 m_dashboardIdHasBeenSet =
true;
45 m_dashboardId = std::forward<DashboardIdT>(value);
47 template <
typename DashboardIdT = Aws::String>
60 template <
typename ArnT = Aws::String>
62 m_arnHasBeenSet =
true;
63 m_arn = std::forward<ArnT>(value);
65 template <
typename ArnT = Aws::String>
67 SetArn(std::forward<ArnT>(value));
78 template <
typename NameT = Aws::String>
80 m_nameHasBeenSet =
true;
81 m_name = std::forward<NameT>(value);
83 template <
typename NameT = Aws::String>
85 SetName(std::forward<NameT>(value));
96 template <
typename BodyT = Aws::String>
98 m_bodyHasBeenSet =
true;
99 m_body = std::forward<BodyT>(value);
101 template <
typename BodyT = Aws::String>
103 SetBody(std::forward<BodyT>(value));
114 template <
typename CreatedByT = Aws::String>
116 m_createdByHasBeenSet =
true;
117 m_createdBy = std::forward<CreatedByT>(value);
119 template <
typename CreatedByT = Aws::String>
132 template <
typename DescriptionT = Aws::String>
134 m_descriptionHasBeenSet =
true;
135 m_description = std::forward<DescriptionT>(value);
137 template <
typename DescriptionT = Aws::String>
150 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
152 m_tagsHasBeenSet =
true;
153 m_tags = std::forward<TagsT>(value);
155 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 SetTags(std::forward<TagsT>(value));
160 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
162 m_tagsHasBeenSet =
true;
163 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
174 template <
typename CreatedAtT = Aws::Utils::DateTime>
176 m_createdAtHasBeenSet =
true;
177 m_createdAt = std::forward<CreatedAtT>(value);
179 template <
typename CreatedAtT = Aws::Utils::DateTime>
192 template <
typename UpdatedAtT = Aws::Utils::DateTime>
194 m_updatedAtHasBeenSet =
true;
195 m_updatedAt = std::forward<UpdatedAtT>(value);
197 template <
typename UpdatedAtT = Aws::Utils::DateTime>
221 bool m_dashboardIdHasBeenSet =
false;
222 bool m_arnHasBeenSet =
false;
223 bool m_nameHasBeenSet =
false;
224 bool m_bodyHasBeenSet =
false;
225 bool m_createdByHasBeenSet =
false;
226 bool m_descriptionHasBeenSet =
false;
227 bool m_tagsHasBeenSet =
false;
228 bool m_createdAtHasBeenSet =
false;
229 bool m_updatedAtHasBeenSet =
false;
AWS_CLOUDWATCHOMNI_API OmniDashboard()=default
void SetUpdatedAt(UpdatedAtT &&value)
bool DescriptionHasBeenSet() const
void SetBody(BodyT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ArnHasBeenSet() const
void SetDashboardId(DashboardIdT &&value)
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
AWS_CLOUDWATCHOMNI_API OmniDashboard & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool BodyHasBeenSet() const
void SetCreatedBy(CreatedByT &&value)
OmniDashboard & WithCreatedAt(CreatedAtT &&value)
bool DashboardIdHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
OmniDashboard & WithDashboardId(DashboardIdT &&value)
OmniDashboard & WithName(NameT &&value)
AWS_CLOUDWATCHOMNI_API OmniDashboard(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
OmniDashboard & WithCreatedBy(CreatedByT &&value)
OmniDashboard & WithTags(TagsT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool CreatedByHasBeenSet() const
const Aws::String & GetDescription() const
OmniDashboard & WithUpdatedAt(UpdatedAtT &&value)
OmniDashboard & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetArn() const
bool TagsHasBeenSet() const
const Aws::String & GetCreatedBy() const
OmniDashboard & WithDescription(DescriptionT &&value)
const Aws::String & GetName() const
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetDashboardId() const
OmniDashboard & WithArn(ArnT &&value)
bool CreatedAtHasBeenSet() const
const Aws::String & GetBody() const
bool NameHasBeenSet() const
OmniDashboard & WithBody(BodyT &&value)
void SetArn(ArnT &&value)
bool UpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
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