AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
48 inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
49 inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
50 inline InputDeviceMediaConnectSettings& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
51 inline InputDeviceMediaConnectSettings& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
52 inline InputDeviceMediaConnectSettings& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
54
56
60 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
61 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
62 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
63 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
64 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
65 inline InputDeviceMediaConnectSettings& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
66 inline InputDeviceMediaConnectSettings& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
67 inline InputDeviceMediaConnectSettings& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
69
71
74 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
75 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
76 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
77 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
78 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
79 inline InputDeviceMediaConnectSettings& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
80 inline InputDeviceMediaConnectSettings& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
81 inline InputDeviceMediaConnectSettings& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
83
85
88 inline const Aws::String& GetSourceName() const{ return m_sourceName; }
89 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
90 inline void SetSourceName(const Aws::String& value) { m_sourceNameHasBeenSet = true; m_sourceName = value; }
91 inline void SetSourceName(Aws::String&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::move(value); }
92 inline void SetSourceName(const char* value) { m_sourceNameHasBeenSet = true; m_sourceName.assign(value); }
93 inline InputDeviceMediaConnectSettings& WithSourceName(const Aws::String& value) { SetSourceName(value); return *this;}
94 inline InputDeviceMediaConnectSettings& WithSourceName(Aws::String&& value) { SetSourceName(std::move(value)); return *this;}
95 inline InputDeviceMediaConnectSettings& WithSourceName(const char* value) { SetSourceName(value); return *this;}
97 private:
98
99 Aws::String m_flowArn;
100 bool m_flowArnHasBeenSet = false;
101
102 Aws::String m_roleArn;
103 bool m_roleArnHasBeenSet = false;
104
105 Aws::String m_secretArn;
106 bool m_secretArnHasBeenSet = false;
107
108 Aws::String m_sourceName;
109 bool m_sourceNameHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace MediaLive
114} // namespace Aws
InputDeviceMediaConnectSettings & WithFlowArn(const char *value)
InputDeviceMediaConnectSettings & WithRoleArn(const Aws::String &value)
InputDeviceMediaConnectSettings & WithSourceName(const char *value)
InputDeviceMediaConnectSettings & WithSourceName(Aws::String &&value)
InputDeviceMediaConnectSettings & WithFlowArn(Aws::String &&value)
InputDeviceMediaConnectSettings & WithRoleArn(const char *value)
InputDeviceMediaConnectSettings & WithFlowArn(const Aws::String &value)
InputDeviceMediaConnectSettings & WithSecretArn(const char *value)
InputDeviceMediaConnectSettings & WithRoleArn(Aws::String &&value)
InputDeviceMediaConnectSettings & WithSourceName(const Aws::String &value)
AWS_MEDIALIVE_API InputDeviceMediaConnectSettings(Aws::Utils::Json::JsonView jsonValue)
InputDeviceMediaConnectSettings & WithSecretArn(Aws::String &&value)
AWS_MEDIALIVE_API InputDeviceMediaConnectSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputDeviceMediaConnectSettings & WithSecretArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue