AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
42
43
45
48 inline const Aws::String& GetListId() const{ return m_listId; }
49 inline bool ListIdHasBeenSet() const { return m_listIdHasBeenSet; }
50 inline void SetListId(const Aws::String& value) { m_listIdHasBeenSet = true; m_listId = value; }
51 inline void SetListId(Aws::String&& value) { m_listIdHasBeenSet = true; m_listId = std::move(value); }
52 inline void SetListId(const char* value) { m_listIdHasBeenSet = true; m_listId.assign(value); }
53 inline AppsListData& WithListId(const Aws::String& value) { SetListId(value); return *this;}
54 inline AppsListData& WithListId(Aws::String&& value) { SetListId(std::move(value)); return *this;}
55 inline AppsListData& WithListId(const char* value) { SetListId(value); return *this;}
57
59
62 inline const Aws::String& GetListName() const{ return m_listName; }
63 inline bool ListNameHasBeenSet() const { return m_listNameHasBeenSet; }
64 inline void SetListName(const Aws::String& value) { m_listNameHasBeenSet = true; m_listName = value; }
65 inline void SetListName(Aws::String&& value) { m_listNameHasBeenSet = true; m_listName = std::move(value); }
66 inline void SetListName(const char* value) { m_listNameHasBeenSet = true; m_listName.assign(value); }
67 inline AppsListData& WithListName(const Aws::String& value) { SetListName(value); return *this;}
68 inline AppsListData& WithListName(Aws::String&& value) { SetListName(std::move(value)); return *this;}
69 inline AppsListData& WithListName(const char* value) { SetListName(value); return *this;}
71
73
78 inline const Aws::String& GetListUpdateToken() const{ return m_listUpdateToken; }
79 inline bool ListUpdateTokenHasBeenSet() const { return m_listUpdateTokenHasBeenSet; }
80 inline void SetListUpdateToken(const Aws::String& value) { m_listUpdateTokenHasBeenSet = true; m_listUpdateToken = value; }
81 inline void SetListUpdateToken(Aws::String&& value) { m_listUpdateTokenHasBeenSet = true; m_listUpdateToken = std::move(value); }
82 inline void SetListUpdateToken(const char* value) { m_listUpdateTokenHasBeenSet = true; m_listUpdateToken.assign(value); }
83 inline AppsListData& WithListUpdateToken(const Aws::String& value) { SetListUpdateToken(value); return *this;}
84 inline AppsListData& WithListUpdateToken(Aws::String&& value) { SetListUpdateToken(std::move(value)); return *this;}
85 inline AppsListData& WithListUpdateToken(const char* value) { SetListUpdateToken(value); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
93 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
94 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
95 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
96 inline AppsListData& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
97 inline AppsListData& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
105 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
106 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
107 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
108 inline AppsListData& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
109 inline AppsListData& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
111
113
116 inline const Aws::Vector<App>& GetAppsList() const{ return m_appsList; }
117 inline bool AppsListHasBeenSet() const { return m_appsListHasBeenSet; }
118 inline void SetAppsList(const Aws::Vector<App>& value) { m_appsListHasBeenSet = true; m_appsList = value; }
119 inline void SetAppsList(Aws::Vector<App>&& value) { m_appsListHasBeenSet = true; m_appsList = std::move(value); }
120 inline AppsListData& WithAppsList(const Aws::Vector<App>& value) { SetAppsList(value); return *this;}
121 inline AppsListData& WithAppsList(Aws::Vector<App>&& value) { SetAppsList(std::move(value)); return *this;}
122 inline AppsListData& AddAppsList(const App& value) { m_appsListHasBeenSet = true; m_appsList.push_back(value); return *this; }
123 inline AppsListData& AddAppsList(App&& value) { m_appsListHasBeenSet = true; m_appsList.push_back(std::move(value)); return *this; }
125
127
131 inline const Aws::Map<Aws::String, Aws::Vector<App>>& GetPreviousAppsList() const{ return m_previousAppsList; }
132 inline bool PreviousAppsListHasBeenSet() const { return m_previousAppsListHasBeenSet; }
133 inline void SetPreviousAppsList(const Aws::Map<Aws::String, Aws::Vector<App>>& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList = value; }
134 inline void SetPreviousAppsList(Aws::Map<Aws::String, Aws::Vector<App>>&& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList = std::move(value); }
136 inline AppsListData& WithPreviousAppsList(Aws::Map<Aws::String, Aws::Vector<App>>&& value) { SetPreviousAppsList(std::move(value)); return *this;}
137 inline AppsListData& AddPreviousAppsList(const Aws::String& key, const Aws::Vector<App>& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList.emplace(key, value); return *this; }
138 inline AppsListData& AddPreviousAppsList(Aws::String&& key, const Aws::Vector<App>& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList.emplace(std::move(key), value); return *this; }
139 inline AppsListData& AddPreviousAppsList(const Aws::String& key, Aws::Vector<App>&& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList.emplace(key, std::move(value)); return *this; }
140 inline AppsListData& AddPreviousAppsList(Aws::String&& key, Aws::Vector<App>&& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList.emplace(std::move(key), std::move(value)); return *this; }
141 inline AppsListData& AddPreviousAppsList(const char* key, Aws::Vector<App>&& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList.emplace(key, std::move(value)); return *this; }
142 inline AppsListData& AddPreviousAppsList(const char* key, const Aws::Vector<App>& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList.emplace(key, value); return *this; }
144 private:
145
146 Aws::String m_listId;
147 bool m_listIdHasBeenSet = false;
148
149 Aws::String m_listName;
150 bool m_listNameHasBeenSet = false;
151
152 Aws::String m_listUpdateToken;
153 bool m_listUpdateTokenHasBeenSet = false;
154
155 Aws::Utils::DateTime m_createTime;
156 bool m_createTimeHasBeenSet = false;
157
158 Aws::Utils::DateTime m_lastUpdateTime;
159 bool m_lastUpdateTimeHasBeenSet = false;
160
161 Aws::Vector<App> m_appsList;
162 bool m_appsListHasBeenSet = false;
163
164 Aws::Map<Aws::String, Aws::Vector<App>> m_previousAppsList;
165 bool m_previousAppsListHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace FMS
170} // namespace Aws
const Aws::String & GetListId() const
const Aws::String & GetListUpdateToken() const
AWS_FMS_API AppsListData(Aws::Utils::Json::JsonView jsonValue)
AppsListData & WithCreateTime(const Aws::Utils::DateTime &value)
AppsListData & WithAppsList(const Aws::Vector< App > &value)
AppsListData & WithListId(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
void SetAppsList(Aws::Vector< App > &&value)
void SetListUpdateToken(const Aws::String &value)
AppsListData & WithListName(Aws::String &&value)
void SetListId(const char *value)
AppsListData & AddPreviousAppsList(const char *key, const Aws::Vector< App > &value)
AppsListData & WithLastUpdateTime(Aws::Utils::DateTime &&value)
void SetListId(Aws::String &&value)
void SetPreviousAppsList(const Aws::Map< Aws::String, Aws::Vector< App > > &value)
const Aws::Utils::DateTime & GetCreateTime() const
AppsListData & WithCreateTime(Aws::Utils::DateTime &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FMS_API AppsListData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreateTime(Aws::Utils::DateTime &&value)
AppsListData & WithListName(const char *value)
void SetListName(const char *value)
AppsListData & WithListUpdateToken(const char *value)
AppsListData & AddPreviousAppsList(const Aws::String &key, Aws::Vector< App > &&value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
AppsListData & AddPreviousAppsList(const char *key, Aws::Vector< App > &&value)
void SetListName(const Aws::String &value)
AppsListData & WithListId(Aws::String &&value)
AppsListData & WithPreviousAppsList(const Aws::Map< Aws::String, Aws::Vector< App > > &value)
AppsListData & WithListName(const Aws::String &value)
const Aws::String & GetListName() const
void SetListId(const Aws::String &value)
AppsListData & WithListId(const char *value)
void SetListUpdateToken(Aws::String &&value)
void SetListName(Aws::String &&value)
void SetListUpdateToken(const char *value)
AppsListData & WithListUpdateToken(Aws::String &&value)
bool ListUpdateTokenHasBeenSet() const
AppsListData & AddPreviousAppsList(Aws::String &&key, Aws::Vector< App > &&value)
AppsListData & WithAppsList(Aws::Vector< App > &&value)
AppsListData & WithPreviousAppsList(Aws::Map< Aws::String, Aws::Vector< App > > &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
AppsListData & AddAppsList(App &&value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
AppsListData & AddAppsList(const App &value)
AppsListData & WithLastUpdateTime(const Aws::Utils::DateTime &value)
void SetPreviousAppsList(Aws::Map< Aws::String, Aws::Vector< App > > &&value)
AppsListData & WithListUpdateToken(const Aws::String &value)
const Aws::Vector< App > & GetAppsList() const
AppsListData & AddPreviousAppsList(const Aws::String &key, const Aws::Vector< App > &value)
const Aws::Map< Aws::String, Aws::Vector< App > > & GetPreviousAppsList() const
bool PreviousAppsListHasBeenSet() const
void SetAppsList(const Aws::Vector< App > &value)
AppsListData & AddPreviousAppsList(Aws::String &&key, const Aws::Vector< App > &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