AWS SDK for C++  1.9.158
AWS SDK for C++
MemberIdArnPair.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& GetMemberId() const{ return m_memberId; }
45 
49  inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
50 
54  inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
55 
59  inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
60 
64  inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); }
65 
69  inline MemberIdArnPair& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
70 
74  inline MemberIdArnPair& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
75 
79  inline MemberIdArnPair& WithMemberId(const char* value) { SetMemberId(value); return *this;}
80 
81 
85  inline const Aws::String& GetMemberArn() const{ return m_memberArn; }
86 
90  inline bool MemberArnHasBeenSet() const { return m_memberArnHasBeenSet; }
91 
95  inline void SetMemberArn(const Aws::String& value) { m_memberArnHasBeenSet = true; m_memberArn = value; }
96 
100  inline void SetMemberArn(Aws::String&& value) { m_memberArnHasBeenSet = true; m_memberArn = std::move(value); }
101 
105  inline void SetMemberArn(const char* value) { m_memberArnHasBeenSet = true; m_memberArn.assign(value); }
106 
110  inline MemberIdArnPair& WithMemberArn(const Aws::String& value) { SetMemberArn(value); return *this;}
111 
115  inline MemberIdArnPair& WithMemberArn(Aws::String&& value) { SetMemberArn(std::move(value)); return *this;}
116 
120  inline MemberIdArnPair& WithMemberArn(const char* value) { SetMemberArn(value); return *this;}
121 
122  private:
123 
124  Aws::String m_memberId;
125  bool m_memberIdHasBeenSet;
126 
127  Aws::String m_memberArn;
128  bool m_memberArnHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace QuickSight
133 } // namespace Aws
Aws::QuickSight::Model::MemberIdArnPair::GetMemberArn
const Aws::String & GetMemberArn() const
Definition: MemberIdArnPair.h:85
QuickSight_EXPORTS.h
Aws::QuickSight::Model::MemberIdArnPair::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::MemberIdArnPair::WithMemberArn
MemberIdArnPair & WithMemberArn(Aws::String &&value)
Definition: MemberIdArnPair.h:115
Aws::QuickSight::Model::MemberIdArnPair
Definition: MemberIdArnPair.h:33
Aws::QuickSight::Model::MemberIdArnPair::WithMemberArn
MemberIdArnPair & WithMemberArn(const Aws::String &value)
Definition: MemberIdArnPair.h:110
Aws::QuickSight::Model::MemberIdArnPair::WithMemberId
MemberIdArnPair & WithMemberId(const Aws::String &value)
Definition: MemberIdArnPair.h:69
Aws::QuickSight::Model::MemberIdArnPair::operator=
MemberIdArnPair & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::MemberIdArnPair::WithMemberId
MemberIdArnPair & WithMemberId(Aws::String &&value)
Definition: MemberIdArnPair.h:74
Aws::QuickSight::Model::MemberIdArnPair::SetMemberId
void SetMemberId(const char *value)
Definition: MemberIdArnPair.h:64
Aws::QuickSight::Model::MemberIdArnPair::WithMemberArn
MemberIdArnPair & WithMemberArn(const char *value)
Definition: MemberIdArnPair.h:120
Aws::QuickSight::Model::MemberIdArnPair::SetMemberArn
void SetMemberArn(const char *value)
Definition: MemberIdArnPair.h:105
Aws::QuickSight::Model::MemberIdArnPair::MemberIdArnPair
MemberIdArnPair(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::MemberIdArnPair::SetMemberId
void SetMemberId(const Aws::String &value)
Definition: MemberIdArnPair.h:54
Aws::QuickSight::Model::MemberIdArnPair::MemberArnHasBeenSet
bool MemberArnHasBeenSet() const
Definition: MemberIdArnPair.h:90
Aws::QuickSight::Model::MemberIdArnPair::MemberIdArnPair
MemberIdArnPair()
Aws::QuickSight::Model::MemberIdArnPair::WithMemberId
MemberIdArnPair & WithMemberId(const char *value)
Definition: MemberIdArnPair.h:79
Aws::QuickSight::Model::MemberIdArnPair::SetMemberId
void SetMemberId(Aws::String &&value)
Definition: MemberIdArnPair.h:59
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::MemberIdArnPair::GetMemberId
const Aws::String & GetMemberId() const
Definition: MemberIdArnPair.h:44
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws::QuickSight::Model::MemberIdArnPair::SetMemberArn
void SetMemberArn(Aws::String &&value)
Definition: MemberIdArnPair.h:100
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::MemberIdArnPair::SetMemberArn
void SetMemberArn(const Aws::String &value)
Definition: MemberIdArnPair.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::MemberIdArnPair::MemberIdHasBeenSet
bool MemberIdHasBeenSet() const
Definition: MemberIdArnPair.h:49