AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename GroupIdentifierT = Aws::String>
47 void SetGroupIdentifier(GroupIdentifierT&& value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier = std::forward<GroupIdentifierT>(value); }
48 template<typename GroupIdentifierT = Aws::String>
49 Member& WithGroupIdentifier(GroupIdentifierT&& value) { SetGroupIdentifier(std::forward<GroupIdentifierT>(value)); return *this;}
51
53
56 inline const Aws::String& GetUserIdentifier() const { return m_userIdentifier; }
57 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
58 template<typename UserIdentifierT = Aws::String>
59 void SetUserIdentifier(UserIdentifierT&& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = std::forward<UserIdentifierT>(value); }
60 template<typename UserIdentifierT = Aws::String>
61 Member& WithUserIdentifier(UserIdentifierT&& value) { SetUserIdentifier(std::forward<UserIdentifierT>(value)); return *this;}
63 private:
64
65 Aws::String m_groupIdentifier;
66 bool m_groupIdentifierHasBeenSet = false;
67
68 Aws::String m_userIdentifier;
69 bool m_userIdentifierHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace DataZone
74} // namespace Aws
const Aws::String & GetGroupIdentifier() const
Definition Member.h:44
Member & WithGroupIdentifier(GroupIdentifierT &&value)
Definition Member.h:49
AWS_DATAZONE_API Member(Aws::Utils::Json::JsonView jsonValue)
Member & WithUserIdentifier(UserIdentifierT &&value)
Definition Member.h:61
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
bool UserIdentifierHasBeenSet() const
Definition Member.h:57
const Aws::String & GetUserIdentifier() const
Definition Member.h:56
bool GroupIdentifierHasBeenSet() const
Definition Member.h:45
void SetUserIdentifier(UserIdentifierT &&value)
Definition Member.h:59
AWS_DATAZONE_API Member()=default
AWS_DATAZONE_API Member & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGroupIdentifier(GroupIdentifierT &&value)
Definition Member.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue