AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServiceInsertionSegments.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace NetworkManager
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_NETWORKMANAGER_API ServiceInsertionSegments() = default;
37 AWS_NETWORKMANAGER_API ServiceInsertionSegments(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetSendVia() const { return m_sendVia; }
47 inline bool SendViaHasBeenSet() const { return m_sendViaHasBeenSet; }
48 template<typename SendViaT = Aws::Vector<Aws::String>>
49 void SetSendVia(SendViaT&& value) { m_sendViaHasBeenSet = true; m_sendVia = std::forward<SendViaT>(value); }
50 template<typename SendViaT = Aws::Vector<Aws::String>>
51 ServiceInsertionSegments& WithSendVia(SendViaT&& value) { SetSendVia(std::forward<SendViaT>(value)); return *this;}
52 template<typename SendViaT = Aws::String>
53 ServiceInsertionSegments& AddSendVia(SendViaT&& value) { m_sendViaHasBeenSet = true; m_sendVia.emplace_back(std::forward<SendViaT>(value)); return *this; }
55
57
60 inline const Aws::Vector<Aws::String>& GetSendTo() const { return m_sendTo; }
61 inline bool SendToHasBeenSet() const { return m_sendToHasBeenSet; }
62 template<typename SendToT = Aws::Vector<Aws::String>>
63 void SetSendTo(SendToT&& value) { m_sendToHasBeenSet = true; m_sendTo = std::forward<SendToT>(value); }
64 template<typename SendToT = Aws::Vector<Aws::String>>
65 ServiceInsertionSegments& WithSendTo(SendToT&& value) { SetSendTo(std::forward<SendToT>(value)); return *this;}
66 template<typename SendToT = Aws::String>
67 ServiceInsertionSegments& AddSendTo(SendToT&& value) { m_sendToHasBeenSet = true; m_sendTo.emplace_back(std::forward<SendToT>(value)); return *this; }
69 private:
70
72 bool m_sendViaHasBeenSet = false;
73
75 bool m_sendToHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace NetworkManager
80} // namespace Aws
AWS_NETWORKMANAGER_API ServiceInsertionSegments()=default
AWS_NETWORKMANAGER_API ServiceInsertionSegments(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSendTo() const
ServiceInsertionSegments & AddSendTo(SendToT &&value)
ServiceInsertionSegments & AddSendVia(SendViaT &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceInsertionSegments & WithSendTo(SendToT &&value)
ServiceInsertionSegments & WithSendVia(SendViaT &&value)
const Aws::Vector< Aws::String > & GetSendVia() const
AWS_NETWORKMANAGER_API ServiceInsertionSegments & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue