AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
50 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
51 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
52 inline InputDestinationRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
53 inline InputDestinationRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
54 inline InputDestinationRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
56
58
62 inline const Aws::String& GetNetwork() const{ return m_network; }
63 inline bool NetworkHasBeenSet() const { return m_networkHasBeenSet; }
64 inline void SetNetwork(const Aws::String& value) { m_networkHasBeenSet = true; m_network = value; }
65 inline void SetNetwork(Aws::String&& value) { m_networkHasBeenSet = true; m_network = std::move(value); }
66 inline void SetNetwork(const char* value) { m_networkHasBeenSet = true; m_network.assign(value); }
67 inline InputDestinationRequest& WithNetwork(const Aws::String& value) { SetNetwork(value); return *this;}
68 inline InputDestinationRequest& WithNetwork(Aws::String&& value) { SetNetwork(std::move(value)); return *this;}
69 inline InputDestinationRequest& WithNetwork(const char* value) { SetNetwork(value); return *this;}
71
73
78 inline const Aws::Vector<InputRequestDestinationRoute>& GetNetworkRoutes() const{ return m_networkRoutes; }
79 inline bool NetworkRoutesHasBeenSet() const { return m_networkRoutesHasBeenSet; }
80 inline void SetNetworkRoutes(const Aws::Vector<InputRequestDestinationRoute>& value) { m_networkRoutesHasBeenSet = true; m_networkRoutes = value; }
81 inline void SetNetworkRoutes(Aws::Vector<InputRequestDestinationRoute>&& value) { m_networkRoutesHasBeenSet = true; m_networkRoutes = std::move(value); }
84 inline InputDestinationRequest& AddNetworkRoutes(const InputRequestDestinationRoute& value) { m_networkRoutesHasBeenSet = true; m_networkRoutes.push_back(value); return *this; }
85 inline InputDestinationRequest& AddNetworkRoutes(InputRequestDestinationRoute&& value) { m_networkRoutesHasBeenSet = true; m_networkRoutes.push_back(std::move(value)); return *this; }
87
89
94 inline const Aws::String& GetStaticIpAddress() const{ return m_staticIpAddress; }
95 inline bool StaticIpAddressHasBeenSet() const { return m_staticIpAddressHasBeenSet; }
96 inline void SetStaticIpAddress(const Aws::String& value) { m_staticIpAddressHasBeenSet = true; m_staticIpAddress = value; }
97 inline void SetStaticIpAddress(Aws::String&& value) { m_staticIpAddressHasBeenSet = true; m_staticIpAddress = std::move(value); }
98 inline void SetStaticIpAddress(const char* value) { m_staticIpAddressHasBeenSet = true; m_staticIpAddress.assign(value); }
99 inline InputDestinationRequest& WithStaticIpAddress(const Aws::String& value) { SetStaticIpAddress(value); return *this;}
100 inline InputDestinationRequest& WithStaticIpAddress(Aws::String&& value) { SetStaticIpAddress(std::move(value)); return *this;}
101 inline InputDestinationRequest& WithStaticIpAddress(const char* value) { SetStaticIpAddress(value); return *this;}
103 private:
104
105 Aws::String m_streamName;
106 bool m_streamNameHasBeenSet = false;
107
108 Aws::String m_network;
109 bool m_networkHasBeenSet = false;
110
112 bool m_networkRoutesHasBeenSet = false;
113
114 Aws::String m_staticIpAddress;
115 bool m_staticIpAddressHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace MediaLive
120} // namespace Aws
InputDestinationRequest & WithStaticIpAddress(const char *value)
InputDestinationRequest & AddNetworkRoutes(const InputRequestDestinationRoute &value)
InputDestinationRequest & WithStaticIpAddress(Aws::String &&value)
const Aws::Vector< InputRequestDestinationRoute > & GetNetworkRoutes() const
AWS_MEDIALIVE_API InputDestinationRequest(Aws::Utils::Json::JsonView jsonValue)
InputDestinationRequest & WithNetworkRoutes(const Aws::Vector< InputRequestDestinationRoute > &value)
InputDestinationRequest & WithNetworkRoutes(Aws::Vector< InputRequestDestinationRoute > &&value)
InputDestinationRequest & AddNetworkRoutes(InputRequestDestinationRoute &&value)
void SetNetworkRoutes(Aws::Vector< InputRequestDestinationRoute > &&value)
InputDestinationRequest & WithStreamName(Aws::String &&value)
AWS_MEDIALIVE_API InputDestinationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
InputDestinationRequest & WithNetwork(Aws::String &&value)
InputDestinationRequest & WithNetwork(const char *value)
void SetNetworkRoutes(const Aws::Vector< InputRequestDestinationRoute > &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputDestinationRequest & WithStreamName(const Aws::String &value)
InputDestinationRequest & WithNetwork(const Aws::String &value)
InputDestinationRequest & WithStaticIpAddress(const Aws::String &value)
InputDestinationRequest & WithStreamName(const char *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