AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
SourceDetails.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/AudioSourceDetails.h>
9#include <aws/qbusiness/model/ImageSourceDetails.h>
10#include <aws/qbusiness/model/VideoSourceDetails.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness {
22namespace Model {
23
31 public:
32 AWS_QBUSINESS_API SourceDetails() = default;
35 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const ImageSourceDetails& GetImageSourceDetails() const { return m_imageSourceDetails; }
42 inline bool ImageSourceDetailsHasBeenSet() const { return m_imageSourceDetailsHasBeenSet; }
43 template <typename ImageSourceDetailsT = ImageSourceDetails>
45 m_imageSourceDetailsHasBeenSet = true;
46 m_imageSourceDetails = std::forward<ImageSourceDetailsT>(value);
47 }
48 template <typename ImageSourceDetailsT = ImageSourceDetails>
50 SetImageSourceDetails(std::forward<ImageSourceDetailsT>(value));
51 return *this;
52 }
54
56
59 inline const AudioSourceDetails& GetAudioSourceDetails() const { return m_audioSourceDetails; }
60 inline bool AudioSourceDetailsHasBeenSet() const { return m_audioSourceDetailsHasBeenSet; }
61 template <typename AudioSourceDetailsT = AudioSourceDetails>
63 m_audioSourceDetailsHasBeenSet = true;
64 m_audioSourceDetails = std::forward<AudioSourceDetailsT>(value);
65 }
66 template <typename AudioSourceDetailsT = AudioSourceDetails>
68 SetAudioSourceDetails(std::forward<AudioSourceDetailsT>(value));
69 return *this;
70 }
72
74
77 inline const VideoSourceDetails& GetVideoSourceDetails() const { return m_videoSourceDetails; }
78 inline bool VideoSourceDetailsHasBeenSet() const { return m_videoSourceDetailsHasBeenSet; }
79 template <typename VideoSourceDetailsT = VideoSourceDetails>
81 m_videoSourceDetailsHasBeenSet = true;
82 m_videoSourceDetails = std::forward<VideoSourceDetailsT>(value);
83 }
84 template <typename VideoSourceDetailsT = VideoSourceDetails>
86 SetVideoSourceDetails(std::forward<VideoSourceDetailsT>(value));
87 return *this;
88 }
90 private:
91 ImageSourceDetails m_imageSourceDetails;
92
93 AudioSourceDetails m_audioSourceDetails;
94
95 VideoSourceDetails m_videoSourceDetails;
96 bool m_imageSourceDetailsHasBeenSet = false;
97 bool m_audioSourceDetailsHasBeenSet = false;
98 bool m_videoSourceDetailsHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace QBusiness
103} // namespace Aws
void SetImageSourceDetails(ImageSourceDetailsT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API SourceDetails()=default
SourceDetails & WithVideoSourceDetails(VideoSourceDetailsT &&value)
AWS_QBUSINESS_API SourceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API SourceDetails(Aws::Utils::Json::JsonView jsonValue)
const AudioSourceDetails & GetAudioSourceDetails() const
SourceDetails & WithImageSourceDetails(ImageSourceDetailsT &&value)
SourceDetails & WithAudioSourceDetails(AudioSourceDetailsT &&value)
void SetAudioSourceDetails(AudioSourceDetailsT &&value)
const ImageSourceDetails & GetImageSourceDetails() const
const VideoSourceDetails & GetVideoSourceDetails() const
void SetVideoSourceDetails(VideoSourceDetailsT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue