AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
InputDeviceMediaConnectSettings.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 InputDeviceMediaConnectSettings() = default;
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
46 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
47 template<typename FlowArnT = Aws::String>
48 void SetFlowArn(FlowArnT&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::forward<FlowArnT>(value); }
49 template<typename FlowArnT = Aws::String>
50 InputDeviceMediaConnectSettings& WithFlowArn(FlowArnT&& value) { SetFlowArn(std::forward<FlowArnT>(value)); return *this;}
52
54
58 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
59 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
60 template<typename RoleArnT = Aws::String>
61 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
62 template<typename RoleArnT = Aws::String>
63 InputDeviceMediaConnectSettings& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
65
67
70 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
71 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
72 template<typename SecretArnT = Aws::String>
73 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::forward<SecretArnT>(value); }
74 template<typename SecretArnT = Aws::String>
75 InputDeviceMediaConnectSettings& WithSecretArn(SecretArnT&& value) { SetSecretArn(std::forward<SecretArnT>(value)); return *this;}
77
79
82 inline const Aws::String& GetSourceName() const { return m_sourceName; }
83 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
84 template<typename SourceNameT = Aws::String>
85 void SetSourceName(SourceNameT&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::forward<SourceNameT>(value); }
86 template<typename SourceNameT = Aws::String>
87 InputDeviceMediaConnectSettings& WithSourceName(SourceNameT&& value) { SetSourceName(std::forward<SourceNameT>(value)); return *this;}
89 private:
90
91 Aws::String m_flowArn;
92 bool m_flowArnHasBeenSet = false;
93
94 Aws::String m_roleArn;
95 bool m_roleArnHasBeenSet = false;
96
97 Aws::String m_secretArn;
98 bool m_secretArnHasBeenSet = false;
99
100 Aws::String m_sourceName;
101 bool m_sourceNameHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace MediaLive
106} // namespace Aws
InputDeviceMediaConnectSettings & WithSecretArn(SecretArnT &&value)
InputDeviceMediaConnectSettings & WithSourceName(SourceNameT &&value)
AWS_MEDIALIVE_API InputDeviceMediaConnectSettings()=default
InputDeviceMediaConnectSettings & WithRoleArn(RoleArnT &&value)
AWS_MEDIALIVE_API InputDeviceMediaConnectSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API InputDeviceMediaConnectSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
InputDeviceMediaConnectSettings & WithFlowArn(FlowArnT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue