AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Member.h
1
6#pragma once
7#include <aws/datazone/DataZone_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 DataZone
22{
23namespace Model
24{
25
31 class Member
32 {
33 public:
34 AWS_DATAZONE_API Member();
35 AWS_DATAZONE_API Member(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATAZONE_API Member& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetGroupIdentifier() const{ return m_groupIdentifier; }
45 inline bool GroupIdentifierHasBeenSet() const { return m_groupIdentifierHasBeenSet; }
46 inline void SetGroupIdentifier(const Aws::String& value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier = value; }
47 inline void SetGroupIdentifier(Aws::String&& value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier = std::move(value); }
48 inline void SetGroupIdentifier(const char* value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier.assign(value); }
49 inline Member& WithGroupIdentifier(const Aws::String& value) { SetGroupIdentifier(value); return *this;}
50 inline Member& WithGroupIdentifier(Aws::String&& value) { SetGroupIdentifier(std::move(value)); return *this;}
51 inline Member& WithGroupIdentifier(const char* value) { SetGroupIdentifier(value); return *this;}
53
55
58 inline const Aws::String& GetUserIdentifier() const{ return m_userIdentifier; }
59 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
60 inline void SetUserIdentifier(const Aws::String& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = value; }
61 inline void SetUserIdentifier(Aws::String&& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = std::move(value); }
62 inline void SetUserIdentifier(const char* value) { m_userIdentifierHasBeenSet = true; m_userIdentifier.assign(value); }
63 inline Member& WithUserIdentifier(const Aws::String& value) { SetUserIdentifier(value); return *this;}
64 inline Member& WithUserIdentifier(Aws::String&& value) { SetUserIdentifier(std::move(value)); return *this;}
65 inline Member& WithUserIdentifier(const char* value) { SetUserIdentifier(value); return *this;}
67 private:
68
69 Aws::String m_groupIdentifier;
70 bool m_groupIdentifierHasBeenSet = false;
71
72 Aws::String m_userIdentifier;
73 bool m_userIdentifierHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DataZone
78} // namespace Aws
Member & WithUserIdentifier(const Aws::String &value)
Definition Member.h:63
void SetUserIdentifier(const char *value)
Definition Member.h:62
void SetUserIdentifier(Aws::String &&value)
Definition Member.h:61
const Aws::String & GetGroupIdentifier() const
Definition Member.h:44
AWS_DATAZONE_API Member(Aws::Utils::Json::JsonView jsonValue)
Member & WithUserIdentifier(Aws::String &&value)
Definition Member.h:64
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
Member & WithGroupIdentifier(const Aws::String &value)
Definition Member.h:49
void SetGroupIdentifier(Aws::String &&value)
Definition Member.h:47
bool UserIdentifierHasBeenSet() const
Definition Member.h:59
Member & WithGroupIdentifier(const char *value)
Definition Member.h:51
void SetGroupIdentifier(const char *value)
Definition Member.h:48
const Aws::String & GetUserIdentifier() const
Definition Member.h:58
void SetGroupIdentifier(const Aws::String &value)
Definition Member.h:46
bool GroupIdentifierHasBeenSet() const
Definition Member.h:45
Member & WithGroupIdentifier(Aws::String &&value)
Definition Member.h:50
Member & WithUserIdentifier(const char *value)
Definition Member.h:65
AWS_DATAZONE_API Member & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUserIdentifier(const Aws::String &value)
Definition Member.h:60
AWS_DATAZONE_API Member()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue