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
98 inline void SetVia(
const Via& value) { m_viaHasBeenSet =
true; m_via = value; }
99 inline void SetVia(
Via&& value) { m_viaHasBeenSet =
true; m_via = std::move(value); }
106 bool m_actionHasBeenSet =
false;
109 bool m_modeHasBeenSet =
false;
112 bool m_whenSentToHasBeenSet =
false;
115 bool m_viaHasBeenSet =
false;
ServiceInsertionAction & WithWhenSentTo(WhenSentTo &&value)
const SendViaMode & GetMode() const
AWS_NETWORKMANAGER_API ServiceInsertionAction(Aws::Utils::Json::JsonView jsonValue)
void SetAction(SegmentActionServiceInsertion &&value)
void SetAction(const SegmentActionServiceInsertion &value)
ServiceInsertionAction & WithMode(SendViaMode &&value)
ServiceInsertionAction & WithWhenSentTo(const WhenSentTo &value)
const SegmentActionServiceInsertion & GetAction() const
ServiceInsertionAction & WithAction(SegmentActionServiceInsertion &&value)
bool WhenSentToHasBeenSet() const
void SetVia(const Via &value)
ServiceInsertionAction & WithVia(const Via &value)
void SetMode(const SendViaMode &value)
AWS_NETWORKMANAGER_API ServiceInsertionAction()
void SetWhenSentTo(WhenSentTo &&value)
const Via & GetVia() const
bool ActionHasBeenSet() const
ServiceInsertionAction & WithAction(const SegmentActionServiceInsertion &value)
void SetWhenSentTo(const WhenSentTo &value)
ServiceInsertionAction & WithMode(const SendViaMode &value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ModeHasBeenSet() const
bool ViaHasBeenSet() const
AWS_NETWORKMANAGER_API ServiceInsertionAction & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceInsertionAction & WithVia(Via &&value)
const WhenSentTo & GetWhenSentTo() const
void SetMode(SendViaMode &&value)
SegmentActionServiceInsertion
Aws::Utils::Json::JsonValue JsonValue