AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNetworkFunctionGroups(const Aws::Vector<NetworkFunctionGroup>& value) { m_networkFunctionGroupsHasBeenSet = true; m_networkFunctionGroups = value; }
52 inline void SetNetworkFunctionGroups(Aws::Vector<NetworkFunctionGroup>&& value) { m_networkFunctionGroupsHasBeenSet = true; m_networkFunctionGroups = std::move(value); }
55 inline Via& AddNetworkFunctionGroups(const NetworkFunctionGroup& value) { m_networkFunctionGroupsHasBeenSet = true; m_networkFunctionGroups.push_back(value); return *this; }
56 inline Via& AddNetworkFunctionGroups(NetworkFunctionGroup&& value) { m_networkFunctionGroupsHasBeenSet = true; m_networkFunctionGroups.push_back(std::move(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 inline void SetWithEdgeOverrides(const Aws::Vector<EdgeOverride>& value) { m_withEdgeOverridesHasBeenSet = true; m_withEdgeOverrides = value; }
67 inline void SetWithEdgeOverrides(Aws::Vector<EdgeOverride>&& value) { m_withEdgeOverridesHasBeenSet = true; m_withEdgeOverrides = std::move(value); }
68 inline Via& WithWithEdgeOverrides(const Aws::Vector<EdgeOverride>& value) { SetWithEdgeOverrides(value); return *this;}
69 inline Via& WithWithEdgeOverrides(Aws::Vector<EdgeOverride>&& value) { SetWithEdgeOverrides(std::move(value)); return *this;}
70 inline Via& AddWithEdgeOverrides(const EdgeOverride& value) { m_withEdgeOverridesHasBeenSet = true; m_withEdgeOverrides.push_back(value); return *this; }
71 inline Via& AddWithEdgeOverrides(EdgeOverride&& value) { m_withEdgeOverridesHasBeenSet = true; m_withEdgeOverrides.push_back(std::move(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
Via & WithWithEdgeOverrides(const Aws::Vector< EdgeOverride > &value)
Definition Via.h:68
void SetNetworkFunctionGroups(const Aws::Vector< NetworkFunctionGroup > &value)
Definition Via.h:51
Via & AddNetworkFunctionGroups(NetworkFunctionGroup &&value)
Definition Via.h:56
AWS_NETWORKMANAGER_API Via()
Via & WithWithEdgeOverrides(Aws::Vector< EdgeOverride > &&value)
Definition Via.h:69
bool WithEdgeOverridesHasBeenSet() const
Definition Via.h:65
AWS_NETWORKMANAGER_API Via & operator=(Aws::Utils::Json::JsonView jsonValue)
Via & AddWithEdgeOverrides(const EdgeOverride &value)
Definition Via.h:70
Via & WithNetworkFunctionGroups(const Aws::Vector< NetworkFunctionGroup > &value)
Definition Via.h:53
bool NetworkFunctionGroupsHasBeenSet() const
Definition Via.h:50
void SetWithEdgeOverrides(const Aws::Vector< EdgeOverride > &value)
Definition Via.h:66
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNetworkFunctionGroups(Aws::Vector< NetworkFunctionGroup > &&value)
Definition Via.h:52
Via & AddWithEdgeOverrides(EdgeOverride &&value)
Definition Via.h:71
AWS_NETWORKMANAGER_API Via(Aws::Utils::Json::JsonView jsonValue)
void SetWithEdgeOverrides(Aws::Vector< EdgeOverride > &&value)
Definition Via.h:67
Via & AddNetworkFunctionGroups(const NetworkFunctionGroup &value)
Definition Via.h:55
const Aws::Vector< EdgeOverride > & GetWithEdgeOverrides() const
Definition Via.h:64
Via & WithNetworkFunctionGroups(Aws::Vector< NetworkFunctionGroup > &&value)
Definition Via.h:54
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue