AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClusterNetworkSettingsCreateRequest.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/InterfaceMappingCreateRequest.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:
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const Aws::String& GetDefaultRoute() const{ return m_defaultRoute; }
51 inline bool DefaultRouteHasBeenSet() const { return m_defaultRouteHasBeenSet; }
52 inline void SetDefaultRoute(const Aws::String& value) { m_defaultRouteHasBeenSet = true; m_defaultRoute = value; }
53 inline void SetDefaultRoute(Aws::String&& value) { m_defaultRouteHasBeenSet = true; m_defaultRoute = std::move(value); }
54 inline void SetDefaultRoute(const char* value) { m_defaultRouteHasBeenSet = true; m_defaultRoute.assign(value); }
56 inline ClusterNetworkSettingsCreateRequest& WithDefaultRoute(Aws::String&& value) { SetDefaultRoute(std::move(value)); return *this;}
57 inline ClusterNetworkSettingsCreateRequest& WithDefaultRoute(const char* value) { SetDefaultRoute(value); return *this;}
59
61
73 inline const Aws::Vector<InterfaceMappingCreateRequest>& GetInterfaceMappings() const{ return m_interfaceMappings; }
74 inline bool InterfaceMappingsHasBeenSet() const { return m_interfaceMappingsHasBeenSet; }
75 inline void SetInterfaceMappings(const Aws::Vector<InterfaceMappingCreateRequest>& value) { m_interfaceMappingsHasBeenSet = true; m_interfaceMappings = value; }
76 inline void SetInterfaceMappings(Aws::Vector<InterfaceMappingCreateRequest>&& value) { m_interfaceMappingsHasBeenSet = true; m_interfaceMappings = std::move(value); }
79 inline ClusterNetworkSettingsCreateRequest& AddInterfaceMappings(const InterfaceMappingCreateRequest& value) { m_interfaceMappingsHasBeenSet = true; m_interfaceMappings.push_back(value); return *this; }
80 inline ClusterNetworkSettingsCreateRequest& AddInterfaceMappings(InterfaceMappingCreateRequest&& value) { m_interfaceMappingsHasBeenSet = true; m_interfaceMappings.push_back(std::move(value)); return *this; }
82 private:
83
84 Aws::String m_defaultRoute;
85 bool m_defaultRouteHasBeenSet = false;
86
88 bool m_interfaceMappingsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace MediaLive
93} // namespace Aws
ClusterNetworkSettingsCreateRequest & WithDefaultRoute(const Aws::String &value)
void SetInterfaceMappings(const Aws::Vector< InterfaceMappingCreateRequest > &value)
ClusterNetworkSettingsCreateRequest & WithDefaultRoute(const char *value)
ClusterNetworkSettingsCreateRequest & AddInterfaceMappings(const InterfaceMappingCreateRequest &value)
const Aws::Vector< InterfaceMappingCreateRequest > & GetInterfaceMappings() const
ClusterNetworkSettingsCreateRequest & WithInterfaceMappings(const Aws::Vector< InterfaceMappingCreateRequest > &value)
ClusterNetworkSettingsCreateRequest & WithDefaultRoute(Aws::String &&value)
void SetInterfaceMappings(Aws::Vector< InterfaceMappingCreateRequest > &&value)
ClusterNetworkSettingsCreateRequest & AddInterfaceMappings(InterfaceMappingCreateRequest &&value)
ClusterNetworkSettingsCreateRequest & WithInterfaceMappings(Aws::Vector< InterfaceMappingCreateRequest > &&value)
AWS_MEDIALIVE_API ClusterNetworkSettingsCreateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API ClusterNetworkSettingsCreateRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() 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