AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline DestinationConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline DestinationConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline DestinationConfiguration& WithName(const char* value) { SetName(value); return *this;}
56
58
62 inline const ChannelDestinationConfiguration& GetChannel() const{ return m_channel; }
63 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
64 inline void SetChannel(const ChannelDestinationConfiguration& value) { m_channelHasBeenSet = true; m_channel = value; }
65 inline void SetChannel(ChannelDestinationConfiguration&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); }
67 inline DestinationConfiguration& WithChannel(ChannelDestinationConfiguration&& value) { SetChannel(std::move(value)); return *this;}
69
71
75 inline const S3DestinationConfiguration& GetS3() const{ return m_s3; }
76 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
77 inline void SetS3(const S3DestinationConfiguration& value) { m_s3HasBeenSet = true; m_s3 = value; }
78 inline void SetS3(S3DestinationConfiguration&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
79 inline DestinationConfiguration& WithS3(const S3DestinationConfiguration& value) { SetS3(value); return *this;}
80 inline DestinationConfiguration& WithS3(S3DestinationConfiguration&& value) { SetS3(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
88 bool m_channelHasBeenSet = false;
89
91 bool m_s3HasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ivsrealtime
96} // namespace Aws
DestinationConfiguration & WithName(Aws::String &&value)
void SetS3(const S3DestinationConfiguration &value)
void SetChannel(const ChannelDestinationConfiguration &value)
AWS_IVSREALTIME_API DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
DestinationConfiguration & WithS3(const S3DestinationConfiguration &value)
void SetChannel(ChannelDestinationConfiguration &&value)
DestinationConfiguration & WithName(const Aws::String &value)
const ChannelDestinationConfiguration & GetChannel() const
AWS_IVSREALTIME_API DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DestinationConfiguration & WithName(const char *value)
DestinationConfiguration & WithChannel(ChannelDestinationConfiguration &&value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
DestinationConfiguration & WithChannel(const ChannelDestinationConfiguration &value)
DestinationConfiguration & WithS3(S3DestinationConfiguration &&value)
const S3DestinationConfiguration & GetS3() const
void SetS3(S3DestinationConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue