AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
47 inline const Aws::String& GetListArn() const{ return m_listArn; }
48 inline bool ListArnHasBeenSet() const { return m_listArnHasBeenSet; }
49 inline void SetListArn(const Aws::String& value) { m_listArnHasBeenSet = true; m_listArn = value; }
50 inline void SetListArn(Aws::String&& value) { m_listArnHasBeenSet = true; m_listArn = std::move(value); }
51 inline void SetListArn(const char* value) { m_listArnHasBeenSet = true; m_listArn.assign(value); }
52 inline AppsListDataSummary& WithListArn(const Aws::String& value) { SetListArn(value); return *this;}
53 inline AppsListDataSummary& WithListArn(Aws::String&& value) { SetListArn(std::move(value)); return *this;}
54 inline AppsListDataSummary& WithListArn(const char* value) { SetListArn(value); return *this;}
56
58
61 inline const Aws::String& GetListId() const{ return m_listId; }
62 inline bool ListIdHasBeenSet() const { return m_listIdHasBeenSet; }
63 inline void SetListId(const Aws::String& value) { m_listIdHasBeenSet = true; m_listId = value; }
64 inline void SetListId(Aws::String&& value) { m_listIdHasBeenSet = true; m_listId = std::move(value); }
65 inline void SetListId(const char* value) { m_listIdHasBeenSet = true; m_listId.assign(value); }
66 inline AppsListDataSummary& WithListId(const Aws::String& value) { SetListId(value); return *this;}
67 inline AppsListDataSummary& WithListId(Aws::String&& value) { SetListId(std::move(value)); return *this;}
68 inline AppsListDataSummary& WithListId(const char* value) { SetListId(value); return *this;}
70
72
75 inline const Aws::String& GetListName() const{ return m_listName; }
76 inline bool ListNameHasBeenSet() const { return m_listNameHasBeenSet; }
77 inline void SetListName(const Aws::String& value) { m_listNameHasBeenSet = true; m_listName = value; }
78 inline void SetListName(Aws::String&& value) { m_listNameHasBeenSet = true; m_listName = std::move(value); }
79 inline void SetListName(const char* value) { m_listNameHasBeenSet = true; m_listName.assign(value); }
80 inline AppsListDataSummary& WithListName(const Aws::String& value) { SetListName(value); return *this;}
81 inline AppsListDataSummary& WithListName(Aws::String&& value) { SetListName(std::move(value)); return *this;}
82 inline AppsListDataSummary& WithListName(const char* value) { SetListName(value); return *this;}
84
86
90 inline const Aws::Vector<App>& GetAppsList() const{ return m_appsList; }
91 inline bool AppsListHasBeenSet() const { return m_appsListHasBeenSet; }
92 inline void SetAppsList(const Aws::Vector<App>& value) { m_appsListHasBeenSet = true; m_appsList = value; }
93 inline void SetAppsList(Aws::Vector<App>&& value) { m_appsListHasBeenSet = true; m_appsList = std::move(value); }
94 inline AppsListDataSummary& WithAppsList(const Aws::Vector<App>& value) { SetAppsList(value); return *this;}
95 inline AppsListDataSummary& WithAppsList(Aws::Vector<App>&& value) { SetAppsList(std::move(value)); return *this;}
96 inline AppsListDataSummary& AddAppsList(const App& value) { m_appsListHasBeenSet = true; m_appsList.push_back(value); return *this; }
97 inline AppsListDataSummary& AddAppsList(App&& value) { m_appsListHasBeenSet = true; m_appsList.push_back(std::move(value)); return *this; }
99 private:
100
101 Aws::String m_listArn;
102 bool m_listArnHasBeenSet = false;
103
104 Aws::String m_listId;
105 bool m_listIdHasBeenSet = false;
106
107 Aws::String m_listName;
108 bool m_listNameHasBeenSet = false;
109
110 Aws::Vector<App> m_appsList;
111 bool m_appsListHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace FMS
116} // namespace Aws
void SetListId(const Aws::String &value)
AWS_FMS_API AppsListDataSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetListArn() const
void SetListArn(const Aws::String &value)
const Aws::Vector< App > & GetAppsList() const
AppsListDataSummary & WithListArn(const char *value)
AppsListDataSummary & WithListArn(Aws::String &&value)
AppsListDataSummary & WithListArn(const Aws::String &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AppsListDataSummary & WithAppsList(Aws::Vector< App > &&value)
AWS_FMS_API AppsListDataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetListName(const Aws::String &value)
AppsListDataSummary & WithListId(const Aws::String &value)
AppsListDataSummary & WithListId(const char *value)
AppsListDataSummary & AddAppsList(const App &value)
const Aws::String & GetListName() const
void SetAppsList(const Aws::Vector< App > &value)
AppsListDataSummary & AddAppsList(App &&value)
AppsListDataSummary & WithListName(Aws::String &&value)
AppsListDataSummary & WithListName(const Aws::String &value)
AppsListDataSummary & WithAppsList(const Aws::Vector< App > &value)
AppsListDataSummary & WithListId(Aws::String &&value)
void SetAppsList(Aws::Vector< App > &&value)
const Aws::String & GetListId() const
AppsListDataSummary & WithListName(const char *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