AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UserAppItem.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QApps
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QAPPS_API UserAppItem() = default;
39 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAppId() const { return m_appId; }
47 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
48 template<typename AppIdT = Aws::String>
49 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
50 template<typename AppIdT = Aws::String>
51 UserAppItem& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
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) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
62 template<typename AppArnT = Aws::String>
63 UserAppItem& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
65
67
70 inline const Aws::String& GetTitle() const { return m_title; }
71 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
72 template<typename TitleT = Aws::String>
73 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
74 template<typename TitleT = Aws::String>
75 UserAppItem& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
77
79
82 inline const Aws::String& GetDescription() const { return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 template<typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
86 template<typename DescriptionT = Aws::String>
87 UserAppItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
95 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
96 template<typename CreatedAtT = Aws::Utils::DateTime>
97 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
98 template<typename CreatedAtT = Aws::Utils::DateTime>
99 UserAppItem& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
101
103
106 inline bool GetCanEdit() const { return m_canEdit; }
107 inline bool CanEditHasBeenSet() const { return m_canEditHasBeenSet; }
108 inline void SetCanEdit(bool value) { m_canEditHasBeenSet = true; m_canEdit = value; }
109 inline UserAppItem& WithCanEdit(bool value) { SetCanEdit(value); return *this;}
111
113
116 inline const Aws::String& GetStatus() const { return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 template<typename StatusT = Aws::String>
119 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
120 template<typename StatusT = Aws::String>
121 UserAppItem& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
123
125
128 inline bool GetIsVerified() const { return m_isVerified; }
129 inline bool IsVerifiedHasBeenSet() const { return m_isVerifiedHasBeenSet; }
130 inline void SetIsVerified(bool value) { m_isVerifiedHasBeenSet = true; m_isVerified = value; }
131 inline UserAppItem& WithIsVerified(bool value) { SetIsVerified(value); return *this;}
133 private:
134
135 Aws::String m_appId;
136 bool m_appIdHasBeenSet = false;
137
138 Aws::String m_appArn;
139 bool m_appArnHasBeenSet = false;
140
141 Aws::String m_title;
142 bool m_titleHasBeenSet = false;
143
144 Aws::String m_description;
145 bool m_descriptionHasBeenSet = false;
146
147 Aws::Utils::DateTime m_createdAt{};
148 bool m_createdAtHasBeenSet = false;
149
150 bool m_canEdit{false};
151 bool m_canEditHasBeenSet = false;
152
153 Aws::String m_status;
154 bool m_statusHasBeenSet = false;
155
156 bool m_isVerified{false};
157 bool m_isVerifiedHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace QApps
162} // namespace Aws
UserAppItem & WithStatus(StatusT &&value)
void SetAppId(AppIdT &&value)
Definition UserAppItem.h:49
UserAppItem & WithDescription(DescriptionT &&value)
Definition UserAppItem.h:87
UserAppItem & WithCreatedAt(CreatedAtT &&value)
Definition UserAppItem.h:99
AWS_QAPPS_API UserAppItem()=default
void SetTitle(TitleT &&value)
Definition UserAppItem.h:73
void SetCreatedAt(CreatedAtT &&value)
Definition UserAppItem.h:97
const Aws::Utils::DateTime & GetCreatedAt() const
Definition UserAppItem.h:94
UserAppItem & WithCanEdit(bool value)
UserAppItem & WithAppId(AppIdT &&value)
Definition UserAppItem.h:51
const Aws::String & GetStatus() const
UserAppItem & WithIsVerified(bool value)
void SetStatus(StatusT &&value)
const Aws::String & GetDescription() const
Definition UserAppItem.h:82
const Aws::String & GetAppId() const
Definition UserAppItem.h:46
void SetDescription(DescriptionT &&value)
Definition UserAppItem.h:85
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:70
UserAppItem & WithTitle(TitleT &&value)
Definition UserAppItem.h:75
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:63
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