AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AppsListData.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 <aws/fms/model/App.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace FMS
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_FMS_API AppsListData() = default;
42
43
45
48 inline const Aws::String& GetListId() const { return m_listId; }
49 inline bool ListIdHasBeenSet() const { return m_listIdHasBeenSet; }
50 template<typename ListIdT = Aws::String>
51 void SetListId(ListIdT&& value) { m_listIdHasBeenSet = true; m_listId = std::forward<ListIdT>(value); }
52 template<typename ListIdT = Aws::String>
53 AppsListData& WithListId(ListIdT&& value) { SetListId(std::forward<ListIdT>(value)); return *this;}
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) { m_listNameHasBeenSet = true; m_listName = std::forward<ListNameT>(value); }
64 template<typename ListNameT = Aws::String>
65 AppsListData& WithListName(ListNameT&& value) { SetListName(std::forward<ListNameT>(value)); return *this;}
67
69
74 inline const Aws::String& GetListUpdateToken() const { return m_listUpdateToken; }
75 inline bool ListUpdateTokenHasBeenSet() const { return m_listUpdateTokenHasBeenSet; }
76 template<typename ListUpdateTokenT = Aws::String>
77 void SetListUpdateToken(ListUpdateTokenT&& value) { m_listUpdateTokenHasBeenSet = true; m_listUpdateToken = std::forward<ListUpdateTokenT>(value); }
78 template<typename ListUpdateTokenT = Aws::String>
79 AppsListData& WithListUpdateToken(ListUpdateTokenT&& value) { SetListUpdateToken(std::forward<ListUpdateTokenT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
87 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
88 template<typename CreateTimeT = Aws::Utils::DateTime>
89 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
90 template<typename CreateTimeT = Aws::Utils::DateTime>
91 AppsListData& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
99 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
100 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
101 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
102 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
103 AppsListData& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
105
107
110 inline const Aws::Vector<App>& GetAppsList() const { return m_appsList; }
111 inline bool AppsListHasBeenSet() const { return m_appsListHasBeenSet; }
112 template<typename AppsListT = Aws::Vector<App>>
113 void SetAppsList(AppsListT&& value) { m_appsListHasBeenSet = true; m_appsList = std::forward<AppsListT>(value); }
114 template<typename AppsListT = Aws::Vector<App>>
115 AppsListData& WithAppsList(AppsListT&& value) { SetAppsList(std::forward<AppsListT>(value)); return *this;}
116 template<typename AppsListT = App>
117 AppsListData& AddAppsList(AppsListT&& value) { m_appsListHasBeenSet = true; m_appsList.emplace_back(std::forward<AppsListT>(value)); return *this; }
119
121
125 inline const Aws::Map<Aws::String, Aws::Vector<App>>& GetPreviousAppsList() const { return m_previousAppsList; }
126 inline bool PreviousAppsListHasBeenSet() const { return m_previousAppsListHasBeenSet; }
127 template<typename PreviousAppsListT = Aws::Map<Aws::String, Aws::Vector<App>>>
128 void SetPreviousAppsList(PreviousAppsListT&& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList = std::forward<PreviousAppsListT>(value); }
129 template<typename PreviousAppsListT = Aws::Map<Aws::String, Aws::Vector<App>>>
130 AppsListData& WithPreviousAppsList(PreviousAppsListT&& value) { SetPreviousAppsList(std::forward<PreviousAppsListT>(value)); return *this;}
131 template<typename PreviousAppsListKeyT = Aws::String, typename PreviousAppsListValueT = Aws::Vector<App>>
132 AppsListData& AddPreviousAppsList(PreviousAppsListKeyT&& key, PreviousAppsListValueT&& value) {
133 m_previousAppsListHasBeenSet = true; m_previousAppsList.emplace(std::forward<PreviousAppsListKeyT>(key), std::forward<PreviousAppsListValueT>(value)); return *this;
134 }
136 private:
137
138 Aws::String m_listId;
139 bool m_listIdHasBeenSet = false;
140
141 Aws::String m_listName;
142 bool m_listNameHasBeenSet = false;
143
144 Aws::String m_listUpdateToken;
145 bool m_listUpdateTokenHasBeenSet = false;
146
147 Aws::Utils::DateTime m_createTime{};
148 bool m_createTimeHasBeenSet = false;
149
150 Aws::Utils::DateTime m_lastUpdateTime{};
151 bool m_lastUpdateTimeHasBeenSet = false;
152
153 Aws::Vector<App> m_appsList;
154 bool m_appsListHasBeenSet = false;
155
156 Aws::Map<Aws::String, Aws::Vector<App>> m_previousAppsList;
157 bool m_previousAppsListHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace FMS
162} // 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)
bool LastUpdateTimeHasBeenSet() const
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