7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/partnercentral-marketing/PartnerCentralMarketing_EXPORTS.h>
10#include <aws/partnercentral-marketing/model/LayoutFormat.h>
11#include <aws/partnercentral-marketing/model/LayoutPageType.h>
21namespace PartnerCentralMarketing {
38 AWS_PARTNERCENTRALMARKETING_API
LayoutPreview(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
39 AWS_PARTNERCENTRALMARKETING_API
LayoutPreview&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
40 AWS_PARTNERCENTRALMARKETING_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
49 m_formatHasBeenSet =
true;
64 template <
typename UrlT = Aws::String>
66 m_urlHasBeenSet =
true;
67 m_url = std::forward<UrlT>(value);
69 template <
typename UrlT = Aws::String>
71 SetUrl(std::forward<UrlT>(value));
88 m_pageTypeHasBeenSet =
true;
102 bool m_formatHasBeenSet =
false;
103 bool m_urlHasBeenSet =
false;
104 bool m_pageTypeHasBeenSet =
false;
LayoutPreview & WithUrl(UrlT &&value)
bool PageTypeHasBeenSet() const
LayoutPageType GetPageType() const
LayoutPreview & WithFormat(LayoutFormat value)
AWS_PARTNERCENTRALMARKETING_API LayoutPreview()=default
void SetPageType(LayoutPageType value)
bool UrlHasBeenSet() const
AWS_PARTNERCENTRALMARKETING_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool FormatHasBeenSet() const
AWS_PARTNERCENTRALMARKETING_API LayoutPreview & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
LayoutPreview & WithPageType(LayoutPageType value)
void SetUrl(UrlT &&value)
LayoutFormat GetFormat() const
const Aws::String & GetUrl() const
AWS_PARTNERCENTRALMARKETING_API LayoutPreview(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetFormat(LayoutFormat value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String