AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
User.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qapps/QApps_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QApps {
20namespace Model {
21
27class User {
28 public:
29 AWS_QAPPS_API User() = default;
32 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetUserId() const { return m_userId; }
39 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
40 template <typename UserIdT = Aws::String>
41 void SetUserId(UserIdT&& value) {
42 m_userIdHasBeenSet = true;
43 m_userId = std::forward<UserIdT>(value);
44 }
45 template <typename UserIdT = Aws::String>
47 SetUserId(std::forward<UserIdT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_userId;
53 bool m_userIdHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace QApps
58} // namespace Aws
void SetUserId(UserIdT &&value)
Definition User.h:41
User & WithUserId(UserIdT &&value)
Definition User.h:46
AWS_QAPPS_API User(Aws::Utils::Json::JsonView jsonValue)
bool UserIdHasBeenSet() const
Definition User.h:39
AWS_QAPPS_API User()=default
AWS_QAPPS_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUserId() const
Definition User.h:38
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
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