AWS SDK for C++  1.9.160
AWS SDK for C++
GroupMember.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace QuickSight
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetArn() const{ return m_arn; }
45 
49  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 
54  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
55 
59  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
60 
64  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 
69  inline GroupMember& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 
74  inline GroupMember& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
75 
79  inline GroupMember& WithArn(const char* value) { SetArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetMemberName() const{ return m_memberName; }
86 
90  inline bool MemberNameHasBeenSet() const { return m_memberNameHasBeenSet; }
91 
95  inline void SetMemberName(const Aws::String& value) { m_memberNameHasBeenSet = true; m_memberName = value; }
96 
100  inline void SetMemberName(Aws::String&& value) { m_memberNameHasBeenSet = true; m_memberName = std::move(value); }
101 
105  inline void SetMemberName(const char* value) { m_memberNameHasBeenSet = true; m_memberName.assign(value); }
106 
110  inline GroupMember& WithMemberName(const Aws::String& value) { SetMemberName(value); return *this;}
111 
115  inline GroupMember& WithMemberName(Aws::String&& value) { SetMemberName(std::move(value)); return *this;}
116 
120  inline GroupMember& WithMemberName(const char* value) { SetMemberName(value); return *this;}
121 
122  private:
123 
124  Aws::String m_arn;
125  bool m_arnHasBeenSet;
126 
127  Aws::String m_memberName;
128  bool m_memberNameHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace QuickSight
133 } // namespace Aws
QuickSight_EXPORTS.h
Aws::QuickSight::Model::GroupMember::WithMemberName
GroupMember & WithMemberName(const char *value)
Definition: GroupMember.h:120
Aws::QuickSight::Model::GroupMember::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::GroupMember::operator=
GroupMember & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::GroupMember::MemberNameHasBeenSet
bool MemberNameHasBeenSet() const
Definition: GroupMember.h:90
Aws::QuickSight::Model::GroupMember::SetMemberName
void SetMemberName(const char *value)
Definition: GroupMember.h:105
Aws::QuickSight::Model::GroupMember::SetArn
void SetArn(const char *value)
Definition: GroupMember.h:64
Aws::QuickSight::Model::GroupMember::WithArn
GroupMember & WithArn(const Aws::String &value)
Definition: GroupMember.h:69
Aws::QuickSight::Model::GroupMember
Definition: GroupMember.h:33
Aws::QuickSight::Model::GroupMember::GroupMember
GroupMember()
Aws::QuickSight::Model::GroupMember::WithArn
GroupMember & WithArn(Aws::String &&value)
Definition: GroupMember.h:74
Aws::QuickSight::Model::GroupMember::SetMemberName
void SetMemberName(const Aws::String &value)
Definition: GroupMember.h:95
Aws::QuickSight::Model::GroupMember::SetArn
void SetArn(Aws::String &&value)
Definition: GroupMember.h:59
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::GroupMember::SetMemberName
void SetMemberName(Aws::String &&value)
Definition: GroupMember.h:100
Aws::QuickSight::Model::GroupMember::GroupMember
GroupMember(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::GroupMember::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: GroupMember.h:49
Aws::QuickSight::Model::GroupMember::GetMemberName
const Aws::String & GetMemberName() const
Definition: GroupMember.h:85
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::GroupMember::GetArn
const Aws::String & GetArn() const
Definition: GroupMember.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::GroupMember::WithArn
GroupMember & WithArn(const char *value)
Definition: GroupMember.h:79
Aws::QuickSight::Model::GroupMember::SetArn
void SetArn(const Aws::String &value)
Definition: GroupMember.h:54
Aws::QuickSight::Model::GroupMember::WithMemberName
GroupMember & WithMemberName(const Aws::String &value)
Definition: GroupMember.h:110
Aws::QuickSight::Model::GroupMember::WithMemberName
GroupMember & WithMemberName(Aws::String &&value)
Definition: GroupMember.h:115