AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
UserAppItem.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qapps/QApps_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QApps {
21namespace Model {
22
30 public:
31 AWS_QAPPS_API UserAppItem() = default;
34 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAppId() const { return m_appId; }
41 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
42 template <typename AppIdT = Aws::String>
43 void SetAppId(AppIdT&& value) {
44 m_appIdHasBeenSet = true;
45 m_appId = std::forward<AppIdT>(value);
46 }
47 template <typename AppIdT = Aws::String>
49 SetAppId(std::forward<AppIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetAppArn() const { return m_appArn; }
59 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
60 template <typename AppArnT = Aws::String>
61 void SetAppArn(AppArnT&& value) {
62 m_appArnHasBeenSet = true;
63 m_appArn = std::forward<AppArnT>(value);
64 }
65 template <typename AppArnT = Aws::String>
67 SetAppArn(std::forward<AppArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetTitle() const { return m_title; }
77 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
78 template <typename TitleT = Aws::String>
79 void SetTitle(TitleT&& value) {
80 m_titleHasBeenSet = true;
81 m_title = std::forward<TitleT>(value);
82 }
83 template <typename TitleT = Aws::String>
85 SetTitle(std::forward<TitleT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
113 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
114 template <typename CreatedAtT = Aws::Utils::DateTime>
115 void SetCreatedAt(CreatedAtT&& value) {
116 m_createdAtHasBeenSet = true;
117 m_createdAt = std::forward<CreatedAtT>(value);
118 }
119 template <typename CreatedAtT = Aws::Utils::DateTime>
121 SetCreatedAt(std::forward<CreatedAtT>(value));
122 return *this;
123 }
125
127
130 inline bool GetCanEdit() const { return m_canEdit; }
131 inline bool CanEditHasBeenSet() const { return m_canEditHasBeenSet; }
132 inline void SetCanEdit(bool value) {
133 m_canEditHasBeenSet = true;
134 m_canEdit = value;
135 }
136 inline UserAppItem& WithCanEdit(bool value) {
137 SetCanEdit(value);
138 return *this;
139 }
141
143
146 inline const Aws::String& GetStatus() const { return m_status; }
147 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
148 template <typename StatusT = Aws::String>
149 void SetStatus(StatusT&& value) {
150 m_statusHasBeenSet = true;
151 m_status = std::forward<StatusT>(value);
152 }
153 template <typename StatusT = Aws::String>
155 SetStatus(std::forward<StatusT>(value));
156 return *this;
157 }
159
161
164 inline bool GetIsVerified() const { return m_isVerified; }
165 inline bool IsVerifiedHasBeenSet() const { return m_isVerifiedHasBeenSet; }
166 inline void SetIsVerified(bool value) {
167 m_isVerifiedHasBeenSet = true;
168 m_isVerified = value;
169 }
170 inline UserAppItem& WithIsVerified(bool value) {
171 SetIsVerified(value);
172 return *this;
173 }
175 private:
176 Aws::String m_appId;
177
178 Aws::String m_appArn;
179
180 Aws::String m_title;
181
182 Aws::String m_description;
183
184 Aws::Utils::DateTime m_createdAt{};
185
186 bool m_canEdit{false};
187
188 Aws::String m_status;
189
190 bool m_isVerified{false};
191 bool m_appIdHasBeenSet = false;
192 bool m_appArnHasBeenSet = false;
193 bool m_titleHasBeenSet = false;
194 bool m_descriptionHasBeenSet = false;
195 bool m_createdAtHasBeenSet = false;
196 bool m_canEditHasBeenSet = false;
197 bool m_statusHasBeenSet = false;
198 bool m_isVerifiedHasBeenSet = false;
199};
200
201} // namespace Model
202} // namespace QApps
203} // namespace Aws
UserAppItem & WithStatus(StatusT &&value)
void SetAppId(AppIdT &&value)
Definition UserAppItem.h:43
UserAppItem & WithDescription(DescriptionT &&value)
UserAppItem & WithCreatedAt(CreatedAtT &&value)
AWS_QAPPS_API UserAppItem()=default
void SetTitle(TitleT &&value)
Definition UserAppItem.h:79
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UserAppItem & WithCanEdit(bool value)
UserAppItem & WithAppId(AppIdT &&value)
Definition UserAppItem.h:48
const Aws::String & GetStatus() const
UserAppItem & WithIsVerified(bool value)
void SetStatus(StatusT &&value)
const Aws::String & GetDescription() const
Definition UserAppItem.h:94
const Aws::String & GetAppId() const
Definition UserAppItem.h:40
void SetDescription(DescriptionT &&value)
Definition UserAppItem.h:97
AWS_QAPPS_API UserAppItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAppArn() const
Definition UserAppItem.h:58
const Aws::String & GetTitle() const
Definition UserAppItem.h:76
UserAppItem & WithTitle(TitleT &&value)
Definition UserAppItem.h:84
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QAPPS_API UserAppItem & operator=(Aws::Utils::Json::JsonView jsonValue)
UserAppItem & WithAppArn(AppArnT &&value)
Definition UserAppItem.h:66
void SetAppArn(AppArnT &&value)
Definition UserAppItem.h:61
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue