AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRoomMembershipRequest.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/ChimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/chime/model/RoomMembershipRole.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Chime
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateRoomMembership"; }
32
33 AWS_CHIME_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAccountId() const{ return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
43 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
44 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
45 inline UpdateRoomMembershipRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
46 inline UpdateRoomMembershipRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
47 inline UpdateRoomMembershipRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
49
51
54 inline const Aws::String& GetRoomId() const{ return m_roomId; }
55 inline bool RoomIdHasBeenSet() const { return m_roomIdHasBeenSet; }
56 inline void SetRoomId(const Aws::String& value) { m_roomIdHasBeenSet = true; m_roomId = value; }
57 inline void SetRoomId(Aws::String&& value) { m_roomIdHasBeenSet = true; m_roomId = std::move(value); }
58 inline void SetRoomId(const char* value) { m_roomIdHasBeenSet = true; m_roomId.assign(value); }
59 inline UpdateRoomMembershipRequest& WithRoomId(const Aws::String& value) { SetRoomId(value); return *this;}
60 inline UpdateRoomMembershipRequest& WithRoomId(Aws::String&& value) { SetRoomId(std::move(value)); return *this;}
61 inline UpdateRoomMembershipRequest& WithRoomId(const char* value) { SetRoomId(value); return *this;}
63
65
68 inline const Aws::String& GetMemberId() const{ return m_memberId; }
69 inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; }
70 inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; }
71 inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); }
72 inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); }
73 inline UpdateRoomMembershipRequest& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;}
74 inline UpdateRoomMembershipRequest& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;}
75 inline UpdateRoomMembershipRequest& WithMemberId(const char* value) { SetMemberId(value); return *this;}
77
79
82 inline const RoomMembershipRole& GetRole() const{ return m_role; }
83 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
84 inline void SetRole(const RoomMembershipRole& value) { m_roleHasBeenSet = true; m_role = value; }
85 inline void SetRole(RoomMembershipRole&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
86 inline UpdateRoomMembershipRequest& WithRole(const RoomMembershipRole& value) { SetRole(value); return *this;}
87 inline UpdateRoomMembershipRequest& WithRole(RoomMembershipRole&& value) { SetRole(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_accountId;
92 bool m_accountIdHasBeenSet = false;
93
94 Aws::String m_roomId;
95 bool m_roomIdHasBeenSet = false;
96
97 Aws::String m_memberId;
98 bool m_memberIdHasBeenSet = false;
99
100 RoomMembershipRole m_role;
101 bool m_roleHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Chime
106} // namespace Aws
UpdateRoomMembershipRequest & WithMemberId(Aws::String &&value)
UpdateRoomMembershipRequest & WithAccountId(Aws::String &&value)
UpdateRoomMembershipRequest & WithAccountId(const Aws::String &value)
UpdateRoomMembershipRequest & WithRole(const RoomMembershipRole &value)
UpdateRoomMembershipRequest & WithMemberId(const char *value)
UpdateRoomMembershipRequest & WithRoomId(const Aws::String &value)
AWS_CHIME_API Aws::String SerializePayload() const override
UpdateRoomMembershipRequest & WithMemberId(const Aws::String &value)
UpdateRoomMembershipRequest & WithRoomId(const char *value)
UpdateRoomMembershipRequest & WithRoomId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateRoomMembershipRequest & WithAccountId(const char *value)
UpdateRoomMembershipRequest & WithRole(RoomMembershipRole &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String