AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AppsListData.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/fms/FMS_EXPORTS.h>
12#include <aws/fms/model/App.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FMS {
24namespace Model {
25
32 public:
33 AWS_FMS_API AppsListData() = default;
37
39
42 inline const Aws::String& GetListId() const { return m_listId; }
43 inline bool ListIdHasBeenSet() const { return m_listIdHasBeenSet; }
44 template <typename ListIdT = Aws::String>
45 void SetListId(ListIdT&& value) {
46 m_listIdHasBeenSet = true;
47 m_listId = std::forward<ListIdT>(value);
48 }
49 template <typename ListIdT = Aws::String>
50 AppsListData& WithListId(ListIdT&& value) {
51 SetListId(std::forward<ListIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetListName() const { return m_listName; }
61 inline bool ListNameHasBeenSet() const { return m_listNameHasBeenSet; }
62 template <typename ListNameT = Aws::String>
63 void SetListName(ListNameT&& value) {
64 m_listNameHasBeenSet = true;
65 m_listName = std::forward<ListNameT>(value);
66 }
67 template <typename ListNameT = Aws::String>
68 AppsListData& WithListName(ListNameT&& value) {
69 SetListName(std::forward<ListNameT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::String& GetListUpdateToken() const { return m_listUpdateToken; }
81 inline bool ListUpdateTokenHasBeenSet() const { return m_listUpdateTokenHasBeenSet; }
82 template <typename ListUpdateTokenT = Aws::String>
83 void SetListUpdateToken(ListUpdateTokenT&& value) {
84 m_listUpdateTokenHasBeenSet = true;
85 m_listUpdateToken = std::forward<ListUpdateTokenT>(value);
86 }
87 template <typename ListUpdateTokenT = Aws::String>
88 AppsListData& WithListUpdateToken(ListUpdateTokenT&& value) {
89 SetListUpdateToken(std::forward<ListUpdateTokenT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
99 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
100 template <typename CreateTimeT = Aws::Utils::DateTime>
101 void SetCreateTime(CreateTimeT&& value) {
102 m_createTimeHasBeenSet = true;
103 m_createTime = std::forward<CreateTimeT>(value);
104 }
105 template <typename CreateTimeT = Aws::Utils::DateTime>
106 AppsListData& WithCreateTime(CreateTimeT&& value) {
107 SetCreateTime(std::forward<CreateTimeT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
117 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
118 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
119 void SetLastUpdateTime(LastUpdateTimeT&& value) {
120 m_lastUpdateTimeHasBeenSet = true;
121 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
122 }
123 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
124 AppsListData& WithLastUpdateTime(LastUpdateTimeT&& value) {
125 SetLastUpdateTime(std::forward<LastUpdateTimeT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::Vector<App>& GetAppsList() const { return m_appsList; }
135 inline bool AppsListHasBeenSet() const { return m_appsListHasBeenSet; }
136 template <typename AppsListT = Aws::Vector<App>>
137 void SetAppsList(AppsListT&& value) {
138 m_appsListHasBeenSet = true;
139 m_appsList = std::forward<AppsListT>(value);
140 }
141 template <typename AppsListT = Aws::Vector<App>>
142 AppsListData& WithAppsList(AppsListT&& value) {
143 SetAppsList(std::forward<AppsListT>(value));
144 return *this;
145 }
146 template <typename AppsListT = App>
147 AppsListData& AddAppsList(AppsListT&& value) {
148 m_appsListHasBeenSet = true;
149 m_appsList.emplace_back(std::forward<AppsListT>(value));
150 return *this;
151 }
153
155
159 inline const Aws::Map<Aws::String, Aws::Vector<App>>& GetPreviousAppsList() const { return m_previousAppsList; }
160 inline bool PreviousAppsListHasBeenSet() const { return m_previousAppsListHasBeenSet; }
161 template <typename PreviousAppsListT = Aws::Map<Aws::String, Aws::Vector<App>>>
162 void SetPreviousAppsList(PreviousAppsListT&& value) {
163 m_previousAppsListHasBeenSet = true;
164 m_previousAppsList = std::forward<PreviousAppsListT>(value);
165 }
166 template <typename PreviousAppsListT = Aws::Map<Aws::String, Aws::Vector<App>>>
167 AppsListData& WithPreviousAppsList(PreviousAppsListT&& value) {
168 SetPreviousAppsList(std::forward<PreviousAppsListT>(value));
169 return *this;
170 }
171 template <typename PreviousAppsListKeyT = Aws::String, typename PreviousAppsListValueT = Aws::Vector<App>>
172 AppsListData& AddPreviousAppsList(PreviousAppsListKeyT&& key, PreviousAppsListValueT&& value) {
173 m_previousAppsListHasBeenSet = true;
174 m_previousAppsList.emplace(std::forward<PreviousAppsListKeyT>(key), std::forward<PreviousAppsListValueT>(value));
175 return *this;
176 }
178 private:
179 Aws::String m_listId;
180
181 Aws::String m_listName;
182
183 Aws::String m_listUpdateToken;
184
185 Aws::Utils::DateTime m_createTime{};
186
187 Aws::Utils::DateTime m_lastUpdateTime{};
188
189 Aws::Vector<App> m_appsList;
190
191 Aws::Map<Aws::String, Aws::Vector<App>> m_previousAppsList;
192 bool m_listIdHasBeenSet = false;
193 bool m_listNameHasBeenSet = false;
194 bool m_listUpdateTokenHasBeenSet = false;
195 bool m_createTimeHasBeenSet = false;
196 bool m_lastUpdateTimeHasBeenSet = false;
197 bool m_appsListHasBeenSet = false;
198 bool m_previousAppsListHasBeenSet = false;
199};
200
201} // namespace Model
202} // namespace FMS
203} // namespace Aws
const Aws::String & GetListId() const
const Aws::String & GetListUpdateToken() const
AWS_FMS_API AppsListData(Aws::Utils::Json::JsonView jsonValue)
AppsListData & WithListUpdateToken(ListUpdateTokenT &&value)
AppsListData & WithCreateTime(CreateTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
void SetCreateTime(CreateTimeT &&value)
AppsListData & WithListName(ListNameT &&value)
AppsListData & WithAppsList(AppsListT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FMS_API AppsListData & operator=(Aws::Utils::Json::JsonView jsonValue)
AppsListData & AddAppsList(AppsListT &&value)
void SetPreviousAppsList(PreviousAppsListT &&value)
AppsListData & WithPreviousAppsList(PreviousAppsListT &&value)
const Aws::String & GetListName() const
void SetListName(ListNameT &&value)
AppsListData & AddPreviousAppsList(PreviousAppsListKeyT &&key, PreviousAppsListValueT &&value)
void SetAppsList(AppsListT &&value)
void SetLastUpdateTime(LastUpdateTimeT &&value)
bool ListUpdateTokenHasBeenSet() const
AWS_FMS_API AppsListData()=default
AppsListData & WithLastUpdateTime(LastUpdateTimeT &&value)
AppsListData & WithListId(ListIdT &&value)
const Aws::Vector< App > & GetAppsList() const
void SetListUpdateToken(ListUpdateTokenT &&value)
void SetListId(ListIdT &&value)
const Aws::Map< Aws::String, Aws::Vector< App > > & GetPreviousAppsList() const
bool PreviousAppsListHasBeenSet() const
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