AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetWhenSentToSegmentsList(const Aws::Vector<Aws::String>& value) { m_whenSentToSegmentsListHasBeenSet = true; m_whenSentToSegmentsList = value; }
50 inline void SetWhenSentToSegmentsList(Aws::Vector<Aws::String>&& value) { m_whenSentToSegmentsListHasBeenSet = true; m_whenSentToSegmentsList = std::move(value); }
53 inline WhenSentTo& AddWhenSentToSegmentsList(const Aws::String& value) { m_whenSentToSegmentsListHasBeenSet = true; m_whenSentToSegmentsList.push_back(value); return *this; }
54 inline WhenSentTo& AddWhenSentToSegmentsList(Aws::String&& value) { m_whenSentToSegmentsListHasBeenSet = true; m_whenSentToSegmentsList.push_back(std::move(value)); return *this; }
55 inline WhenSentTo& AddWhenSentToSegmentsList(const char* value) { m_whenSentToSegmentsListHasBeenSet = true; m_whenSentToSegmentsList.push_back(value); return *this; }
57 private:
58
59 Aws::Vector<Aws::String> m_whenSentToSegmentsList;
60 bool m_whenSentToSegmentsListHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace NetworkManager
65} // namespace Aws
void SetWhenSentToSegmentsList(const Aws::Vector< Aws::String > &value)
Definition WhenSentTo.h:49
WhenSentTo & AddWhenSentToSegmentsList(const char *value)
Definition WhenSentTo.h:55
const Aws::Vector< Aws::String > & GetWhenSentToSegmentsList() const
Definition WhenSentTo.h:47
WhenSentTo & AddWhenSentToSegmentsList(Aws::String &&value)
Definition WhenSentTo.h:54
AWS_NETWORKMANAGER_API WhenSentTo(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKMANAGER_API WhenSentTo()
void SetWhenSentToSegmentsList(Aws::Vector< Aws::String > &&value)
Definition WhenSentTo.h:50
WhenSentTo & AddWhenSentToSegmentsList(const Aws::String &value)
Definition WhenSentTo.h:53
AWS_NETWORKMANAGER_API WhenSentTo & operator=(Aws::Utils::Json::JsonView jsonValue)
WhenSentTo & WithWhenSentToSegmentsList(const Aws::Vector< Aws::String > &value)
Definition WhenSentTo.h:51
WhenSentTo & WithWhenSentToSegmentsList(Aws::Vector< Aws::String > &&value)
Definition WhenSentTo.h:52
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue