AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename GroupNameT = Aws::String>
48 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
49 template<typename GroupNameT = Aws::String>
50 MemberGroup& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
52
54
57 inline MembershipType GetType() const { return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(MembershipType value) { m_typeHasBeenSet = true; m_type = value; }
60 inline MemberGroup& WithType(MembershipType value) { SetType(value); return *this;}
62 private:
63
64 Aws::String m_groupName;
65 bool m_groupNameHasBeenSet = false;
66
68 bool m_typeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace QBusiness
73} // namespace Aws
MemberGroup & WithGroupName(GroupNameT &&value)
Definition MemberGroup.h:50
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
MembershipType GetType() const
Definition MemberGroup.h:57
void SetGroupName(GroupNameT &&value)
Definition MemberGroup.h:48
AWS_QBUSINESS_API MemberGroup()=default
AWS_QBUSINESS_API MemberGroup(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API MemberGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
MemberGroup & WithType(MembershipType value)
Definition MemberGroup.h:60
const Aws::String & GetGroupName() const
Definition MemberGroup.h:45
void SetType(MembershipType value)
Definition MemberGroup.h:59
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