AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3DestinationConfiguration.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/core/utils/memory/stl/AWSVector.h>
10#include <aws/ivs-realtime/model/RecordingConfiguration.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 S3DestinationConfiguration();
40 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetStorageConfigurationArn() const{ return m_storageConfigurationArn; }
49 inline bool StorageConfigurationArnHasBeenSet() const { return m_storageConfigurationArnHasBeenSet; }
50 inline void SetStorageConfigurationArn(const Aws::String& value) { m_storageConfigurationArnHasBeenSet = true; m_storageConfigurationArn = value; }
51 inline void SetStorageConfigurationArn(Aws::String&& value) { m_storageConfigurationArnHasBeenSet = true; m_storageConfigurationArn = std::move(value); }
52 inline void SetStorageConfigurationArn(const char* value) { m_storageConfigurationArnHasBeenSet = true; m_storageConfigurationArn.assign(value); }
55 inline S3DestinationConfiguration& WithStorageConfigurationArn(const char* value) { SetStorageConfigurationArn(value); return *this;}
57
59
63 inline const Aws::Vector<Aws::String>& GetEncoderConfigurationArns() const{ return m_encoderConfigurationArns; }
64 inline bool EncoderConfigurationArnsHasBeenSet() const { return m_encoderConfigurationArnsHasBeenSet; }
65 inline void SetEncoderConfigurationArns(const Aws::Vector<Aws::String>& value) { m_encoderConfigurationArnsHasBeenSet = true; m_encoderConfigurationArns = value; }
66 inline void SetEncoderConfigurationArns(Aws::Vector<Aws::String>&& value) { m_encoderConfigurationArnsHasBeenSet = true; m_encoderConfigurationArns = std::move(value); }
69 inline S3DestinationConfiguration& AddEncoderConfigurationArns(const Aws::String& value) { m_encoderConfigurationArnsHasBeenSet = true; m_encoderConfigurationArns.push_back(value); return *this; }
70 inline S3DestinationConfiguration& AddEncoderConfigurationArns(Aws::String&& value) { m_encoderConfigurationArnsHasBeenSet = true; m_encoderConfigurationArns.push_back(std::move(value)); return *this; }
71 inline S3DestinationConfiguration& AddEncoderConfigurationArns(const char* value) { m_encoderConfigurationArnsHasBeenSet = true; m_encoderConfigurationArns.push_back(value); return *this; }
73
75
80 inline const RecordingConfiguration& GetRecordingConfiguration() const{ return m_recordingConfiguration; }
81 inline bool RecordingConfigurationHasBeenSet() const { return m_recordingConfigurationHasBeenSet; }
82 inline void SetRecordingConfiguration(const RecordingConfiguration& value) { m_recordingConfigurationHasBeenSet = true; m_recordingConfiguration = value; }
83 inline void SetRecordingConfiguration(RecordingConfiguration&& value) { m_recordingConfigurationHasBeenSet = true; m_recordingConfiguration = std::move(value); }
87 private:
88
89 Aws::String m_storageConfigurationArn;
90 bool m_storageConfigurationArnHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_encoderConfigurationArns;
93 bool m_encoderConfigurationArnsHasBeenSet = false;
94
95 RecordingConfiguration m_recordingConfiguration;
96 bool m_recordingConfigurationHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace ivsrealtime
101} // namespace Aws
S3DestinationConfiguration & WithStorageConfigurationArn(const char *value)
const Aws::Vector< Aws::String > & GetEncoderConfigurationArns() const
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
S3DestinationConfiguration & WithEncoderConfigurationArns(Aws::Vector< Aws::String > &&value)
S3DestinationConfiguration & AddEncoderConfigurationArns(const Aws::String &value)
void SetRecordingConfiguration(const RecordingConfiguration &value)
S3DestinationConfiguration & WithEncoderConfigurationArns(const Aws::Vector< Aws::String > &value)
void SetEncoderConfigurationArns(const Aws::Vector< Aws::String > &value)
S3DestinationConfiguration & AddEncoderConfigurationArns(Aws::String &&value)
S3DestinationConfiguration & WithRecordingConfiguration(const RecordingConfiguration &value)
S3DestinationConfiguration & WithRecordingConfiguration(RecordingConfiguration &&value)
void SetRecordingConfiguration(RecordingConfiguration &&value)
AWS_IVSREALTIME_API S3DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
S3DestinationConfiguration & WithStorageConfigurationArn(const Aws::String &value)
void SetEncoderConfigurationArns(Aws::Vector< Aws::String > &&value)
S3DestinationConfiguration & WithStorageConfigurationArn(Aws::String &&value)
const RecordingConfiguration & GetRecordingConfiguration() const
AWS_IVSREALTIME_API S3DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
S3DestinationConfiguration & AddEncoderConfigurationArns(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue