AWS SDK for C++  1.9.44
AWS SDK for C++
ResolveRoomRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AlexaForBusiness
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ResolveRoom"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetUserId() const{ return m_userId; }
41 
45  inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
46 
50  inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
51 
55  inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
56 
60  inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
61 
65  inline ResolveRoomRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
66 
70  inline ResolveRoomRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
71 
75  inline ResolveRoomRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
76 
77 
81  inline const Aws::String& GetSkillId() const{ return m_skillId; }
82 
86  inline bool SkillIdHasBeenSet() const { return m_skillIdHasBeenSet; }
87 
91  inline void SetSkillId(const Aws::String& value) { m_skillIdHasBeenSet = true; m_skillId = value; }
92 
96  inline void SetSkillId(Aws::String&& value) { m_skillIdHasBeenSet = true; m_skillId = std::move(value); }
97 
101  inline void SetSkillId(const char* value) { m_skillIdHasBeenSet = true; m_skillId.assign(value); }
102 
106  inline ResolveRoomRequest& WithSkillId(const Aws::String& value) { SetSkillId(value); return *this;}
107 
111  inline ResolveRoomRequest& WithSkillId(Aws::String&& value) { SetSkillId(std::move(value)); return *this;}
112 
116  inline ResolveRoomRequest& WithSkillId(const char* value) { SetSkillId(value); return *this;}
117 
118  private:
119 
120  Aws::String m_userId;
121  bool m_userIdHasBeenSet;
122 
123  Aws::String m_skillId;
124  bool m_skillIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace AlexaForBusiness
129 } // namespace Aws
Aws::AlexaForBusiness::Model::ResolveRoomRequest::WithUserId
ResolveRoomRequest & WithUserId(Aws::String &&value)
Definition: ResolveRoomRequest.h:70
Aws::AlexaForBusiness::Model::ResolveRoomRequest::ResolveRoomRequest
ResolveRoomRequest()
Aws::AlexaForBusiness::Model::ResolveRoomRequest::SkillIdHasBeenSet
bool SkillIdHasBeenSet() const
Definition: ResolveRoomRequest.h:86
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::ResolveRoomRequest::WithSkillId
ResolveRoomRequest & WithSkillId(const char *value)
Definition: ResolveRoomRequest.h:116
Aws::AlexaForBusiness::Model::ResolveRoomRequest::WithUserId
ResolveRoomRequest & WithUserId(const char *value)
Definition: ResolveRoomRequest.h:75
Aws::AlexaForBusiness::Model::ResolveRoomRequest::WithUserId
ResolveRoomRequest & WithUserId(const Aws::String &value)
Definition: ResolveRoomRequest.h:65
Aws::AlexaForBusiness::Model::ResolveRoomRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::ResolveRoomRequest::GetUserId
const Aws::String & GetUserId() const
Definition: ResolveRoomRequest.h:40
Aws::AlexaForBusiness::Model::ResolveRoomRequest::SetUserId
void SetUserId(const Aws::String &value)
Definition: ResolveRoomRequest.h:50
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
AWSString.h
Aws::AlexaForBusiness::Model::ResolveRoomRequest::SetSkillId
void SetSkillId(Aws::String &&value)
Definition: ResolveRoomRequest.h:96
Aws::AlexaForBusiness::Model::ResolveRoomRequest
Definition: ResolveRoomRequest.h:22
Aws::AlexaForBusiness::Model::ResolveRoomRequest::SetSkillId
void SetSkillId(const char *value)
Definition: ResolveRoomRequest.h:101
Aws::AlexaForBusiness::Model::ResolveRoomRequest::SetUserId
void SetUserId(Aws::String &&value)
Definition: ResolveRoomRequest.h:55
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::ResolveRoomRequest::SetSkillId
void SetSkillId(const Aws::String &value)
Definition: ResolveRoomRequest.h:91
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::ResolveRoomRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::ResolveRoomRequest::SetUserId
void SetUserId(const char *value)
Definition: ResolveRoomRequest.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::ResolveRoomRequest::WithSkillId
ResolveRoomRequest & WithSkillId(const Aws::String &value)
Definition: ResolveRoomRequest.h:106
Aws::AlexaForBusiness::Model::ResolveRoomRequest::UserIdHasBeenSet
bool UserIdHasBeenSet() const
Definition: ResolveRoomRequest.h:45
Aws::AlexaForBusiness::Model::ResolveRoomRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ResolveRoomRequest.h:30
AlexaForBusinessRequest.h
Aws::AlexaForBusiness::Model::ResolveRoomRequest::GetSkillId
const Aws::String & GetSkillId() const
Definition: ResolveRoomRequest.h:81
Aws::AlexaForBusiness::Model::ResolveRoomRequest::WithSkillId
ResolveRoomRequest & WithSkillId(Aws::String &&value)
Definition: ResolveRoomRequest.h:111