7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/assurance/model/ConnectionItemKind.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/crt/cbor/Cbor.h>
33 AWS_ASSURANCE_API
ConnectionItem(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_ASSURANCE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
68 m_kindHasBeenSet =
true;
83 template <
typename NameT = Aws::String>
85 m_nameHasBeenSet =
true;
86 m_name = std::forward<NameT>(value);
88 template <
typename NameT = Aws::String>
90 SetName(std::forward<NameT>(value));
103 template <
typename UrlT = Aws::String>
105 m_urlHasBeenSet =
true;
106 m_url = std::forward<UrlT>(value);
108 template <
typename UrlT = Aws::String>
110 SetUrl(std::forward<UrlT>(value));
123 m_sizeBytesHasBeenSet =
true;
139 template <
typename UpdatedAtT = Aws::Utils::DateTime>
141 m_updatedAtHasBeenSet =
true;
142 m_updatedAt = std::forward<UpdatedAtT>(value);
144 template <
typename UpdatedAtT = Aws::Utils::DateTime>
159 long long m_sizeBytes{0};
162 bool m_idHasBeenSet =
false;
163 bool m_kindHasBeenSet =
false;
164 bool m_nameHasBeenSet =
false;
165 bool m_urlHasBeenSet =
false;
166 bool m_sizeBytesHasBeenSet =
false;
167 bool m_updatedAtHasBeenSet =
false;
const Aws::String & GetName() const
bool KindHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
ConnectionItem & WithUpdatedAt(UpdatedAtT &&value)
ConnectionItem & WithId(IdT &&value)
ConnectionItem & WithSizeBytes(long long value)
ConnectionItem & WithUrl(UrlT &&value)
ConnectionItem & WithKind(ConnectionItemKind value)
const Aws::String & GetId() const
AWS_ASSURANCE_API ConnectionItem(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetUrl(UrlT &&value)
ConnectionItemKind GetKind() const
void SetKind(ConnectionItemKind value)
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool UrlHasBeenSet() const
const Aws::String & GetUrl() const
ConnectionItem & WithName(NameT &&value)
AWS_ASSURANCE_API ConnectionItem()=default
void SetSizeBytes(long long value)
bool IdHasBeenSet() const
bool UpdatedAtHasBeenSet() const
bool NameHasBeenSet() const
long long GetSizeBytes() const
bool SizeBytesHasBeenSet() const
void SetName(NameT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
AWS_ASSURANCE_API ConnectionItem & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String