AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
InputDeviceMediaConnectSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive {
20namespace Model {
21
29 public:
30 AWS_MEDIALIVE_API InputDeviceMediaConnectSettings() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
40 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
41 template <typename FlowArnT = Aws::String>
42 void SetFlowArn(FlowArnT&& value) {
43 m_flowArnHasBeenSet = true;
44 m_flowArn = std::forward<FlowArnT>(value);
45 }
46 template <typename FlowArnT = Aws::String>
48 SetFlowArn(std::forward<FlowArnT>(value));
49 return *this;
50 }
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) {
62 m_roleArnHasBeenSet = true;
63 m_roleArn = std::forward<RoleArnT>(value);
64 }
65 template <typename RoleArnT = Aws::String>
67 SetRoleArn(std::forward<RoleArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
77 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
78 template <typename SecretArnT = Aws::String>
79 void SetSecretArn(SecretArnT&& value) {
80 m_secretArnHasBeenSet = true;
81 m_secretArn = std::forward<SecretArnT>(value);
82 }
83 template <typename SecretArnT = Aws::String>
85 SetSecretArn(std::forward<SecretArnT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetSourceName() const { return m_sourceName; }
95 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
96 template <typename SourceNameT = Aws::String>
97 void SetSourceName(SourceNameT&& value) {
98 m_sourceNameHasBeenSet = true;
99 m_sourceName = std::forward<SourceNameT>(value);
100 }
101 template <typename SourceNameT = Aws::String>
103 SetSourceName(std::forward<SourceNameT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_flowArn;
109
110 Aws::String m_roleArn;
111
112 Aws::String m_secretArn;
113
114 Aws::String m_sourceName;
115 bool m_flowArnHasBeenSet = false;
116 bool m_roleArnHasBeenSet = false;
117 bool m_secretArnHasBeenSet = false;
118 bool m_sourceNameHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace MediaLive
123} // 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