AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DocumentAclGroup.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
34 {
35 public:
36 AWS_QBUSINESS_API DocumentAclGroup() = default;
39 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 DocumentAclGroup& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
60 inline MembershipType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(MembershipType value) { m_typeHasBeenSet = true; m_type = value; }
63 inline DocumentAclGroup& WithType(MembershipType value) { SetType(value); return *this;}
65 private:
66
67 Aws::String m_name;
68 bool m_nameHasBeenSet = false;
69
71 bool m_typeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QBusiness
76} // namespace Aws
AWS_QBUSINESS_API DocumentAclGroup(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
AWS_QBUSINESS_API DocumentAclGroup()=default
AWS_QBUSINESS_API DocumentAclGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentAclGroup & WithName(NameT &&value)
DocumentAclGroup & WithType(MembershipType value)
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