AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClusterNetworkSettings.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/InterfaceMapping.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
35 {
36 public:
37 AWS_MEDIALIVE_API ClusterNetworkSettings();
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const Aws::String& GetDefaultRoute() const{ return m_defaultRoute; }
52 inline bool DefaultRouteHasBeenSet() const { return m_defaultRouteHasBeenSet; }
53 inline void SetDefaultRoute(const Aws::String& value) { m_defaultRouteHasBeenSet = true; m_defaultRoute = value; }
54 inline void SetDefaultRoute(Aws::String&& value) { m_defaultRouteHasBeenSet = true; m_defaultRoute = std::move(value); }
55 inline void SetDefaultRoute(const char* value) { m_defaultRouteHasBeenSet = true; m_defaultRoute.assign(value); }
56 inline ClusterNetworkSettings& WithDefaultRoute(const Aws::String& value) { SetDefaultRoute(value); return *this;}
57 inline ClusterNetworkSettings& WithDefaultRoute(Aws::String&& value) { SetDefaultRoute(std::move(value)); return *this;}
58 inline ClusterNetworkSettings& WithDefaultRoute(const char* value) { SetDefaultRoute(value); return *this;}
60
62
67 inline const Aws::Vector<InterfaceMapping>& GetInterfaceMappings() const{ return m_interfaceMappings; }
68 inline bool InterfaceMappingsHasBeenSet() const { return m_interfaceMappingsHasBeenSet; }
69 inline void SetInterfaceMappings(const Aws::Vector<InterfaceMapping>& value) { m_interfaceMappingsHasBeenSet = true; m_interfaceMappings = value; }
70 inline void SetInterfaceMappings(Aws::Vector<InterfaceMapping>&& value) { m_interfaceMappingsHasBeenSet = true; m_interfaceMappings = std::move(value); }
73 inline ClusterNetworkSettings& AddInterfaceMappings(const InterfaceMapping& value) { m_interfaceMappingsHasBeenSet = true; m_interfaceMappings.push_back(value); return *this; }
74 inline ClusterNetworkSettings& AddInterfaceMappings(InterfaceMapping&& value) { m_interfaceMappingsHasBeenSet = true; m_interfaceMappings.push_back(std::move(value)); return *this; }
76 private:
77
78 Aws::String m_defaultRoute;
79 bool m_defaultRouteHasBeenSet = false;
80
81 Aws::Vector<InterfaceMapping> m_interfaceMappings;
82 bool m_interfaceMappingsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace MediaLive
87} // namespace Aws
void SetInterfaceMappings(Aws::Vector< InterfaceMapping > &&value)
AWS_MEDIALIVE_API ClusterNetworkSettings(Aws::Utils::Json::JsonView jsonValue)
ClusterNetworkSettings & WithInterfaceMappings(const Aws::Vector< InterfaceMapping > &value)
ClusterNetworkSettings & AddInterfaceMappings(InterfaceMapping &&value)
ClusterNetworkSettings & WithInterfaceMappings(Aws::Vector< InterfaceMapping > &&value)
AWS_MEDIALIVE_API ClusterNetworkSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterNetworkSettings & WithDefaultRoute(const Aws::String &value)
ClusterNetworkSettings & AddInterfaceMappings(const InterfaceMapping &value)
ClusterNetworkSettings & WithDefaultRoute(const char *value)
ClusterNetworkSettings & WithDefaultRoute(Aws::String &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInterfaceMappings(const Aws::Vector< InterfaceMapping > &value)
const Aws::Vector< InterfaceMapping > & GetInterfaceMappings() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue