AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Via.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/networkmanager/model/NetworkFunctionGroup.h>
10#include <aws/networkmanager/model/EdgeOverride.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 NetworkManager
24{
25namespace Model
26{
27
35 class Via
36 {
37 public:
38 AWS_NETWORKMANAGER_API Via() = default;
39 AWS_NETWORKMANAGER_API Via(Aws::Utils::Json::JsonView jsonValue);
40 AWS_NETWORKMANAGER_API Via& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<NetworkFunctionGroup>& GetNetworkFunctionGroups() const { return m_networkFunctionGroups; }
50 inline bool NetworkFunctionGroupsHasBeenSet() const { return m_networkFunctionGroupsHasBeenSet; }
51 template<typename NetworkFunctionGroupsT = Aws::Vector<NetworkFunctionGroup>>
52 void SetNetworkFunctionGroups(NetworkFunctionGroupsT&& value) { m_networkFunctionGroupsHasBeenSet = true; m_networkFunctionGroups = std::forward<NetworkFunctionGroupsT>(value); }
53 template<typename NetworkFunctionGroupsT = Aws::Vector<NetworkFunctionGroup>>
54 Via& WithNetworkFunctionGroups(NetworkFunctionGroupsT&& value) { SetNetworkFunctionGroups(std::forward<NetworkFunctionGroupsT>(value)); return *this;}
55 template<typename NetworkFunctionGroupsT = NetworkFunctionGroup>
56 Via& AddNetworkFunctionGroups(NetworkFunctionGroupsT&& value) { m_networkFunctionGroupsHasBeenSet = true; m_networkFunctionGroups.emplace_back(std::forward<NetworkFunctionGroupsT>(value)); return *this; }
58
60
64 inline const Aws::Vector<EdgeOverride>& GetWithEdgeOverrides() const { return m_withEdgeOverrides; }
65 inline bool WithEdgeOverridesHasBeenSet() const { return m_withEdgeOverridesHasBeenSet; }
66 template<typename WithEdgeOverridesT = Aws::Vector<EdgeOverride>>
67 void SetWithEdgeOverrides(WithEdgeOverridesT&& value) { m_withEdgeOverridesHasBeenSet = true; m_withEdgeOverrides = std::forward<WithEdgeOverridesT>(value); }
68 template<typename WithEdgeOverridesT = Aws::Vector<EdgeOverride>>
69 Via& WithWithEdgeOverrides(WithEdgeOverridesT&& value) { SetWithEdgeOverrides(std::forward<WithEdgeOverridesT>(value)); return *this;}
70 template<typename WithEdgeOverridesT = EdgeOverride>
71 Via& AddWithEdgeOverrides(WithEdgeOverridesT&& value) { m_withEdgeOverridesHasBeenSet = true; m_withEdgeOverrides.emplace_back(std::forward<WithEdgeOverridesT>(value)); return *this; }
73 private:
74
75 Aws::Vector<NetworkFunctionGroup> m_networkFunctionGroups;
76 bool m_networkFunctionGroupsHasBeenSet = false;
77
78 Aws::Vector<EdgeOverride> m_withEdgeOverrides;
79 bool m_withEdgeOverridesHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace NetworkManager
84} // namespace Aws
const Aws::Vector< NetworkFunctionGroup > & GetNetworkFunctionGroups() const
Definition Via.h:49
AWS_NETWORKMANAGER_API Via()=default
Via & AddNetworkFunctionGroups(NetworkFunctionGroupsT &&value)
Definition Via.h:56
Via & WithWithEdgeOverrides(WithEdgeOverridesT &&value)
Definition Via.h:69
Via & WithNetworkFunctionGroups(NetworkFunctionGroupsT &&value)
Definition Via.h:54
bool WithEdgeOverridesHasBeenSet() const
Definition Via.h:65
AWS_NETWORKMANAGER_API Via & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkFunctionGroups(NetworkFunctionGroupsT &&value)
Definition Via.h:52
bool NetworkFunctionGroupsHasBeenSet() const
Definition Via.h:50
Via & AddWithEdgeOverrides(WithEdgeOverridesT &&value)
Definition Via.h:71
void SetWithEdgeOverrides(WithEdgeOverridesT &&value)
Definition Via.h:67
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKMANAGER_API Via(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< EdgeOverride > & GetWithEdgeOverrides() const
Definition Via.h:64
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue