AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediaconnect/model/Interface.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConnect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIACONNECT_API InputConfiguration();
37 AWS_MEDIACONNECT_API InputConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetInputIp() const{ return m_inputIp; }
47 inline bool InputIpHasBeenSet() const { return m_inputIpHasBeenSet; }
48 inline void SetInputIp(const Aws::String& value) { m_inputIpHasBeenSet = true; m_inputIp = value; }
49 inline void SetInputIp(Aws::String&& value) { m_inputIpHasBeenSet = true; m_inputIp = std::move(value); }
50 inline void SetInputIp(const char* value) { m_inputIpHasBeenSet = true; m_inputIp.assign(value); }
51 inline InputConfiguration& WithInputIp(const Aws::String& value) { SetInputIp(value); return *this;}
52 inline InputConfiguration& WithInputIp(Aws::String&& value) { SetInputIp(std::move(value)); return *this;}
53 inline InputConfiguration& WithInputIp(const char* value) { SetInputIp(value); return *this;}
55
57
60 inline int GetInputPort() const{ return m_inputPort; }
61 inline bool InputPortHasBeenSet() const { return m_inputPortHasBeenSet; }
62 inline void SetInputPort(int value) { m_inputPortHasBeenSet = true; m_inputPort = value; }
63 inline InputConfiguration& WithInputPort(int value) { SetInputPort(value); return *this;}
65
67
70 inline const Interface& GetInterface() const{ return m_interface; }
71 inline bool InterfaceHasBeenSet() const { return m_interfaceHasBeenSet; }
72 inline void SetInterface(const Interface& value) { m_interfaceHasBeenSet = true; m_interface = value; }
73 inline void SetInterface(Interface&& value) { m_interfaceHasBeenSet = true; m_interface = std::move(value); }
74 inline InputConfiguration& WithInterface(const Interface& value) { SetInterface(value); return *this;}
75 inline InputConfiguration& WithInterface(Interface&& value) { SetInterface(std::move(value)); return *this;}
77 private:
78
79 Aws::String m_inputIp;
80 bool m_inputIpHasBeenSet = false;
81
82 int m_inputPort;
83 bool m_inputPortHasBeenSet = false;
84
85 Interface m_interface;
86 bool m_interfaceHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace MediaConnect
91} // namespace Aws
AWS_MEDIACONNECT_API InputConfiguration(Aws::Utils::Json::JsonView jsonValue)
InputConfiguration & WithInputIp(Aws::String &&value)
InputConfiguration & WithInputPort(int value)
InputConfiguration & WithInterface(Interface &&value)
InputConfiguration & WithInterface(const Interface &value)
InputConfiguration & WithInputIp(const Aws::String &value)
AWS_MEDIACONNECT_API InputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
InputConfiguration & WithInputIp(const char *value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue