7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/SegmentActionServiceInsertion.h>
9#include <aws/networkmanager/model/SendViaMode.h>
10#include <aws/networkmanager/model/Via.h>
11#include <aws/networkmanager/model/WhenSentTo.h>
22namespace NetworkManager {
48 m_actionHasBeenSet =
true;
70 m_modeHasBeenSet =
true;
86 template <
typename WhenSentToT = WhenSentTo>
88 m_whenSentToHasBeenSet =
true;
89 m_whenSentTo = std::forward<WhenSentToT>(value);
91 template <
typename WhenSentToT = WhenSentTo>
106 template <
typename ViaT = Via>
108 m_viaHasBeenSet =
true;
109 m_via = std::forward<ViaT>(value);
111 template <
typename ViaT = Via>
113 SetVia(std::forward<ViaT>(value));
122 WhenSentTo m_whenSentTo;
125 bool m_actionHasBeenSet =
false;
126 bool m_modeHasBeenSet =
false;
127 bool m_whenSentToHasBeenSet =
false;
128 bool m_viaHasBeenSet =
false;
void SetAction(SegmentActionServiceInsertion value)
AWS_NETWORKMANAGER_API ServiceInsertionAction(Aws::Utils::Json::JsonView jsonValue)
SegmentActionServiceInsertion GetAction() const
ServiceInsertionAction & WithWhenSentTo(WhenSentToT &&value)
bool WhenSentToHasBeenSet() const
ServiceInsertionAction & WithVia(ViaT &&value)
ServiceInsertionAction & WithAction(SegmentActionServiceInsertion value)
AWS_NETWORKMANAGER_API ServiceInsertionAction()=default
const Via & GetVia() const
bool ActionHasBeenSet() const
void SetMode(SendViaMode value)
SendViaMode GetMode() const
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWhenSentTo(WhenSentToT &&value)
void SetVia(ViaT &&value)
bool ModeHasBeenSet() const
bool ViaHasBeenSet() const
AWS_NETWORKMANAGER_API ServiceInsertionAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const WhenSentTo & GetWhenSentTo() const
ServiceInsertionAction & WithMode(SendViaMode value)
SegmentActionServiceInsertion
Aws::Utils::Json::JsonValue JsonValue