AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
WhenSentTo.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 WhenSentTo() = default;
32 AWS_NETWORKMANAGER_API WhenSentTo(Aws::Utils::Json::JsonView jsonValue);
33 AWS_NETWORKMANAGER_API WhenSentTo& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<Aws::String>& GetWhenSentToSegmentsList() const { return m_whenSentToSegmentsList; }
42 inline bool WhenSentToSegmentsListHasBeenSet() const { return m_whenSentToSegmentsListHasBeenSet; }
43 template <typename WhenSentToSegmentsListT = Aws::Vector<Aws::String>>
44 void SetWhenSentToSegmentsList(WhenSentToSegmentsListT&& value) {
45 m_whenSentToSegmentsListHasBeenSet = true;
46 m_whenSentToSegmentsList = std::forward<WhenSentToSegmentsListT>(value);
47 }
48 template <typename WhenSentToSegmentsListT = Aws::Vector<Aws::String>>
49 WhenSentTo& WithWhenSentToSegmentsList(WhenSentToSegmentsListT&& value) {
50 SetWhenSentToSegmentsList(std::forward<WhenSentToSegmentsListT>(value));
51 return *this;
52 }
53 template <typename WhenSentToSegmentsListT = Aws::String>
54 WhenSentTo& AddWhenSentToSegmentsList(WhenSentToSegmentsListT&& value) {
55 m_whenSentToSegmentsListHasBeenSet = true;
56 m_whenSentToSegmentsList.emplace_back(std::forward<WhenSentToSegmentsListT>(value));
57 return *this;
58 }
60 private:
61 Aws::Vector<Aws::String> m_whenSentToSegmentsList;
62 bool m_whenSentToSegmentsListHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace NetworkManager
67} // namespace Aws
const Aws::Vector< Aws::String > & GetWhenSentToSegmentsList() const
Definition WhenSentTo.h:41
AWS_NETWORKMANAGER_API WhenSentTo(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKMANAGER_API WhenSentTo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWhenSentToSegmentsList(WhenSentToSegmentsListT &&value)
Definition WhenSentTo.h:44
WhenSentTo & WithWhenSentToSegmentsList(WhenSentToSegmentsListT &&value)
Definition WhenSentTo.h:49
WhenSentTo & AddWhenSentToSegmentsList(WhenSentToSegmentsListT &&value)
Definition WhenSentTo.h:54
AWS_NETWORKMANAGER_API WhenSentTo()=default
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue