AWS SDK for C++  1.9.44
AWS SDK for C++
RegisterAVSDeviceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace AlexaForBusiness
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "RegisterAVSDevice"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
43  inline const Aws::String& GetClientId() const{ return m_clientId; }
44 
49  inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
50 
55  inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
56 
61  inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
62 
67  inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
68 
73  inline RegisterAVSDeviceRequest& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
74 
79  inline RegisterAVSDeviceRequest& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
80 
85  inline RegisterAVSDeviceRequest& WithClientId(const char* value) { SetClientId(value); return *this;}
86 
87 
93  inline const Aws::String& GetUserCode() const{ return m_userCode; }
94 
100  inline bool UserCodeHasBeenSet() const { return m_userCodeHasBeenSet; }
101 
107  inline void SetUserCode(const Aws::String& value) { m_userCodeHasBeenSet = true; m_userCode = value; }
108 
114  inline void SetUserCode(Aws::String&& value) { m_userCodeHasBeenSet = true; m_userCode = std::move(value); }
115 
121  inline void SetUserCode(const char* value) { m_userCodeHasBeenSet = true; m_userCode.assign(value); }
122 
128  inline RegisterAVSDeviceRequest& WithUserCode(const Aws::String& value) { SetUserCode(value); return *this;}
129 
135  inline RegisterAVSDeviceRequest& WithUserCode(Aws::String&& value) { SetUserCode(std::move(value)); return *this;}
136 
142  inline RegisterAVSDeviceRequest& WithUserCode(const char* value) { SetUserCode(value); return *this;}
143 
144 
148  inline const Aws::String& GetProductId() const{ return m_productId; }
149 
153  inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
154 
158  inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
159 
163  inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
164 
168  inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
169 
173  inline RegisterAVSDeviceRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
174 
178  inline RegisterAVSDeviceRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
179 
183  inline RegisterAVSDeviceRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
184 
185 
190  inline const Aws::String& GetDeviceSerialNumber() const{ return m_deviceSerialNumber; }
191 
196  inline bool DeviceSerialNumberHasBeenSet() const { return m_deviceSerialNumberHasBeenSet; }
197 
202  inline void SetDeviceSerialNumber(const Aws::String& value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber = value; }
203 
208  inline void SetDeviceSerialNumber(Aws::String&& value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber = std::move(value); }
209 
214  inline void SetDeviceSerialNumber(const char* value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber.assign(value); }
215 
220  inline RegisterAVSDeviceRequest& WithDeviceSerialNumber(const Aws::String& value) { SetDeviceSerialNumber(value); return *this;}
221 
226  inline RegisterAVSDeviceRequest& WithDeviceSerialNumber(Aws::String&& value) { SetDeviceSerialNumber(std::move(value)); return *this;}
227 
232  inline RegisterAVSDeviceRequest& WithDeviceSerialNumber(const char* value) { SetDeviceSerialNumber(value); return *this;}
233 
234 
239  inline const Aws::String& GetAmazonId() const{ return m_amazonId; }
240 
245  inline bool AmazonIdHasBeenSet() const { return m_amazonIdHasBeenSet; }
246 
251  inline void SetAmazonId(const Aws::String& value) { m_amazonIdHasBeenSet = true; m_amazonId = value; }
252 
257  inline void SetAmazonId(Aws::String&& value) { m_amazonIdHasBeenSet = true; m_amazonId = std::move(value); }
258 
263  inline void SetAmazonId(const char* value) { m_amazonIdHasBeenSet = true; m_amazonId.assign(value); }
264 
269  inline RegisterAVSDeviceRequest& WithAmazonId(const Aws::String& value) { SetAmazonId(value); return *this;}
270 
275  inline RegisterAVSDeviceRequest& WithAmazonId(Aws::String&& value) { SetAmazonId(std::move(value)); return *this;}
276 
281  inline RegisterAVSDeviceRequest& WithAmazonId(const char* value) { SetAmazonId(value); return *this;}
282 
283 
288  inline const Aws::String& GetRoomArn() const{ return m_roomArn; }
289 
294  inline bool RoomArnHasBeenSet() const { return m_roomArnHasBeenSet; }
295 
300  inline void SetRoomArn(const Aws::String& value) { m_roomArnHasBeenSet = true; m_roomArn = value; }
301 
306  inline void SetRoomArn(Aws::String&& value) { m_roomArnHasBeenSet = true; m_roomArn = std::move(value); }
307 
312  inline void SetRoomArn(const char* value) { m_roomArnHasBeenSet = true; m_roomArn.assign(value); }
313 
318  inline RegisterAVSDeviceRequest& WithRoomArn(const Aws::String& value) { SetRoomArn(value); return *this;}
319 
324  inline RegisterAVSDeviceRequest& WithRoomArn(Aws::String&& value) { SetRoomArn(std::move(value)); return *this;}
325 
330  inline RegisterAVSDeviceRequest& WithRoomArn(const char* value) { SetRoomArn(value); return *this;}
331 
332 
337  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
338 
343  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
344 
349  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
350 
355  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
356 
361  inline RegisterAVSDeviceRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
362 
367  inline RegisterAVSDeviceRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
368 
373  inline RegisterAVSDeviceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
374 
379  inline RegisterAVSDeviceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
380 
381  private:
382 
383  Aws::String m_clientId;
384  bool m_clientIdHasBeenSet;
385 
386  Aws::String m_userCode;
387  bool m_userCodeHasBeenSet;
388 
389  Aws::String m_productId;
390  bool m_productIdHasBeenSet;
391 
392  Aws::String m_deviceSerialNumber;
393  bool m_deviceSerialNumberHasBeenSet;
394 
395  Aws::String m_amazonId;
396  bool m_amazonIdHasBeenSet;
397 
398  Aws::String m_roomArn;
399  bool m_roomArnHasBeenSet;
400 
401  Aws::Vector<Tag> m_tags;
402  bool m_tagsHasBeenSet;
403  };
404 
405 } // namespace Model
406 } // namespace AlexaForBusiness
407 } // namespace Aws
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithDeviceSerialNumber
RegisterAVSDeviceRequest & WithDeviceSerialNumber(const char *value)
Definition: RegisterAVSDeviceRequest.h:232
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest
Definition: RegisterAVSDeviceRequest.h:24
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: RegisterAVSDeviceRequest.h:337
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::RoomArnHasBeenSet
bool RoomArnHasBeenSet() const
Definition: RegisterAVSDeviceRequest.h:294
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetUserCode
void SetUserCode(Aws::String &&value)
Definition: RegisterAVSDeviceRequest.h:114
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetProductId
void SetProductId(const Aws::String &value)
Definition: RegisterAVSDeviceRequest.h:158
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::AddTags
RegisterAVSDeviceRequest & AddTags(Tag &&value)
Definition: RegisterAVSDeviceRequest.h:379
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::ClientIdHasBeenSet
bool ClientIdHasBeenSet() const
Definition: RegisterAVSDeviceRequest.h:49
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetClientId
void SetClientId(const Aws::String &value)
Definition: RegisterAVSDeviceRequest.h:55
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::UserCodeHasBeenSet
bool UserCodeHasBeenSet() const
Definition: RegisterAVSDeviceRequest.h:100
Tag.h
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::GetDeviceSerialNumber
const Aws::String & GetDeviceSerialNumber() const
Definition: RegisterAVSDeviceRequest.h:190
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithAmazonId
RegisterAVSDeviceRequest & WithAmazonId(const char *value)
Definition: RegisterAVSDeviceRequest.h:281
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithDeviceSerialNumber
RegisterAVSDeviceRequest & WithDeviceSerialNumber(Aws::String &&value)
Definition: RegisterAVSDeviceRequest.h:226
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RegisterAVSDeviceRequest.h:32
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::ProductIdHasBeenSet
bool ProductIdHasBeenSet() const
Definition: RegisterAVSDeviceRequest.h:153
AWSVector.h
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetDeviceSerialNumber
void SetDeviceSerialNumber(Aws::String &&value)
Definition: RegisterAVSDeviceRequest.h:208
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithRoomArn
RegisterAVSDeviceRequest & WithRoomArn(Aws::String &&value)
Definition: RegisterAVSDeviceRequest.h:324
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::RegisterAVSDeviceRequest
RegisterAVSDeviceRequest()
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithClientId
RegisterAVSDeviceRequest & WithClientId(Aws::String &&value)
Definition: RegisterAVSDeviceRequest.h:79
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithUserCode
RegisterAVSDeviceRequest & WithUserCode(const char *value)
Definition: RegisterAVSDeviceRequest.h:142
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetProductId
void SetProductId(const char *value)
Definition: RegisterAVSDeviceRequest.h:168
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithClientId
RegisterAVSDeviceRequest & WithClientId(const Aws::String &value)
Definition: RegisterAVSDeviceRequest.h:73
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::GetProductId
const Aws::String & GetProductId() const
Definition: RegisterAVSDeviceRequest.h:148
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetRoomArn
void SetRoomArn(Aws::String &&value)
Definition: RegisterAVSDeviceRequest.h:306
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithClientId
RegisterAVSDeviceRequest & WithClientId(const char *value)
Definition: RegisterAVSDeviceRequest.h:85
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithProductId
RegisterAVSDeviceRequest & WithProductId(Aws::String &&value)
Definition: RegisterAVSDeviceRequest.h:178
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::GetAmazonId
const Aws::String & GetAmazonId() const
Definition: RegisterAVSDeviceRequest.h:239
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::GetUserCode
const Aws::String & GetUserCode() const
Definition: RegisterAVSDeviceRequest.h:93
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetRoomArn
void SetRoomArn(const Aws::String &value)
Definition: RegisterAVSDeviceRequest.h:300
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetProductId
void SetProductId(Aws::String &&value)
Definition: RegisterAVSDeviceRequest.h:163
Aws::AlexaForBusiness::Model::Tag
Definition: Tag.h:33
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithTags
RegisterAVSDeviceRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: RegisterAVSDeviceRequest.h:367
AWSString.h
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithUserCode
RegisterAVSDeviceRequest & WithUserCode(const Aws::String &value)
Definition: RegisterAVSDeviceRequest.h:128
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithDeviceSerialNumber
RegisterAVSDeviceRequest & WithDeviceSerialNumber(const Aws::String &value)
Definition: RegisterAVSDeviceRequest.h:220
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithProductId
RegisterAVSDeviceRequest & WithProductId(const char *value)
Definition: RegisterAVSDeviceRequest.h:183
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithRoomArn
RegisterAVSDeviceRequest & WithRoomArn(const char *value)
Definition: RegisterAVSDeviceRequest.h:330
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetAmazonId
void SetAmazonId(Aws::String &&value)
Definition: RegisterAVSDeviceRequest.h:257
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetAmazonId
void SetAmazonId(const Aws::String &value)
Definition: RegisterAVSDeviceRequest.h:251
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: RegisterAVSDeviceRequest.h:355
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetUserCode
void SetUserCode(const char *value)
Definition: RegisterAVSDeviceRequest.h:121
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::GetClientId
const Aws::String & GetClientId() const
Definition: RegisterAVSDeviceRequest.h:43
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetAmazonId
void SetAmazonId(const char *value)
Definition: RegisterAVSDeviceRequest.h:263
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetDeviceSerialNumber
void SetDeviceSerialNumber(const char *value)
Definition: RegisterAVSDeviceRequest.h:214
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithProductId
RegisterAVSDeviceRequest & WithProductId(const Aws::String &value)
Definition: RegisterAVSDeviceRequest.h:173
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: RegisterAVSDeviceRequest.h:343
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithTags
RegisterAVSDeviceRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: RegisterAVSDeviceRequest.h:361
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetClientId
void SetClientId(const char *value)
Definition: RegisterAVSDeviceRequest.h:67
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::GetRoomArn
const Aws::String & GetRoomArn() const
Definition: RegisterAVSDeviceRequest.h:288
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: RegisterAVSDeviceRequest.h:349
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::AddTags
RegisterAVSDeviceRequest & AddTags(const Tag &value)
Definition: RegisterAVSDeviceRequest.h:373
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::DeviceSerialNumberHasBeenSet
bool DeviceSerialNumberHasBeenSet() const
Definition: RegisterAVSDeviceRequest.h:196
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithAmazonId
RegisterAVSDeviceRequest & WithAmazonId(Aws::String &&value)
Definition: RegisterAVSDeviceRequest.h:275
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetClientId
void SetClientId(Aws::String &&value)
Definition: RegisterAVSDeviceRequest.h:61
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithAmazonId
RegisterAVSDeviceRequest & WithAmazonId(const Aws::String &value)
Definition: RegisterAVSDeviceRequest.h:269
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetRoomArn
void SetRoomArn(const char *value)
Definition: RegisterAVSDeviceRequest.h:312
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::AmazonIdHasBeenSet
bool AmazonIdHasBeenSet() const
Definition: RegisterAVSDeviceRequest.h:245
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithRoomArn
RegisterAVSDeviceRequest & WithRoomArn(const Aws::String &value)
Definition: RegisterAVSDeviceRequest.h:318
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::WithUserCode
RegisterAVSDeviceRequest & WithUserCode(Aws::String &&value)
Definition: RegisterAVSDeviceRequest.h:135
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetUserCode
void SetUserCode(const Aws::String &value)
Definition: RegisterAVSDeviceRequest.h:107
AlexaForBusinessRequest.h
Aws::AlexaForBusiness::Model::RegisterAVSDeviceRequest::SetDeviceSerialNumber
void SetDeviceSerialNumber(const Aws::String &value)
Definition: RegisterAVSDeviceRequest.h:202