AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DestinationConfiguration.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs-realtime/model/ChannelDestinationConfiguration.h>
10#include <aws/ivs-realtime/model/S3DestinationConfiguration.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 ivsrealtime
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IVSREALTIME_API DestinationConfiguration() = default;
40 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 DestinationConfiguration& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_channelHasBeenSet = true; m_channel = std::forward<ChannelT>(value); }
64 template<typename ChannelT = ChannelDestinationConfiguration>
65 DestinationConfiguration& WithChannel(ChannelT&& value) { SetChannel(std::forward<ChannelT>(value)); return *this;}
67
69
73 inline const S3DestinationConfiguration& GetS3() const { return m_s3; }
74 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
75 template<typename S3T = S3DestinationConfiguration>
76 void SetS3(S3T&& value) { m_s3HasBeenSet = true; m_s3 = std::forward<S3T>(value); }
77 template<typename S3T = S3DestinationConfiguration>
78 DestinationConfiguration& WithS3(S3T&& value) { SetS3(std::forward<S3T>(value)); return *this;}
80 private:
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84
86 bool m_channelHasBeenSet = false;
87
89 bool m_s3HasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace ivsrealtime
94} // 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