AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
InputDestinationRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/medialive/model/InputRequestDestinationRoute.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIALIVE_API InputDestinationRequest() = default;
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetStreamName() const { return m_streamName; }
48 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
49 template<typename StreamNameT = Aws::String>
50 void SetStreamName(StreamNameT&& value) { m_streamNameHasBeenSet = true; m_streamName = std::forward<StreamNameT>(value); }
51 template<typename StreamNameT = Aws::String>
52 InputDestinationRequest& WithStreamName(StreamNameT&& value) { SetStreamName(std::forward<StreamNameT>(value)); return *this;}
54
56
60 inline const Aws::String& GetNetwork() const { return m_network; }
61 inline bool NetworkHasBeenSet() const { return m_networkHasBeenSet; }
62 template<typename NetworkT = Aws::String>
63 void SetNetwork(NetworkT&& value) { m_networkHasBeenSet = true; m_network = std::forward<NetworkT>(value); }
64 template<typename NetworkT = Aws::String>
65 InputDestinationRequest& WithNetwork(NetworkT&& value) { SetNetwork(std::forward<NetworkT>(value)); return *this;}
67
69
74 inline const Aws::Vector<InputRequestDestinationRoute>& GetNetworkRoutes() const { return m_networkRoutes; }
75 inline bool NetworkRoutesHasBeenSet() const { return m_networkRoutesHasBeenSet; }
76 template<typename NetworkRoutesT = Aws::Vector<InputRequestDestinationRoute>>
77 void SetNetworkRoutes(NetworkRoutesT&& value) { m_networkRoutesHasBeenSet = true; m_networkRoutes = std::forward<NetworkRoutesT>(value); }
78 template<typename NetworkRoutesT = Aws::Vector<InputRequestDestinationRoute>>
79 InputDestinationRequest& WithNetworkRoutes(NetworkRoutesT&& value) { SetNetworkRoutes(std::forward<NetworkRoutesT>(value)); return *this;}
80 template<typename NetworkRoutesT = InputRequestDestinationRoute>
81 InputDestinationRequest& AddNetworkRoutes(NetworkRoutesT&& value) { m_networkRoutesHasBeenSet = true; m_networkRoutes.emplace_back(std::forward<NetworkRoutesT>(value)); return *this; }
83
85
90 inline const Aws::String& GetStaticIpAddress() const { return m_staticIpAddress; }
91 inline bool StaticIpAddressHasBeenSet() const { return m_staticIpAddressHasBeenSet; }
92 template<typename StaticIpAddressT = Aws::String>
93 void SetStaticIpAddress(StaticIpAddressT&& value) { m_staticIpAddressHasBeenSet = true; m_staticIpAddress = std::forward<StaticIpAddressT>(value); }
94 template<typename StaticIpAddressT = Aws::String>
95 InputDestinationRequest& WithStaticIpAddress(StaticIpAddressT&& value) { SetStaticIpAddress(std::forward<StaticIpAddressT>(value)); return *this;}
97 private:
98
99 Aws::String m_streamName;
100 bool m_streamNameHasBeenSet = false;
101
102 Aws::String m_network;
103 bool m_networkHasBeenSet = false;
104
106 bool m_networkRoutesHasBeenSet = false;
107
108 Aws::String m_staticIpAddress;
109 bool m_staticIpAddressHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace MediaLive
114} // namespace Aws
const Aws::Vector< InputRequestDestinationRoute > & GetNetworkRoutes() const
InputDestinationRequest & WithNetwork(NetworkT &&value)
AWS_MEDIALIVE_API InputDestinationRequest(Aws::Utils::Json::JsonView jsonValue)
InputDestinationRequest & WithStaticIpAddress(StaticIpAddressT &&value)
AWS_MEDIALIVE_API InputDestinationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
InputDestinationRequest & WithNetworkRoutes(NetworkRoutesT &&value)
AWS_MEDIALIVE_API InputDestinationRequest()=default
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputDestinationRequest & AddNetworkRoutes(NetworkRoutesT &&value)
InputDestinationRequest & WithStreamName(StreamNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue