AWS SDK for C++  1.9.44
AWS SDK for C++
CreateRoomRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 #include <aws/core/utils/UUID.h>
14 
15 namespace Aws
16 {
17 namespace AlexaForBusiness
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateRoom"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetRoomName() const{ return m_roomName; }
44 
48  inline bool RoomNameHasBeenSet() const { return m_roomNameHasBeenSet; }
49 
53  inline void SetRoomName(const Aws::String& value) { m_roomNameHasBeenSet = true; m_roomName = value; }
54 
58  inline void SetRoomName(Aws::String&& value) { m_roomNameHasBeenSet = true; m_roomName = std::move(value); }
59 
63  inline void SetRoomName(const char* value) { m_roomNameHasBeenSet = true; m_roomName.assign(value); }
64 
68  inline CreateRoomRequest& WithRoomName(const Aws::String& value) { SetRoomName(value); return *this;}
69 
73  inline CreateRoomRequest& WithRoomName(Aws::String&& value) { SetRoomName(std::move(value)); return *this;}
74 
78  inline CreateRoomRequest& WithRoomName(const char* value) { SetRoomName(value); return *this;}
79 
80 
84  inline const Aws::String& GetDescription() const{ return m_description; }
85 
89  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 
94  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 
99  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
100 
104  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 
109  inline CreateRoomRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
110 
114  inline CreateRoomRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 
119  inline CreateRoomRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
120 
121 
125  inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
126 
130  inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
131 
135  inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
136 
140  inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
141 
145  inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
146 
150  inline CreateRoomRequest& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
151 
155  inline CreateRoomRequest& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
156 
160  inline CreateRoomRequest& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
161 
162 
166  inline const Aws::String& GetProviderCalendarId() const{ return m_providerCalendarId; }
167 
171  inline bool ProviderCalendarIdHasBeenSet() const { return m_providerCalendarIdHasBeenSet; }
172 
176  inline void SetProviderCalendarId(const Aws::String& value) { m_providerCalendarIdHasBeenSet = true; m_providerCalendarId = value; }
177 
181  inline void SetProviderCalendarId(Aws::String&& value) { m_providerCalendarIdHasBeenSet = true; m_providerCalendarId = std::move(value); }
182 
186  inline void SetProviderCalendarId(const char* value) { m_providerCalendarIdHasBeenSet = true; m_providerCalendarId.assign(value); }
187 
191  inline CreateRoomRequest& WithProviderCalendarId(const Aws::String& value) { SetProviderCalendarId(value); return *this;}
192 
196  inline CreateRoomRequest& WithProviderCalendarId(Aws::String&& value) { SetProviderCalendarId(std::move(value)); return *this;}
197 
201  inline CreateRoomRequest& WithProviderCalendarId(const char* value) { SetProviderCalendarId(value); return *this;}
202 
203 
208  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
209 
214  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
215 
220  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
221 
226  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
227 
232  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
233 
238  inline CreateRoomRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
239 
244  inline CreateRoomRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
245 
250  inline CreateRoomRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
251 
252 
256  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
257 
261  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
262 
266  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
267 
271  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
272 
276  inline CreateRoomRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
277 
281  inline CreateRoomRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
282 
286  inline CreateRoomRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
287 
291  inline CreateRoomRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
292 
293  private:
294 
295  Aws::String m_roomName;
296  bool m_roomNameHasBeenSet;
297 
298  Aws::String m_description;
299  bool m_descriptionHasBeenSet;
300 
301  Aws::String m_profileArn;
302  bool m_profileArnHasBeenSet;
303 
304  Aws::String m_providerCalendarId;
305  bool m_providerCalendarIdHasBeenSet;
306 
307  Aws::String m_clientRequestToken;
308  bool m_clientRequestTokenHasBeenSet;
309 
310  Aws::Vector<Tag> m_tags;
311  bool m_tagsHasBeenSet;
312  };
313 
314 } // namespace Model
315 } // namespace AlexaForBusiness
316 } // namespace Aws
Aws::AlexaForBusiness::Model::CreateRoomRequest::ProfileArnHasBeenSet
bool ProfileArnHasBeenSet() const
Definition: CreateRoomRequest.h:130
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithDescription
CreateRoomRequest & WithDescription(const char *value)
Definition: CreateRoomRequest.h:119
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithProviderCalendarId
CreateRoomRequest & WithProviderCalendarId(Aws::String &&value)
Definition: CreateRoomRequest.h:196
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateRoomRequest.h:266
Aws::AlexaForBusiness::Model::CreateRoomRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::Model::CreateRoomRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: CreateRoomRequest.h:208
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithProviderCalendarId
CreateRoomRequest & WithProviderCalendarId(const char *value)
Definition: CreateRoomRequest.h:201
Aws::AlexaForBusiness::Model::CreateRoomRequest::GetRoomName
const Aws::String & GetRoomName() const
Definition: CreateRoomRequest.h:43
Aws::AlexaForBusiness::Model::CreateRoomRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateRoomRequest.h:84
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateRoomRequest.h:94
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetProfileArn
void SetProfileArn(const char *value)
Definition: CreateRoomRequest.h:145
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithClientRequestToken
CreateRoomRequest & WithClientRequestToken(const Aws::String &value)
Definition: CreateRoomRequest.h:238
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithDescription
CreateRoomRequest & WithDescription(const Aws::String &value)
Definition: CreateRoomRequest.h:109
Tag.h
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetRoomName
void SetRoomName(const Aws::String &value)
Definition: CreateRoomRequest.h:53
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithTags
CreateRoomRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateRoomRequest.h:276
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithProviderCalendarId
CreateRoomRequest & WithProviderCalendarId(const Aws::String &value)
Definition: CreateRoomRequest.h:191
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetRoomName
void SetRoomName(Aws::String &&value)
Definition: CreateRoomRequest.h:58
Aws::AlexaForBusiness::Model::CreateRoomRequest::GetProviderCalendarId
const Aws::String & GetProviderCalendarId() const
Definition: CreateRoomRequest.h:166
AWSVector.h
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetProviderCalendarId
void SetProviderCalendarId(Aws::String &&value)
Definition: CreateRoomRequest.h:181
Aws::AlexaForBusiness::Model::CreateRoomRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: CreateRoomRequest.h:214
Aws::AlexaForBusiness::Model::CreateRoomRequest
Definition: CreateRoomRequest.h:25
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithRoomName
CreateRoomRequest & WithRoomName(const Aws::String &value)
Definition: CreateRoomRequest.h:68
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetRoomName
void SetRoomName(const char *value)
Definition: CreateRoomRequest.h:63
Aws::AlexaForBusiness::Model::CreateRoomRequest::AddTags
CreateRoomRequest & AddTags(Tag &&value)
Definition: CreateRoomRequest.h:291
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithRoomName
CreateRoomRequest & WithRoomName(const char *value)
Definition: CreateRoomRequest.h:78
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetProviderCalendarId
void SetProviderCalendarId(const Aws::String &value)
Definition: CreateRoomRequest.h:176
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateRoomRequest.h:271
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithDescription
CreateRoomRequest & WithDescription(Aws::String &&value)
Definition: CreateRoomRequest.h:114
Aws::AlexaForBusiness::Model::CreateRoomRequest::RoomNameHasBeenSet
bool RoomNameHasBeenSet() const
Definition: CreateRoomRequest.h:48
Aws::AlexaForBusiness::Model::CreateRoomRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::CreateRoomRequest::GetProfileArn
const Aws::String & GetProfileArn() const
Definition: CreateRoomRequest.h:125
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithProfileArn
CreateRoomRequest & WithProfileArn(Aws::String &&value)
Definition: CreateRoomRequest.h:155
Aws::AlexaForBusiness::Model::CreateRoomRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateRoomRequest.h:261
Aws::AlexaForBusiness::Model::Tag
Definition: Tag.h:33
Aws::AlexaForBusiness::Model::CreateRoomRequest::CreateRoomRequest
CreateRoomRequest()
AWSString.h
Aws::AlexaForBusiness::Model::CreateRoomRequest::ProviderCalendarIdHasBeenSet
bool ProviderCalendarIdHasBeenSet() const
Definition: CreateRoomRequest.h:171
Aws::AlexaForBusiness::Model::CreateRoomRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateRoomRequest.h:256
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateRoomRequest.h:99
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: CreateRoomRequest.h:220
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetProfileArn
void SetProfileArn(Aws::String &&value)
Definition: CreateRoomRequest.h:140
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::CreateRoomRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateRoomRequest.h:89
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: CreateRoomRequest.h:226
Aws::AlexaForBusiness::Model::CreateRoomRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateRoomRequest.h:33
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithProfileArn
CreateRoomRequest & WithProfileArn(const Aws::String &value)
Definition: CreateRoomRequest.h:150
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithClientRequestToken
CreateRoomRequest & WithClientRequestToken(Aws::String &&value)
Definition: CreateRoomRequest.h:244
Aws::AlexaForBusiness::Model::CreateRoomRequest::AddTags
CreateRoomRequest & AddTags(const Tag &value)
Definition: CreateRoomRequest.h:286
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithProfileArn
CreateRoomRequest & WithProfileArn(const char *value)
Definition: CreateRoomRequest.h:160
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithTags
CreateRoomRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateRoomRequest.h:281
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetProfileArn
void SetProfileArn(const Aws::String &value)
Definition: CreateRoomRequest.h:135
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateRoomRequest.h:104
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetProviderCalendarId
void SetProviderCalendarId(const char *value)
Definition: CreateRoomRequest.h:186
UUID.h
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithClientRequestToken
CreateRoomRequest & WithClientRequestToken(const char *value)
Definition: CreateRoomRequest.h:250
AlexaForBusinessRequest.h
Aws::AlexaForBusiness::Model::CreateRoomRequest::WithRoomName
CreateRoomRequest & WithRoomName(Aws::String &&value)
Definition: CreateRoomRequest.h:73
Aws::AlexaForBusiness::Model::CreateRoomRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: CreateRoomRequest.h:232