AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DestinationConfigurationRequest.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/InterfaceRequest.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 DestinationConfigurationRequest();
39 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDestinationIp() const{ return m_destinationIp; }
47 inline bool DestinationIpHasBeenSet() const { return m_destinationIpHasBeenSet; }
48 inline void SetDestinationIp(const Aws::String& value) { m_destinationIpHasBeenSet = true; m_destinationIp = value; }
49 inline void SetDestinationIp(Aws::String&& value) { m_destinationIpHasBeenSet = true; m_destinationIp = std::move(value); }
50 inline void SetDestinationIp(const char* value) { m_destinationIpHasBeenSet = true; m_destinationIp.assign(value); }
52 inline DestinationConfigurationRequest& WithDestinationIp(Aws::String&& value) { SetDestinationIp(std::move(value)); return *this;}
53 inline DestinationConfigurationRequest& WithDestinationIp(const char* value) { SetDestinationIp(value); return *this;}
55
57
61 inline int GetDestinationPort() const{ return m_destinationPort; }
62 inline bool DestinationPortHasBeenSet() const { return m_destinationPortHasBeenSet; }
63 inline void SetDestinationPort(int value) { m_destinationPortHasBeenSet = true; m_destinationPort = value; }
66
68
72 inline const InterfaceRequest& GetInterface() const{ return m_interface; }
73 inline bool InterfaceHasBeenSet() const { return m_interfaceHasBeenSet; }
74 inline void SetInterface(const InterfaceRequest& value) { m_interfaceHasBeenSet = true; m_interface = value; }
75 inline void SetInterface(InterfaceRequest&& value) { m_interfaceHasBeenSet = true; m_interface = std::move(value); }
76 inline DestinationConfigurationRequest& WithInterface(const InterfaceRequest& value) { SetInterface(value); return *this;}
77 inline DestinationConfigurationRequest& WithInterface(InterfaceRequest&& value) { SetInterface(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_destinationIp;
82 bool m_destinationIpHasBeenSet = false;
83
84 int m_destinationPort;
85 bool m_destinationPortHasBeenSet = false;
86
87 InterfaceRequest m_interface;
88 bool m_interfaceHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace MediaConnect
93} // namespace Aws
DestinationConfigurationRequest & WithDestinationIp(Aws::String &&value)
AWS_MEDIACONNECT_API DestinationConfigurationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
DestinationConfigurationRequest & WithDestinationIp(const char *value)
DestinationConfigurationRequest & WithInterface(const InterfaceRequest &value)
DestinationConfigurationRequest & WithInterface(InterfaceRequest &&value)
AWS_MEDIACONNECT_API DestinationConfigurationRequest(Aws::Utils::Json::JsonView jsonValue)
DestinationConfigurationRequest & WithDestinationIp(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue