AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClusterNetworkSettingsUpdateRequest.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/InterfaceMappingUpdateRequest.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:
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
52 inline const Aws::String& GetDefaultRoute() const{ return m_defaultRoute; }
53 inline bool DefaultRouteHasBeenSet() const { return m_defaultRouteHasBeenSet; }
54 inline void SetDefaultRoute(const Aws::String& value) { m_defaultRouteHasBeenSet = true; m_defaultRoute = value; }
55 inline void SetDefaultRoute(Aws::String&& value) { m_defaultRouteHasBeenSet = true; m_defaultRoute = std::move(value); }
56 inline void SetDefaultRoute(const char* value) { m_defaultRouteHasBeenSet = true; m_defaultRoute.assign(value); }
58 inline ClusterNetworkSettingsUpdateRequest& WithDefaultRoute(Aws::String&& value) { SetDefaultRoute(std::move(value)); return *this;}
59 inline ClusterNetworkSettingsUpdateRequest& WithDefaultRoute(const char* value) { SetDefaultRoute(value); return *this;}
61
63
77 inline const Aws::Vector<InterfaceMappingUpdateRequest>& GetInterfaceMappings() const{ return m_interfaceMappings; }
78 inline bool InterfaceMappingsHasBeenSet() const { return m_interfaceMappingsHasBeenSet; }
79 inline void SetInterfaceMappings(const Aws::Vector<InterfaceMappingUpdateRequest>& value) { m_interfaceMappingsHasBeenSet = true; m_interfaceMappings = value; }
80 inline void SetInterfaceMappings(Aws::Vector<InterfaceMappingUpdateRequest>&& value) { m_interfaceMappingsHasBeenSet = true; m_interfaceMappings = std::move(value); }
83 inline ClusterNetworkSettingsUpdateRequest& AddInterfaceMappings(const InterfaceMappingUpdateRequest& value) { m_interfaceMappingsHasBeenSet = true; m_interfaceMappings.push_back(value); return *this; }
84 inline ClusterNetworkSettingsUpdateRequest& AddInterfaceMappings(InterfaceMappingUpdateRequest&& value) { m_interfaceMappingsHasBeenSet = true; m_interfaceMappings.push_back(std::move(value)); return *this; }
86 private:
87
88 Aws::String m_defaultRoute;
89 bool m_defaultRouteHasBeenSet = false;
90
92 bool m_interfaceMappingsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace MediaLive
97} // namespace Aws
void SetInterfaceMappings(const Aws::Vector< InterfaceMappingUpdateRequest > &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< InterfaceMappingUpdateRequest > & GetInterfaceMappings() const
ClusterNetworkSettingsUpdateRequest & WithDefaultRoute(const char *value)
AWS_MEDIALIVE_API ClusterNetworkSettingsUpdateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterNetworkSettingsUpdateRequest & AddInterfaceMappings(InterfaceMappingUpdateRequest &&value)
void SetInterfaceMappings(Aws::Vector< InterfaceMappingUpdateRequest > &&value)
ClusterNetworkSettingsUpdateRequest & AddInterfaceMappings(const InterfaceMappingUpdateRequest &value)
ClusterNetworkSettingsUpdateRequest & WithInterfaceMappings(Aws::Vector< InterfaceMappingUpdateRequest > &&value)
ClusterNetworkSettingsUpdateRequest & WithDefaultRoute(const Aws::String &value)
AWS_MEDIALIVE_API ClusterNetworkSettingsUpdateRequest(Aws::Utils::Json::JsonView jsonValue)
ClusterNetworkSettingsUpdateRequest & WithDefaultRoute(Aws::String &&value)
ClusterNetworkSettingsUpdateRequest & WithInterfaceMappings(const Aws::Vector< InterfaceMappingUpdateRequest > &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