AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSendVia(const Aws::Vector<Aws::String>& value) { m_sendViaHasBeenSet = true; m_sendVia = value; }
49 inline void SetSendVia(Aws::Vector<Aws::String>&& value) { m_sendViaHasBeenSet = true; m_sendVia = std::move(value); }
50 inline ServiceInsertionSegments& WithSendVia(const Aws::Vector<Aws::String>& value) { SetSendVia(value); return *this;}
51 inline ServiceInsertionSegments& WithSendVia(Aws::Vector<Aws::String>&& value) { SetSendVia(std::move(value)); return *this;}
52 inline ServiceInsertionSegments& AddSendVia(const Aws::String& value) { m_sendViaHasBeenSet = true; m_sendVia.push_back(value); return *this; }
53 inline ServiceInsertionSegments& AddSendVia(Aws::String&& value) { m_sendViaHasBeenSet = true; m_sendVia.push_back(std::move(value)); return *this; }
54 inline ServiceInsertionSegments& AddSendVia(const char* value) { m_sendViaHasBeenSet = true; m_sendVia.push_back(value); return *this; }
56
58
61 inline const Aws::Vector<Aws::String>& GetSendTo() const{ return m_sendTo; }
62 inline bool SendToHasBeenSet() const { return m_sendToHasBeenSet; }
63 inline void SetSendTo(const Aws::Vector<Aws::String>& value) { m_sendToHasBeenSet = true; m_sendTo = value; }
64 inline void SetSendTo(Aws::Vector<Aws::String>&& value) { m_sendToHasBeenSet = true; m_sendTo = std::move(value); }
65 inline ServiceInsertionSegments& WithSendTo(const Aws::Vector<Aws::String>& value) { SetSendTo(value); return *this;}
66 inline ServiceInsertionSegments& WithSendTo(Aws::Vector<Aws::String>&& value) { SetSendTo(std::move(value)); return *this;}
67 inline ServiceInsertionSegments& AddSendTo(const Aws::String& value) { m_sendToHasBeenSet = true; m_sendTo.push_back(value); return *this; }
68 inline ServiceInsertionSegments& AddSendTo(Aws::String&& value) { m_sendToHasBeenSet = true; m_sendTo.push_back(std::move(value)); return *this; }
69 inline ServiceInsertionSegments& AddSendTo(const char* value) { m_sendToHasBeenSet = true; m_sendTo.push_back(value); return *this; }
71 private:
72
74 bool m_sendViaHasBeenSet = false;
75
77 bool m_sendToHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace NetworkManager
82} // namespace Aws
ServiceInsertionSegments & WithSendTo(const Aws::Vector< Aws::String > &value)
AWS_NETWORKMANAGER_API ServiceInsertionSegments(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSendTo() const
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceInsertionSegments & AddSendVia(const Aws::String &value)
ServiceInsertionSegments & AddSendVia(Aws::String &&value)
ServiceInsertionSegments & WithSendVia(const Aws::Vector< Aws::String > &value)
ServiceInsertionSegments & AddSendTo(const Aws::String &value)
ServiceInsertionSegments & WithSendVia(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSendVia() const
ServiceInsertionSegments & AddSendTo(Aws::String &&value)
AWS_NETWORKMANAGER_API ServiceInsertionSegments & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceInsertionSegments & WithSendTo(Aws::Vector< Aws::String > &&value)
ServiceInsertionSegments & AddSendVia(const char *value)
void SetSendTo(const Aws::Vector< Aws::String > &value)
void SetSendVia(const Aws::Vector< Aws::String > &value)
ServiceInsertionSegments & AddSendTo(const char *value)
void SetSendVia(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue