AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
MemberGroup.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusiness_EXPORTS.h>
9#include <aws/qbusiness/model/MembershipType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QBusiness {
21namespace Model {
22
29 public:
30 AWS_QBUSINESS_API MemberGroup() = default;
33 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetGroupName() const { return m_groupName; }
40 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
41 template <typename GroupNameT = Aws::String>
42 void SetGroupName(GroupNameT&& value) {
43 m_groupNameHasBeenSet = true;
44 m_groupName = std::forward<GroupNameT>(value);
45 }
46 template <typename GroupNameT = Aws::String>
48 SetGroupName(std::forward<GroupNameT>(value));
49 return *this;
50 }
52
54
57 inline MembershipType GetType() const { return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(MembershipType value) {
60 m_typeHasBeenSet = true;
61 m_type = value;
62 }
64 SetType(value);
65 return *this;
66 }
68 private:
69 Aws::String m_groupName;
70
72 bool m_groupNameHasBeenSet = false;
73 bool m_typeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace QBusiness
78} // namespace Aws
MemberGroup & WithGroupName(GroupNameT &&value)
Definition MemberGroup.h:47
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
MembershipType GetType() const
Definition MemberGroup.h:57
void SetGroupName(GroupNameT &&value)
Definition MemberGroup.h:42
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:63
const Aws::String & GetGroupName() const
Definition MemberGroup.h:39
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