AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
ServiceInsertionSegments.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/networkmanager/NetworkManager_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace NetworkManager {
21namespace Model {
22
30 public:
31 AWS_NETWORKMANAGER_API ServiceInsertionSegments() = default;
32 AWS_NETWORKMANAGER_API ServiceInsertionSegments(Aws::Utils::Json::JsonView jsonValue);
34 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::String>& GetSendVia() const { return m_sendVia; }
41 inline bool SendViaHasBeenSet() const { return m_sendViaHasBeenSet; }
42 template <typename SendViaT = Aws::Vector<Aws::String>>
43 void SetSendVia(SendViaT&& value) {
44 m_sendViaHasBeenSet = true;
45 m_sendVia = std::forward<SendViaT>(value);
46 }
47 template <typename SendViaT = Aws::Vector<Aws::String>>
49 SetSendVia(std::forward<SendViaT>(value));
50 return *this;
51 }
52 template <typename SendViaT = Aws::String>
54 m_sendViaHasBeenSet = true;
55 m_sendVia.emplace_back(std::forward<SendViaT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::Vector<Aws::String>& GetSendTo() const { return m_sendTo; }
65 inline bool SendToHasBeenSet() const { return m_sendToHasBeenSet; }
66 template <typename SendToT = Aws::Vector<Aws::String>>
67 void SetSendTo(SendToT&& value) {
68 m_sendToHasBeenSet = true;
69 m_sendTo = std::forward<SendToT>(value);
70 }
71 template <typename SendToT = Aws::Vector<Aws::String>>
73 SetSendTo(std::forward<SendToT>(value));
74 return *this;
75 }
76 template <typename SendToT = Aws::String>
78 m_sendToHasBeenSet = true;
79 m_sendTo.emplace_back(std::forward<SendToT>(value));
80 return *this;
81 }
83 private:
85
87 bool m_sendViaHasBeenSet = false;
88 bool m_sendToHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace NetworkManager
93} // 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