AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
GroupMember.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API GroupMember() = default;
31 AWS_QUICKSIGHT_API GroupMember(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API GroupMember& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
47 GroupMember& WithArn(ArnT&& value) {
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetMemberName() const { return m_memberName; }
58 inline bool MemberNameHasBeenSet() const { return m_memberNameHasBeenSet; }
59 template <typename MemberNameT = Aws::String>
60 void SetMemberName(MemberNameT&& value) {
61 m_memberNameHasBeenSet = true;
62 m_memberName = std::forward<MemberNameT>(value);
63 }
64 template <typename MemberNameT = Aws::String>
65 GroupMember& WithMemberName(MemberNameT&& value) {
66 SetMemberName(std::forward<MemberNameT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_arn;
72
73 Aws::String m_memberName;
74 bool m_arnHasBeenSet = false;
75 bool m_memberNameHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace QuickSight
80} // namespace Aws
AWS_QUICKSIGHT_API GroupMember & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Definition GroupMember.h:39
AWS_QUICKSIGHT_API GroupMember(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API GroupMember()=default
const Aws::String & GetMemberName() const
Definition GroupMember.h:57
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
GroupMember & WithMemberName(MemberNameT &&value)
Definition GroupMember.h:65
void SetMemberName(MemberNameT &&value)
Definition GroupMember.h:60
GroupMember & WithArn(ArnT &&value)
Definition GroupMember.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue