AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SourceDetails.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/ImageSourceDetails.h>
9#include <aws/qbusiness/model/AudioSourceDetails.h>
10#include <aws/qbusiness/model/VideoSourceDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QBusiness
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QBUSINESS_API SourceDetails() = default;
40 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ImageSourceDetails& GetImageSourceDetails() const { return m_imageSourceDetails; }
48 inline bool ImageSourceDetailsHasBeenSet() const { return m_imageSourceDetailsHasBeenSet; }
49 template<typename ImageSourceDetailsT = ImageSourceDetails>
50 void SetImageSourceDetails(ImageSourceDetailsT&& value) { m_imageSourceDetailsHasBeenSet = true; m_imageSourceDetails = std::forward<ImageSourceDetailsT>(value); }
51 template<typename ImageSourceDetailsT = ImageSourceDetails>
52 SourceDetails& WithImageSourceDetails(ImageSourceDetailsT&& value) { SetImageSourceDetails(std::forward<ImageSourceDetailsT>(value)); return *this;}
54
56
59 inline const AudioSourceDetails& GetAudioSourceDetails() const { return m_audioSourceDetails; }
60 inline bool AudioSourceDetailsHasBeenSet() const { return m_audioSourceDetailsHasBeenSet; }
61 template<typename AudioSourceDetailsT = AudioSourceDetails>
62 void SetAudioSourceDetails(AudioSourceDetailsT&& value) { m_audioSourceDetailsHasBeenSet = true; m_audioSourceDetails = std::forward<AudioSourceDetailsT>(value); }
63 template<typename AudioSourceDetailsT = AudioSourceDetails>
64 SourceDetails& WithAudioSourceDetails(AudioSourceDetailsT&& value) { SetAudioSourceDetails(std::forward<AudioSourceDetailsT>(value)); return *this;}
66
68
71 inline const VideoSourceDetails& GetVideoSourceDetails() const { return m_videoSourceDetails; }
72 inline bool VideoSourceDetailsHasBeenSet() const { return m_videoSourceDetailsHasBeenSet; }
73 template<typename VideoSourceDetailsT = VideoSourceDetails>
74 void SetVideoSourceDetails(VideoSourceDetailsT&& value) { m_videoSourceDetailsHasBeenSet = true; m_videoSourceDetails = std::forward<VideoSourceDetailsT>(value); }
75 template<typename VideoSourceDetailsT = VideoSourceDetails>
76 SourceDetails& WithVideoSourceDetails(VideoSourceDetailsT&& value) { SetVideoSourceDetails(std::forward<VideoSourceDetailsT>(value)); return *this;}
78 private:
79
80 ImageSourceDetails m_imageSourceDetails;
81 bool m_imageSourceDetailsHasBeenSet = false;
82
83 AudioSourceDetails m_audioSourceDetails;
84 bool m_audioSourceDetailsHasBeenSet = false;
85
86 VideoSourceDetails m_videoSourceDetails;
87 bool m_videoSourceDetailsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace QBusiness
92} // 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