AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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