AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DestinationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
9#include <aws/ivs-realtime/model/ChannelDestinationConfiguration.h>
10#include <aws/ivs-realtime/model/S3DestinationConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ivsrealtime {
22namespace Model {
23
31 public:
32 AWS_IVSREALTIME_API DestinationConfiguration() = default;
35 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
60 inline const ChannelDestinationConfiguration& GetChannel() const { return m_channel; }
61 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
62 template <typename ChannelT = ChannelDestinationConfiguration>
63 void SetChannel(ChannelT&& value) {
64 m_channelHasBeenSet = true;
65 m_channel = std::forward<ChannelT>(value);
66 }
67 template <typename ChannelT = ChannelDestinationConfiguration>
69 SetChannel(std::forward<ChannelT>(value));
70 return *this;
71 }
73
75
79 inline const S3DestinationConfiguration& GetS3() const { return m_s3; }
80 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
81 template <typename S3T = S3DestinationConfiguration>
82 void SetS3(S3T&& value) {
83 m_s3HasBeenSet = true;
84 m_s3 = std::forward<S3T>(value);
85 }
86 template <typename S3T = S3DestinationConfiguration>
88 SetS3(std::forward<S3T>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_name;
94
96
98 bool m_nameHasBeenSet = false;
99 bool m_channelHasBeenSet = false;
100 bool m_s3HasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace ivsrealtime
105} // namespace Aws
AWS_IVSREALTIME_API DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
const ChannelDestinationConfiguration & GetChannel() const
AWS_IVSREALTIME_API DestinationConfiguration()=default
AWS_IVSREALTIME_API DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
DestinationConfiguration & WithChannel(ChannelT &&value)
DestinationConfiguration & WithName(NameT &&value)
const S3DestinationConfiguration & GetS3() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue