AWS SDK for C++  1.9.123
AWS SDK for C++
UpdateRoomRequest.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 "UpdateRoom"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetRoomArn() const{ return m_roomArn; }
41 
45  inline bool RoomArnHasBeenSet() const { return m_roomArnHasBeenSet; }
46 
50  inline void SetRoomArn(const Aws::String& value) { m_roomArnHasBeenSet = true; m_roomArn = value; }
51 
55  inline void SetRoomArn(Aws::String&& value) { m_roomArnHasBeenSet = true; m_roomArn = std::move(value); }
56 
60  inline void SetRoomArn(const char* value) { m_roomArnHasBeenSet = true; m_roomArn.assign(value); }
61 
65  inline UpdateRoomRequest& WithRoomArn(const Aws::String& value) { SetRoomArn(value); return *this;}
66 
70  inline UpdateRoomRequest& WithRoomArn(Aws::String&& value) { SetRoomArn(std::move(value)); return *this;}
71 
75  inline UpdateRoomRequest& WithRoomArn(const char* value) { SetRoomArn(value); return *this;}
76 
77 
81  inline const Aws::String& GetRoomName() const{ return m_roomName; }
82 
86  inline bool RoomNameHasBeenSet() const { return m_roomNameHasBeenSet; }
87 
91  inline void SetRoomName(const Aws::String& value) { m_roomNameHasBeenSet = true; m_roomName = value; }
92 
96  inline void SetRoomName(Aws::String&& value) { m_roomNameHasBeenSet = true; m_roomName = std::move(value); }
97 
101  inline void SetRoomName(const char* value) { m_roomNameHasBeenSet = true; m_roomName.assign(value); }
102 
106  inline UpdateRoomRequest& WithRoomName(const Aws::String& value) { SetRoomName(value); return *this;}
107 
111  inline UpdateRoomRequest& WithRoomName(Aws::String&& value) { SetRoomName(std::move(value)); return *this;}
112 
116  inline UpdateRoomRequest& WithRoomName(const char* value) { SetRoomName(value); return *this;}
117 
118 
122  inline const Aws::String& GetDescription() const{ return m_description; }
123 
127  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
128 
132  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
133 
137  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
138 
142  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
143 
147  inline UpdateRoomRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
148 
152  inline UpdateRoomRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
153 
157  inline UpdateRoomRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
158 
159 
163  inline const Aws::String& GetProviderCalendarId() const{ return m_providerCalendarId; }
164 
168  inline bool ProviderCalendarIdHasBeenSet() const { return m_providerCalendarIdHasBeenSet; }
169 
173  inline void SetProviderCalendarId(const Aws::String& value) { m_providerCalendarIdHasBeenSet = true; m_providerCalendarId = value; }
174 
178  inline void SetProviderCalendarId(Aws::String&& value) { m_providerCalendarIdHasBeenSet = true; m_providerCalendarId = std::move(value); }
179 
183  inline void SetProviderCalendarId(const char* value) { m_providerCalendarIdHasBeenSet = true; m_providerCalendarId.assign(value); }
184 
188  inline UpdateRoomRequest& WithProviderCalendarId(const Aws::String& value) { SetProviderCalendarId(value); return *this;}
189 
193  inline UpdateRoomRequest& WithProviderCalendarId(Aws::String&& value) { SetProviderCalendarId(std::move(value)); return *this;}
194 
198  inline UpdateRoomRequest& WithProviderCalendarId(const char* value) { SetProviderCalendarId(value); return *this;}
199 
200 
204  inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
205 
209  inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
210 
214  inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
215 
219  inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
220 
224  inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
225 
229  inline UpdateRoomRequest& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
230 
234  inline UpdateRoomRequest& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
235 
239  inline UpdateRoomRequest& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
240 
241  private:
242 
243  Aws::String m_roomArn;
244  bool m_roomArnHasBeenSet;
245 
246  Aws::String m_roomName;
247  bool m_roomNameHasBeenSet;
248 
249  Aws::String m_description;
250  bool m_descriptionHasBeenSet;
251 
252  Aws::String m_providerCalendarId;
253  bool m_providerCalendarIdHasBeenSet;
254 
255  Aws::String m_profileArn;
256  bool m_profileArnHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace AlexaForBusiness
261 } // namespace Aws
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetProfileArn
void SetProfileArn(Aws::String &&value)
Definition: UpdateRoomRequest.h:219
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithProviderCalendarId
UpdateRoomRequest & WithProviderCalendarId(const Aws::String &value)
Definition: UpdateRoomRequest.h:188
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithProviderCalendarId
UpdateRoomRequest & WithProviderCalendarId(Aws::String &&value)
Definition: UpdateRoomRequest.h:193
Aws::AlexaForBusiness::Model::UpdateRoomRequest::RoomNameHasBeenSet
bool RoomNameHasBeenSet() const
Definition: UpdateRoomRequest.h:86
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetProfileArn
void SetProfileArn(const char *value)
Definition: UpdateRoomRequest.h:224
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithDescription
UpdateRoomRequest & WithDescription(const Aws::String &value)
Definition: UpdateRoomRequest.h:147
Aws::AlexaForBusiness::Model::UpdateRoomRequest::GetRoomArn
const Aws::String & GetRoomArn() const
Definition: UpdateRoomRequest.h:40
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithRoomName
UpdateRoomRequest & WithRoomName(const char *value)
Definition: UpdateRoomRequest.h:116
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithProfileArn
UpdateRoomRequest & WithProfileArn(const char *value)
Definition: UpdateRoomRequest.h:239
Aws::AlexaForBusiness::Model::UpdateRoomRequest::ProviderCalendarIdHasBeenSet
bool ProviderCalendarIdHasBeenSet() const
Definition: UpdateRoomRequest.h:168
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithProviderCalendarId
UpdateRoomRequest & WithProviderCalendarId(const char *value)
Definition: UpdateRoomRequest.h:198
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetRoomArn
void SetRoomArn(Aws::String &&value)
Definition: UpdateRoomRequest.h:55
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetRoomName
void SetRoomName(const Aws::String &value)
Definition: UpdateRoomRequest.h:91
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetProviderCalendarId
void SetProviderCalendarId(const char *value)
Definition: UpdateRoomRequest.h:183
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateRoomRequest.h:132
Aws::AlexaForBusiness::Model::UpdateRoomRequest::UpdateRoomRequest
UpdateRoomRequest()
Aws::AlexaForBusiness::Model::UpdateRoomRequest::GetProviderCalendarId
const Aws::String & GetProviderCalendarId() const
Definition: UpdateRoomRequest.h:163
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithDescription
UpdateRoomRequest & WithDescription(Aws::String &&value)
Definition: UpdateRoomRequest.h:152
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithRoomName
UpdateRoomRequest & WithRoomName(const Aws::String &value)
Definition: UpdateRoomRequest.h:106
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateRoomRequest.h:137
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithRoomArn
UpdateRoomRequest & WithRoomArn(const Aws::String &value)
Definition: UpdateRoomRequest.h:65
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetProviderCalendarId
void SetProviderCalendarId(Aws::String &&value)
Definition: UpdateRoomRequest.h:178
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithRoomName
UpdateRoomRequest & WithRoomName(Aws::String &&value)
Definition: UpdateRoomRequest.h:111
AWSString.h
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetRoomName
void SetRoomName(const char *value)
Definition: UpdateRoomRequest.h:101
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithRoomArn
UpdateRoomRequest & WithRoomArn(Aws::String &&value)
Definition: UpdateRoomRequest.h:70
Aws::AlexaForBusiness::Model::UpdateRoomRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateRoomRequest.h:122
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetProfileArn
void SetProfileArn(const Aws::String &value)
Definition: UpdateRoomRequest.h:214
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithProfileArn
UpdateRoomRequest & WithProfileArn(Aws::String &&value)
Definition: UpdateRoomRequest.h:234
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::UpdateRoomRequest::ProfileArnHasBeenSet
bool ProfileArnHasBeenSet() const
Definition: UpdateRoomRequest.h:209
Aws::AlexaForBusiness::Model::UpdateRoomRequest
Definition: UpdateRoomRequest.h:22
Aws::AlexaForBusiness::Model::UpdateRoomRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateRoomRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithDescription
UpdateRoomRequest & WithDescription(const char *value)
Definition: UpdateRoomRequest.h:157
Aws::AlexaForBusiness::Model::UpdateRoomRequest::GetRoomName
const Aws::String & GetRoomName() const
Definition: UpdateRoomRequest.h:81
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetRoomName
void SetRoomName(Aws::String &&value)
Definition: UpdateRoomRequest.h:96
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithProfileArn
UpdateRoomRequest & WithProfileArn(const Aws::String &value)
Definition: UpdateRoomRequest.h:229
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetProviderCalendarId
void SetProviderCalendarId(const Aws::String &value)
Definition: UpdateRoomRequest.h:173
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetRoomArn
void SetRoomArn(const Aws::String &value)
Definition: UpdateRoomRequest.h:50
Aws::AlexaForBusiness::Model::UpdateRoomRequest::RoomArnHasBeenSet
bool RoomArnHasBeenSet() const
Definition: UpdateRoomRequest.h:45
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetRoomArn
void SetRoomArn(const char *value)
Definition: UpdateRoomRequest.h:60
Aws::AlexaForBusiness::Model::UpdateRoomRequest::GetProfileArn
const Aws::String & GetProfileArn() const
Definition: UpdateRoomRequest.h:204
Aws::AlexaForBusiness::Model::UpdateRoomRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AlexaForBusinessRequest.h
Aws::AlexaForBusiness::Model::UpdateRoomRequest::WithRoomArn
UpdateRoomRequest & WithRoomArn(const char *value)
Definition: UpdateRoomRequest.h:75
Aws::AlexaForBusiness::Model::UpdateRoomRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateRoomRequest.h:142
Aws::AlexaForBusiness::Model::UpdateRoomRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateRoomRequest.h:127