AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberId.h
1
6#pragma once
7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IdentityStore
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IDENTITYSTORE_API MemberId();
36 AWS_IDENTITYSTORE_API MemberId(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IDENTITYSTORE_API MemberId& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetUserId() const{ return m_userId; }
46 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
47 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
48 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
49 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
50 inline MemberId& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
51 inline MemberId& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
52 inline MemberId& WithUserId(const char* value) { SetUserId(value); return *this;}
54 private:
55
56 Aws::String m_userId;
57 bool m_userIdHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace IdentityStore
62} // namespace Aws
const Aws::String & GetUserId() const
Definition MemberId.h:45
AWS_IDENTITYSTORE_API MemberId & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
MemberId & WithUserId(const Aws::String &value)
Definition MemberId.h:50
void SetUserId(Aws::String &&value)
Definition MemberId.h:48
MemberId & WithUserId(Aws::String &&value)
Definition MemberId.h:51
AWS_IDENTITYSTORE_API MemberId(Aws::Utils::Json::JsonView jsonValue)
void SetUserId(const Aws::String &value)
Definition MemberId.h:47
AWS_IDENTITYSTORE_API MemberId()
void SetUserId(const char *value)
Definition MemberId.h:49
MemberId & WithUserId(const char *value)
Definition MemberId.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue