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/WhenSentTo.h>
11#include <aws/networkmanager/model/Via.h>
24namespace NetworkManager
80 template<
typename WhenSentToT = WhenSentTo>
81 void SetWhenSentTo(WhenSentToT&& value) { m_whenSentToHasBeenSet =
true; m_whenSentTo = std::forward<WhenSentToT>(value); }
82 template<
typename WhenSentToT = WhenSentTo>
94 template<
typename ViaT = Via>
95 void SetVia(ViaT&& value) { m_viaHasBeenSet =
true; m_via = std::forward<ViaT>(value); }
96 template<
typename ViaT = Via>
102 bool m_actionHasBeenSet =
false;
105 bool m_modeHasBeenSet =
false;
107 WhenSentTo m_whenSentTo;
108 bool m_whenSentToHasBeenSet =
false;
111 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