AWS SDK for C++

AWS SDK for C++ Version 1.11.830

Loading...
Searching...
No Matches
MetaFlowPreviewInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SocialMessaging {
20namespace Model {
21
29 public:
30 AWS_SOCIALMESSAGING_API MetaFlowPreviewInfo() = default;
31 AWS_SOCIALMESSAGING_API MetaFlowPreviewInfo(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SOCIALMESSAGING_API MetaFlowPreviewInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetPreviewUrl() const { return m_previewUrl; }
41 inline bool PreviewUrlHasBeenSet() const { return m_previewUrlHasBeenSet; }
42 template <typename PreviewUrlT = Aws::String>
43 void SetPreviewUrl(PreviewUrlT&& value) {
44 m_previewUrlHasBeenSet = true;
45 m_previewUrl = std::forward<PreviewUrlT>(value);
46 }
47 template <typename PreviewUrlT = Aws::String>
48 MetaFlowPreviewInfo& WithPreviewUrl(PreviewUrlT&& value) {
49 SetPreviewUrl(std::forward<PreviewUrlT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetExpiresAt() const { return m_expiresAt; }
59 inline bool ExpiresAtHasBeenSet() const { return m_expiresAtHasBeenSet; }
60 template <typename ExpiresAtT = Aws::String>
61 void SetExpiresAt(ExpiresAtT&& value) {
62 m_expiresAtHasBeenSet = true;
63 m_expiresAt = std::forward<ExpiresAtT>(value);
64 }
65 template <typename ExpiresAtT = Aws::String>
66 MetaFlowPreviewInfo& WithExpiresAt(ExpiresAtT&& value) {
67 SetExpiresAt(std::forward<ExpiresAtT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_previewUrl;
73
74 Aws::String m_expiresAt;
75 bool m_previewUrlHasBeenSet = false;
76 bool m_expiresAtHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SocialMessaging
81} // namespace Aws
AWS_SOCIALMESSAGING_API MetaFlowPreviewInfo()=default
MetaFlowPreviewInfo & WithExpiresAt(ExpiresAtT &&value)
AWS_SOCIALMESSAGING_API MetaFlowPreviewInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SOCIALMESSAGING_API MetaFlowPreviewInfo(Aws::Utils::Json::JsonView jsonValue)
MetaFlowPreviewInfo & WithPreviewUrl(PreviewUrlT &&value)
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue