AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AppsListDataSummary.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/memory/stl/AWSVector.h>
10#include <aws/fms/model/App.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FMS
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_FMS_API AppsListDataSummary() = default;
41
42
44
47 inline const Aws::String& GetListArn() const { return m_listArn; }
48 inline bool ListArnHasBeenSet() const { return m_listArnHasBeenSet; }
49 template<typename ListArnT = Aws::String>
50 void SetListArn(ListArnT&& value) { m_listArnHasBeenSet = true; m_listArn = std::forward<ListArnT>(value); }
51 template<typename ListArnT = Aws::String>
52 AppsListDataSummary& WithListArn(ListArnT&& value) { SetListArn(std::forward<ListArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetListId() const { return m_listId; }
60 inline bool ListIdHasBeenSet() const { return m_listIdHasBeenSet; }
61 template<typename ListIdT = Aws::String>
62 void SetListId(ListIdT&& value) { m_listIdHasBeenSet = true; m_listId = std::forward<ListIdT>(value); }
63 template<typename ListIdT = Aws::String>
64 AppsListDataSummary& WithListId(ListIdT&& value) { SetListId(std::forward<ListIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetListName() const { return m_listName; }
72 inline bool ListNameHasBeenSet() const { return m_listNameHasBeenSet; }
73 template<typename ListNameT = Aws::String>
74 void SetListName(ListNameT&& value) { m_listNameHasBeenSet = true; m_listName = std::forward<ListNameT>(value); }
75 template<typename ListNameT = Aws::String>
76 AppsListDataSummary& WithListName(ListNameT&& value) { SetListName(std::forward<ListNameT>(value)); return *this;}
78
80
84 inline const Aws::Vector<App>& GetAppsList() const { return m_appsList; }
85 inline bool AppsListHasBeenSet() const { return m_appsListHasBeenSet; }
86 template<typename AppsListT = Aws::Vector<App>>
87 void SetAppsList(AppsListT&& value) { m_appsListHasBeenSet = true; m_appsList = std::forward<AppsListT>(value); }
88 template<typename AppsListT = Aws::Vector<App>>
89 AppsListDataSummary& WithAppsList(AppsListT&& value) { SetAppsList(std::forward<AppsListT>(value)); return *this;}
90 template<typename AppsListT = App>
91 AppsListDataSummary& AddAppsList(AppsListT&& value) { m_appsListHasBeenSet = true; m_appsList.emplace_back(std::forward<AppsListT>(value)); return *this; }
93 private:
94
95 Aws::String m_listArn;
96 bool m_listArnHasBeenSet = false;
97
98 Aws::String m_listId;
99 bool m_listIdHasBeenSet = false;
100
101 Aws::String m_listName;
102 bool m_listNameHasBeenSet = false;
103
104 Aws::Vector<App> m_appsList;
105 bool m_appsListHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace FMS
110} // namespace Aws
AWS_FMS_API AppsListDataSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetListArn() const
const Aws::Vector< App > & GetAppsList() const
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AppsListDataSummary & WithAppsList(AppsListT &&value)
AWS_FMS_API AppsListDataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AppsListDataSummary & AddAppsList(AppsListT &&value)
AppsListDataSummary & WithListName(ListNameT &&value)
const Aws::String & GetListName() const
AppsListDataSummary & WithListId(ListIdT &&value)
AWS_FMS_API AppsListDataSummary()=default
const Aws::String & GetListId() const
AppsListDataSummary & WithListArn(ListArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue