AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37 AWS_QAPPS_API UserAppItem(Aws::Utils::Json::JsonView jsonValue);
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 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
49 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
50 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
51 inline UserAppItem& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
52 inline UserAppItem& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
53 inline UserAppItem& WithAppId(const char* value) { SetAppId(value); return *this;}
55
57
60 inline const Aws::String& GetAppArn() const{ return m_appArn; }
61 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
62 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
63 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
64 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
65 inline UserAppItem& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
66 inline UserAppItem& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
67 inline UserAppItem& WithAppArn(const char* value) { SetAppArn(value); return *this;}
69
71
74 inline const Aws::String& GetTitle() const{ return m_title; }
75 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
76 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
77 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
78 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
79 inline UserAppItem& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
80 inline UserAppItem& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
81 inline UserAppItem& WithTitle(const char* value) { SetTitle(value); return *this;}
83
85
88 inline const Aws::String& GetDescription() const{ return m_description; }
89 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
92 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 inline UserAppItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
94 inline UserAppItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
95 inline UserAppItem& WithDescription(const char* value) { SetDescription(value); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
103 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
104 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
105 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
106 inline UserAppItem& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
107 inline UserAppItem& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
109
111
114 inline bool GetCanEdit() const{ return m_canEdit; }
115 inline bool CanEditHasBeenSet() const { return m_canEditHasBeenSet; }
116 inline void SetCanEdit(bool value) { m_canEditHasBeenSet = true; m_canEdit = value; }
117 inline UserAppItem& WithCanEdit(bool value) { SetCanEdit(value); return *this;}
119
121
124 inline const Aws::String& GetStatus() const{ return m_status; }
125 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
126 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
127 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
128 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
129 inline UserAppItem& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
130 inline UserAppItem& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
131 inline UserAppItem& WithStatus(const char* value) { SetStatus(value); return *this;}
133
135
138 inline bool GetIsVerified() const{ return m_isVerified; }
139 inline bool IsVerifiedHasBeenSet() const { return m_isVerifiedHasBeenSet; }
140 inline void SetIsVerified(bool value) { m_isVerifiedHasBeenSet = true; m_isVerified = value; }
141 inline UserAppItem& WithIsVerified(bool value) { SetIsVerified(value); return *this;}
143 private:
144
145 Aws::String m_appId;
146 bool m_appIdHasBeenSet = false;
147
148 Aws::String m_appArn;
149 bool m_appArnHasBeenSet = false;
150
151 Aws::String m_title;
152 bool m_titleHasBeenSet = false;
153
154 Aws::String m_description;
155 bool m_descriptionHasBeenSet = false;
156
157 Aws::Utils::DateTime m_createdAt;
158 bool m_createdAtHasBeenSet = false;
159
160 bool m_canEdit;
161 bool m_canEditHasBeenSet = false;
162
163 Aws::String m_status;
164 bool m_statusHasBeenSet = false;
165
166 bool m_isVerified;
167 bool m_isVerifiedHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace QApps
172} // namespace Aws
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
Definition UserAppItem.h:90
UserAppItem & WithTitle(const char *value)
Definition UserAppItem.h:81
void SetAppId(const char *value)
Definition UserAppItem.h:50
UserAppItem & WithStatus(const Aws::String &value)
void SetTitle(Aws::String &&value)
Definition UserAppItem.h:77
void SetAppArn(Aws::String &&value)
Definition UserAppItem.h:63
UserAppItem & WithAppArn(Aws::String &&value)
Definition UserAppItem.h:66
void SetStatus(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UserAppItem & WithCanEdit(bool value)
UserAppItem & WithCreatedAt(const Aws::Utils::DateTime &value)
UserAppItem & WithAppId(Aws::String &&value)
Definition UserAppItem.h:52
void SetTitle(const char *value)
Definition UserAppItem.h:78
UserAppItem & WithTitle(const Aws::String &value)
Definition UserAppItem.h:79
const Aws::String & GetStatus() const
void SetAppId(const Aws::String &value)
Definition UserAppItem.h:48
UserAppItem & WithAppArn(const char *value)
Definition UserAppItem.h:67
UserAppItem & WithIsVerified(bool value)
const Aws::String & GetDescription() const
Definition UserAppItem.h:88
const Aws::String & GetAppId() const
Definition UserAppItem.h:46
AWS_QAPPS_API UserAppItem(Aws::Utils::Json::JsonView jsonValue)
void SetTitle(const Aws::String &value)
Definition UserAppItem.h:76
const Aws::String & GetAppArn() const
Definition UserAppItem.h:60
UserAppItem & WithDescription(const Aws::String &value)
Definition UserAppItem.h:93
void SetDescription(Aws::String &&value)
Definition UserAppItem.h:91
UserAppItem & WithAppArn(const Aws::String &value)
Definition UserAppItem.h:65
void SetAppId(Aws::String &&value)
Definition UserAppItem.h:49
const Aws::String & GetTitle() const
Definition UserAppItem.h:74
void SetAppArn(const Aws::String &value)
Definition UserAppItem.h:62
UserAppItem & WithAppId(const char *value)
Definition UserAppItem.h:53
UserAppItem & WithStatus(const char *value)
UserAppItem & WithDescription(const char *value)
Definition UserAppItem.h:95
void SetAppArn(const char *value)
Definition UserAppItem.h:64
void SetDescription(const char *value)
Definition UserAppItem.h:92
void SetStatus(const Aws::String &value)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QAPPS_API UserAppItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(const Aws::Utils::DateTime &value)
UserAppItem & WithDescription(Aws::String &&value)
Definition UserAppItem.h:94
void SetStatus(const char *value)
UserAppItem & WithAppId(const Aws::String &value)
Definition UserAppItem.h:51
UserAppItem & WithCreatedAt(Aws::Utils::DateTime &&value)
UserAppItem & WithStatus(Aws::String &&value)
UserAppItem & WithTitle(Aws::String &&value)
Definition UserAppItem.h:80
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue