AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SrtOutputDestinationSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIALIVE_API SrtOutputDestinationSettings();
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEncryptionPassphraseSecretArn() const{ return m_encryptionPassphraseSecretArn; }
46 inline bool EncryptionPassphraseSecretArnHasBeenSet() const { return m_encryptionPassphraseSecretArnHasBeenSet; }
47 inline void SetEncryptionPassphraseSecretArn(const Aws::String& value) { m_encryptionPassphraseSecretArnHasBeenSet = true; m_encryptionPassphraseSecretArn = value; }
48 inline void SetEncryptionPassphraseSecretArn(Aws::String&& value) { m_encryptionPassphraseSecretArnHasBeenSet = true; m_encryptionPassphraseSecretArn = std::move(value); }
49 inline void SetEncryptionPassphraseSecretArn(const char* value) { m_encryptionPassphraseSecretArnHasBeenSet = true; m_encryptionPassphraseSecretArn.assign(value); }
54
56
59 inline const Aws::String& GetStreamId() const{ return m_streamId; }
60 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
61 inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
62 inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
63 inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
64 inline SrtOutputDestinationSettings& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
65 inline SrtOutputDestinationSettings& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
66 inline SrtOutputDestinationSettings& WithStreamId(const char* value) { SetStreamId(value); return *this;}
68
70
73 inline const Aws::String& GetUrl() const{ return m_url; }
74 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
75 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
76 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
77 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
78 inline SrtOutputDestinationSettings& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
79 inline SrtOutputDestinationSettings& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
80 inline SrtOutputDestinationSettings& WithUrl(const char* value) { SetUrl(value); return *this;}
82 private:
83
84 Aws::String m_encryptionPassphraseSecretArn;
85 bool m_encryptionPassphraseSecretArnHasBeenSet = false;
86
87 Aws::String m_streamId;
88 bool m_streamIdHasBeenSet = false;
89
90 Aws::String m_url;
91 bool m_urlHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace MediaLive
96} // namespace Aws
SrtOutputDestinationSettings & WithEncryptionPassphraseSecretArn(const Aws::String &value)
SrtOutputDestinationSettings & WithEncryptionPassphraseSecretArn(const char *value)
SrtOutputDestinationSettings & WithEncryptionPassphraseSecretArn(Aws::String &&value)
AWS_MEDIALIVE_API SrtOutputDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
SrtOutputDestinationSettings & WithUrl(Aws::String &&value)
SrtOutputDestinationSettings & WithStreamId(Aws::String &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
SrtOutputDestinationSettings & WithStreamId(const char *value)
AWS_MEDIALIVE_API SrtOutputDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
SrtOutputDestinationSettings & WithUrl(const char *value)
SrtOutputDestinationSettings & WithUrl(const Aws::String &value)
SrtOutputDestinationSettings & WithStreamId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue