1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h> 8 #include <aws/alexaforbusiness/AlexaForBusinessRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace AlexaForBusiness 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_ALEXAFORBUSINESS_API ResolveRoomRequest : public AlexaForBusinessRequest 22 { 23 public: 24 ResolveRoomRequest(); 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. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "ResolveRoom"; } 31 32 Aws::String SerializePayload() const override; 33 34 Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; 35 36 37 /** 38 * <p>The ARN of the user. Required.</p> 39 */ GetUserId()40 inline const Aws::String& GetUserId() const{ return m_userId; } 41 42 /** 43 * <p>The ARN of the user. Required.</p> 44 */ UserIdHasBeenSet()45 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } 46 47 /** 48 * <p>The ARN of the user. Required.</p> 49 */ SetUserId(const Aws::String & value)50 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } 51 52 /** 53 * <p>The ARN of the user. Required.</p> 54 */ SetUserId(Aws::String && value)55 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } 56 57 /** 58 * <p>The ARN of the user. Required.</p> 59 */ SetUserId(const char * value)60 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } 61 62 /** 63 * <p>The ARN of the user. Required.</p> 64 */ WithUserId(const Aws::String & value)65 inline ResolveRoomRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} 66 67 /** 68 * <p>The ARN of the user. Required.</p> 69 */ WithUserId(Aws::String && value)70 inline ResolveRoomRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} 71 72 /** 73 * <p>The ARN of the user. Required.</p> 74 */ WithUserId(const char * value)75 inline ResolveRoomRequest& WithUserId(const char* value) { SetUserId(value); return *this;} 76 77 78 /** 79 * <p>The ARN of the skill that was requested. Required.</p> 80 */ GetSkillId()81 inline const Aws::String& GetSkillId() const{ return m_skillId; } 82 83 /** 84 * <p>The ARN of the skill that was requested. Required.</p> 85 */ SkillIdHasBeenSet()86 inline bool SkillIdHasBeenSet() const { return m_skillIdHasBeenSet; } 87 88 /** 89 * <p>The ARN of the skill that was requested. Required.</p> 90 */ SetSkillId(const Aws::String & value)91 inline void SetSkillId(const Aws::String& value) { m_skillIdHasBeenSet = true; m_skillId = value; } 92 93 /** 94 * <p>The ARN of the skill that was requested. Required.</p> 95 */ SetSkillId(Aws::String && value)96 inline void SetSkillId(Aws::String&& value) { m_skillIdHasBeenSet = true; m_skillId = std::move(value); } 97 98 /** 99 * <p>The ARN of the skill that was requested. Required.</p> 100 */ SetSkillId(const char * value)101 inline void SetSkillId(const char* value) { m_skillIdHasBeenSet = true; m_skillId.assign(value); } 102 103 /** 104 * <p>The ARN of the skill that was requested. Required.</p> 105 */ WithSkillId(const Aws::String & value)106 inline ResolveRoomRequest& WithSkillId(const Aws::String& value) { SetSkillId(value); return *this;} 107 108 /** 109 * <p>The ARN of the skill that was requested. Required.</p> 110 */ WithSkillId(Aws::String && value)111 inline ResolveRoomRequest& WithSkillId(Aws::String&& value) { SetSkillId(std::move(value)); return *this;} 112 113 /** 114 * <p>The ARN of the skill that was requested. Required.</p> 115 */ WithSkillId(const char * value)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 130