AWS SDK for C++  1.9.46
AWS SDK for C++
PutSkillAuthorizationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace AlexaForBusiness
16 {
17 namespace 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 "PutSkillAuthorization"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::Map<Aws::String, Aws::String>& GetAuthorizationResult() const{ return m_authorizationResult; }
43 
48  inline bool AuthorizationResultHasBeenSet() const { return m_authorizationResultHasBeenSet; }
49 
54  inline void SetAuthorizationResult(const Aws::Map<Aws::String, Aws::String>& value) { m_authorizationResultHasBeenSet = true; m_authorizationResult = value; }
55 
60  inline void SetAuthorizationResult(Aws::Map<Aws::String, Aws::String>&& value) { m_authorizationResultHasBeenSet = true; m_authorizationResult = std::move(value); }
61 
66  inline PutSkillAuthorizationRequest& WithAuthorizationResult(const Aws::Map<Aws::String, Aws::String>& value) { SetAuthorizationResult(value); return *this;}
67 
72  inline PutSkillAuthorizationRequest& WithAuthorizationResult(Aws::Map<Aws::String, Aws::String>&& value) { SetAuthorizationResult(std::move(value)); return *this;}
73 
78  inline PutSkillAuthorizationRequest& AddAuthorizationResult(const Aws::String& key, const Aws::String& value) { m_authorizationResultHasBeenSet = true; m_authorizationResult.emplace(key, value); return *this; }
79 
84  inline PutSkillAuthorizationRequest& AddAuthorizationResult(Aws::String&& key, const Aws::String& value) { m_authorizationResultHasBeenSet = true; m_authorizationResult.emplace(std::move(key), value); return *this; }
85 
90  inline PutSkillAuthorizationRequest& AddAuthorizationResult(const Aws::String& key, Aws::String&& value) { m_authorizationResultHasBeenSet = true; m_authorizationResult.emplace(key, std::move(value)); return *this; }
91 
96  inline PutSkillAuthorizationRequest& AddAuthorizationResult(Aws::String&& key, Aws::String&& value) { m_authorizationResultHasBeenSet = true; m_authorizationResult.emplace(std::move(key), std::move(value)); return *this; }
97 
102  inline PutSkillAuthorizationRequest& AddAuthorizationResult(const char* key, Aws::String&& value) { m_authorizationResultHasBeenSet = true; m_authorizationResult.emplace(key, std::move(value)); return *this; }
103 
108  inline PutSkillAuthorizationRequest& AddAuthorizationResult(Aws::String&& key, const char* value) { m_authorizationResultHasBeenSet = true; m_authorizationResult.emplace(std::move(key), value); return *this; }
109 
114  inline PutSkillAuthorizationRequest& AddAuthorizationResult(const char* key, const char* value) { m_authorizationResultHasBeenSet = true; m_authorizationResult.emplace(key, value); return *this; }
115 
116 
120  inline const Aws::String& GetSkillId() const{ return m_skillId; }
121 
125  inline bool SkillIdHasBeenSet() const { return m_skillIdHasBeenSet; }
126 
130  inline void SetSkillId(const Aws::String& value) { m_skillIdHasBeenSet = true; m_skillId = value; }
131 
135  inline void SetSkillId(Aws::String&& value) { m_skillIdHasBeenSet = true; m_skillId = std::move(value); }
136 
140  inline void SetSkillId(const char* value) { m_skillIdHasBeenSet = true; m_skillId.assign(value); }
141 
145  inline PutSkillAuthorizationRequest& WithSkillId(const Aws::String& value) { SetSkillId(value); return *this;}
146 
150  inline PutSkillAuthorizationRequest& WithSkillId(Aws::String&& value) { SetSkillId(std::move(value)); return *this;}
151 
155  inline PutSkillAuthorizationRequest& WithSkillId(const char* value) { SetSkillId(value); return *this;}
156 
157 
161  inline const Aws::String& GetRoomArn() const{ return m_roomArn; }
162 
166  inline bool RoomArnHasBeenSet() const { return m_roomArnHasBeenSet; }
167 
171  inline void SetRoomArn(const Aws::String& value) { m_roomArnHasBeenSet = true; m_roomArn = value; }
172 
176  inline void SetRoomArn(Aws::String&& value) { m_roomArnHasBeenSet = true; m_roomArn = std::move(value); }
177 
181  inline void SetRoomArn(const char* value) { m_roomArnHasBeenSet = true; m_roomArn.assign(value); }
182 
186  inline PutSkillAuthorizationRequest& WithRoomArn(const Aws::String& value) { SetRoomArn(value); return *this;}
187 
191  inline PutSkillAuthorizationRequest& WithRoomArn(Aws::String&& value) { SetRoomArn(std::move(value)); return *this;}
192 
196  inline PutSkillAuthorizationRequest& WithRoomArn(const char* value) { SetRoomArn(value); return *this;}
197 
198  private:
199 
200  Aws::Map<Aws::String, Aws::String> m_authorizationResult;
201  bool m_authorizationResultHasBeenSet;
202 
203  Aws::String m_skillId;
204  bool m_skillIdHasBeenSet;
205 
206  Aws::String m_roomArn;
207  bool m_roomArnHasBeenSet;
208  };
209 
210 } // namespace Model
211 } // namespace AlexaForBusiness
212 } // namespace Aws
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::PutSkillAuthorizationRequest
PutSkillAuthorizationRequest()
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::SetAuthorizationResult
void SetAuthorizationResult(const Aws::Map< Aws::String, Aws::String > &value)
Definition: PutSkillAuthorizationRequest.h:54
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::SetRoomArn
void SetRoomArn(const Aws::String &value)
Definition: PutSkillAuthorizationRequest.h:171
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::AddAuthorizationResult
PutSkillAuthorizationRequest & AddAuthorizationResult(Aws::String &&key, Aws::String &&value)
Definition: PutSkillAuthorizationRequest.h:96
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::SetSkillId
void SetSkillId(const Aws::String &value)
Definition: PutSkillAuthorizationRequest.h:130
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::SetRoomArn
void SetRoomArn(const char *value)
Definition: PutSkillAuthorizationRequest.h:181
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::AddAuthorizationResult
PutSkillAuthorizationRequest & AddAuthorizationResult(const Aws::String &key, const Aws::String &value)
Definition: PutSkillAuthorizationRequest.h:78
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::SetRoomArn
void SetRoomArn(Aws::String &&value)
Definition: PutSkillAuthorizationRequest.h:176
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::AddAuthorizationResult
PutSkillAuthorizationRequest & AddAuthorizationResult(Aws::String &&key, const char *value)
Definition: PutSkillAuthorizationRequest.h:108
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutSkillAuthorizationRequest.h:31
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::AddAuthorizationResult
PutSkillAuthorizationRequest & AddAuthorizationResult(const Aws::String &key, Aws::String &&value)
Definition: PutSkillAuthorizationRequest.h:90
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::AddAuthorizationResult
PutSkillAuthorizationRequest & AddAuthorizationResult(Aws::String &&key, const Aws::String &value)
Definition: PutSkillAuthorizationRequest.h:84
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::SetSkillId
void SetSkillId(Aws::String &&value)
Definition: PutSkillAuthorizationRequest.h:135
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::SetSkillId
void SetSkillId(const char *value)
Definition: PutSkillAuthorizationRequest.h:140
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::GetAuthorizationResult
const Aws::Map< Aws::String, Aws::String > & GetAuthorizationResult() const
Definition: PutSkillAuthorizationRequest.h:42
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::WithAuthorizationResult
PutSkillAuthorizationRequest & WithAuthorizationResult(Aws::Map< Aws::String, Aws::String > &&value)
Definition: PutSkillAuthorizationRequest.h:72
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::AddAuthorizationResult
PutSkillAuthorizationRequest & AddAuthorizationResult(const char *key, Aws::String &&value)
Definition: PutSkillAuthorizationRequest.h:102
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::GetRoomArn
const Aws::String & GetRoomArn() const
Definition: PutSkillAuthorizationRequest.h:161
AWSString.h
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::SkillIdHasBeenSet
bool SkillIdHasBeenSet() const
Definition: PutSkillAuthorizationRequest.h:125
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::RoomArnHasBeenSet
bool RoomArnHasBeenSet() const
Definition: PutSkillAuthorizationRequest.h:166
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::AuthorizationResultHasBeenSet
bool AuthorizationResultHasBeenSet() const
Definition: PutSkillAuthorizationRequest.h:48
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::WithSkillId
PutSkillAuthorizationRequest & WithSkillId(const Aws::String &value)
Definition: PutSkillAuthorizationRequest.h:145
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::GetSkillId
const Aws::String & GetSkillId() const
Definition: PutSkillAuthorizationRequest.h:120
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::WithRoomArn
PutSkillAuthorizationRequest & WithRoomArn(const char *value)
Definition: PutSkillAuthorizationRequest.h:196
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::WithSkillId
PutSkillAuthorizationRequest & WithSkillId(Aws::String &&value)
Definition: PutSkillAuthorizationRequest.h:150
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::WithRoomArn
PutSkillAuthorizationRequest & WithRoomArn(const Aws::String &value)
Definition: PutSkillAuthorizationRequest.h:186
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::WithRoomArn
PutSkillAuthorizationRequest & WithRoomArn(Aws::String &&value)
Definition: PutSkillAuthorizationRequest.h:191
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::WithAuthorizationResult
PutSkillAuthorizationRequest & WithAuthorizationResult(const Aws::Map< Aws::String, Aws::String > &value)
Definition: PutSkillAuthorizationRequest.h:66
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::SetAuthorizationResult
void SetAuthorizationResult(Aws::Map< Aws::String, Aws::String > &&value)
Definition: PutSkillAuthorizationRequest.h:60
AWSMap.h
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::WithSkillId
PutSkillAuthorizationRequest & WithSkillId(const char *value)
Definition: PutSkillAuthorizationRequest.h:155
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest
Definition: PutSkillAuthorizationRequest.h:23
Aws::AlexaForBusiness::Model::PutSkillAuthorizationRequest::AddAuthorizationResult
PutSkillAuthorizationRequest & AddAuthorizationResult(const char *key, const char *value)
Definition: PutSkillAuthorizationRequest.h:114
AlexaForBusinessRequest.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19