AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberGroup.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/MembershipType.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 QBusiness
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QBUSINESS_API MemberGroup();
36 AWS_QBUSINESS_API MemberGroup(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QBUSINESS_API MemberGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetGroupName() const{ return m_groupName; }
46 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
47 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
48 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
49 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
50 inline MemberGroup& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
51 inline MemberGroup& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
52 inline MemberGroup& WithGroupName(const char* value) { SetGroupName(value); return *this;}
54
56
59 inline const MembershipType& GetType() const{ return m_type; }
60 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
61 inline void SetType(const MembershipType& value) { m_typeHasBeenSet = true; m_type = value; }
62 inline void SetType(MembershipType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
63 inline MemberGroup& WithType(const MembershipType& value) { SetType(value); return *this;}
64 inline MemberGroup& WithType(MembershipType&& value) { SetType(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_groupName;
69 bool m_groupNameHasBeenSet = false;
70
71 MembershipType m_type;
72 bool m_typeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace QBusiness
77} // namespace Aws
MemberGroup & WithType(const MembershipType &value)
Definition MemberGroup.h:63
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroupName(const char *value)
Definition MemberGroup.h:49
MemberGroup & WithType(MembershipType &&value)
Definition MemberGroup.h:64
MemberGroup & WithGroupName(const char *value)
Definition MemberGroup.h:52
AWS_QBUSINESS_API MemberGroup(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API MemberGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(const MembershipType &value)
Definition MemberGroup.h:61
MemberGroup & WithGroupName(Aws::String &&value)
Definition MemberGroup.h:51
const MembershipType & GetType() const
Definition MemberGroup.h:59
const Aws::String & GetGroupName() const
Definition MemberGroup.h:45
void SetGroupName(const Aws::String &value)
Definition MemberGroup.h:47
void SetGroupName(Aws::String &&value)
Definition MemberGroup.h:48
MemberGroup & WithGroupName(const Aws::String &value)
Definition MemberGroup.h:50
void SetType(MembershipType &&value)
Definition MemberGroup.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue