AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputConfigurationRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/InterfaceRequest.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 MediaConnect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIACONNECT_API InputConfigurationRequest();
38 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetInputPort() const{ return m_inputPort; }
46 inline bool InputPortHasBeenSet() const { return m_inputPortHasBeenSet; }
47 inline void SetInputPort(int value) { m_inputPortHasBeenSet = true; m_inputPort = value; }
48 inline InputConfigurationRequest& WithInputPort(int value) { SetInputPort(value); return *this;}
50
52
55 inline const InterfaceRequest& GetInterface() const{ return m_interface; }
56 inline bool InterfaceHasBeenSet() const { return m_interfaceHasBeenSet; }
57 inline void SetInterface(const InterfaceRequest& value) { m_interfaceHasBeenSet = true; m_interface = value; }
58 inline void SetInterface(InterfaceRequest&& value) { m_interfaceHasBeenSet = true; m_interface = std::move(value); }
59 inline InputConfigurationRequest& WithInterface(const InterfaceRequest& value) { SetInterface(value); return *this;}
60 inline InputConfigurationRequest& WithInterface(InterfaceRequest&& value) { SetInterface(std::move(value)); return *this;}
62 private:
63
64 int m_inputPort;
65 bool m_inputPortHasBeenSet = false;
66
67 InterfaceRequest m_interface;
68 bool m_interfaceHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace MediaConnect
73} // namespace Aws
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
InputConfigurationRequest & WithInterface(InterfaceRequest &&value)
InputConfigurationRequest & WithInterface(const InterfaceRequest &value)
AWS_MEDIACONNECT_API InputConfigurationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API InputConfigurationRequest(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue