AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ProtocolsListData.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace FMS
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_FMS_API ProtocolsListData() = default;
41
42
44
47 inline const Aws::String& GetListId() const { return m_listId; }
48 inline bool ListIdHasBeenSet() const { return m_listIdHasBeenSet; }
49 template<typename ListIdT = Aws::String>
50 void SetListId(ListIdT&& value) { m_listIdHasBeenSet = true; m_listId = std::forward<ListIdT>(value); }
51 template<typename ListIdT = Aws::String>
52 ProtocolsListData& WithListId(ListIdT&& value) { SetListId(std::forward<ListIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetListName() const { return m_listName; }
60 inline bool ListNameHasBeenSet() const { return m_listNameHasBeenSet; }
61 template<typename ListNameT = Aws::String>
62 void SetListName(ListNameT&& value) { m_listNameHasBeenSet = true; m_listName = std::forward<ListNameT>(value); }
63 template<typename ListNameT = Aws::String>
64 ProtocolsListData& WithListName(ListNameT&& value) { SetListName(std::forward<ListNameT>(value)); return *this;}
66
68
73 inline const Aws::String& GetListUpdateToken() const { return m_listUpdateToken; }
74 inline bool ListUpdateTokenHasBeenSet() const { return m_listUpdateTokenHasBeenSet; }
75 template<typename ListUpdateTokenT = Aws::String>
76 void SetListUpdateToken(ListUpdateTokenT&& value) { m_listUpdateTokenHasBeenSet = true; m_listUpdateToken = std::forward<ListUpdateTokenT>(value); }
77 template<typename ListUpdateTokenT = Aws::String>
78 ProtocolsListData& WithListUpdateToken(ListUpdateTokenT&& value) { SetListUpdateToken(std::forward<ListUpdateTokenT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
86 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
87 template<typename CreateTimeT = Aws::Utils::DateTime>
88 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
89 template<typename CreateTimeT = Aws::Utils::DateTime>
90 ProtocolsListData& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
98 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
99 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
100 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
101 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
102 ProtocolsListData& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
104
106
109 inline const Aws::Vector<Aws::String>& GetProtocolsList() const { return m_protocolsList; }
110 inline bool ProtocolsListHasBeenSet() const { return m_protocolsListHasBeenSet; }
111 template<typename ProtocolsListT = Aws::Vector<Aws::String>>
112 void SetProtocolsList(ProtocolsListT&& value) { m_protocolsListHasBeenSet = true; m_protocolsList = std::forward<ProtocolsListT>(value); }
113 template<typename ProtocolsListT = Aws::Vector<Aws::String>>
114 ProtocolsListData& WithProtocolsList(ProtocolsListT&& value) { SetProtocolsList(std::forward<ProtocolsListT>(value)); return *this;}
115 template<typename ProtocolsListT = Aws::String>
116 ProtocolsListData& AddProtocolsList(ProtocolsListT&& value) { m_protocolsListHasBeenSet = true; m_protocolsList.emplace_back(std::forward<ProtocolsListT>(value)); return *this; }
118
120
123 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetPreviousProtocolsList() const { return m_previousProtocolsList; }
124 inline bool PreviousProtocolsListHasBeenSet() const { return m_previousProtocolsListHasBeenSet; }
125 template<typename PreviousProtocolsListT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
126 void SetPreviousProtocolsList(PreviousProtocolsListT&& value) { m_previousProtocolsListHasBeenSet = true; m_previousProtocolsList = std::forward<PreviousProtocolsListT>(value); }
127 template<typename PreviousProtocolsListT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
128 ProtocolsListData& WithPreviousProtocolsList(PreviousProtocolsListT&& value) { SetPreviousProtocolsList(std::forward<PreviousProtocolsListT>(value)); return *this;}
129 template<typename PreviousProtocolsListKeyT = Aws::String, typename PreviousProtocolsListValueT = Aws::Vector<Aws::String>>
130 ProtocolsListData& AddPreviousProtocolsList(PreviousProtocolsListKeyT&& key, PreviousProtocolsListValueT&& value) {
131 m_previousProtocolsListHasBeenSet = true; m_previousProtocolsList.emplace(std::forward<PreviousProtocolsListKeyT>(key), std::forward<PreviousProtocolsListValueT>(value)); return *this;
132 }
134 private:
135
136 Aws::String m_listId;
137 bool m_listIdHasBeenSet = false;
138
139 Aws::String m_listName;
140 bool m_listNameHasBeenSet = false;
141
142 Aws::String m_listUpdateToken;
143 bool m_listUpdateTokenHasBeenSet = false;
144
145 Aws::Utils::DateTime m_createTime{};
146 bool m_createTimeHasBeenSet = false;
147
148 Aws::Utils::DateTime m_lastUpdateTime{};
149 bool m_lastUpdateTimeHasBeenSet = false;
150
151 Aws::Vector<Aws::String> m_protocolsList;
152 bool m_protocolsListHasBeenSet = false;
153
154 Aws::Map<Aws::String, Aws::Vector<Aws::String>> m_previousProtocolsList;
155 bool m_previousProtocolsListHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace FMS
160} // namespace Aws
ProtocolsListData & AddPreviousProtocolsList(PreviousProtocolsListKeyT &&key, PreviousProtocolsListValueT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
const Aws::Utils::DateTime & GetCreateTime() const
ProtocolsListData & WithListName(ListNameT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetPreviousProtocolsList() const
void SetPreviousProtocolsList(PreviousProtocolsListT &&value)
AWS_FMS_API ProtocolsListData()=default
ProtocolsListData & WithListUpdateToken(ListUpdateTokenT &&value)
ProtocolsListData & AddProtocolsList(ProtocolsListT &&value)
void SetListUpdateToken(ListUpdateTokenT &&value)
const Aws::Vector< Aws::String > & GetProtocolsList() const
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetListUpdateToken() const
AWS_FMS_API ProtocolsListData(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API ProtocolsListData & operator=(Aws::Utils::Json::JsonView jsonValue)
ProtocolsListData & WithProtocolsList(ProtocolsListT &&value)
ProtocolsListData & WithCreateTime(CreateTimeT &&value)
const Aws::String & GetListId() const
const Aws::String & GetListName() const
ProtocolsListData & WithLastUpdateTime(LastUpdateTimeT &&value)
ProtocolsListData & WithListId(ListIdT &&value)
void SetProtocolsList(ProtocolsListT &&value)
void SetListName(ListNameT &&value)
void SetLastUpdateTime(LastUpdateTimeT &&value)
ProtocolsListData & WithPreviousProtocolsList(PreviousProtocolsListT &&value)
void SetCreateTime(CreateTimeT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue