AWS SDK for C++  1.8.71
AWS SDK for C++
UpdateProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace AlexaForBusiness
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "UpdateProfile"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
40 
44  inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
45 
49  inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
50 
54  inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
55 
59  inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
60 
64  inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
65 
69  inline UpdateProfileRequest& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
70 
74  inline UpdateProfileRequest& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
75 
79  inline UpdateProfileRequest& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetProfileName() const{ return m_profileName; }
86 
90  inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
91 
95  inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
96 
100  inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
101 
105  inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
106 
110  inline UpdateProfileRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
111 
115  inline UpdateProfileRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
116 
120  inline UpdateProfileRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;}
121 
122 
127  inline bool GetIsDefault() const{ return m_isDefault; }
128 
133  inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
134 
139  inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
140 
145  inline UpdateProfileRequest& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
146 
147 
151  inline const Aws::String& GetTimezone() const{ return m_timezone; }
152 
156  inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
157 
161  inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
162 
166  inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
167 
171  inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
172 
176  inline UpdateProfileRequest& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
177 
181  inline UpdateProfileRequest& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
182 
186  inline UpdateProfileRequest& WithTimezone(const char* value) { SetTimezone(value); return *this;}
187 
188 
192  inline const Aws::String& GetAddress() const{ return m_address; }
193 
197  inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
198 
202  inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
203 
207  inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
208 
212  inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
213 
217  inline UpdateProfileRequest& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
218 
222  inline UpdateProfileRequest& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
223 
227  inline UpdateProfileRequest& WithAddress(const char* value) { SetAddress(value); return *this;}
228 
229 
233  inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; }
234 
238  inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; }
239 
243  inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; }
244 
248  inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); }
249 
253  inline UpdateProfileRequest& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;}
254 
258  inline UpdateProfileRequest& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;}
259 
260 
264  inline const TemperatureUnit& GetTemperatureUnit() const{ return m_temperatureUnit; }
265 
269  inline bool TemperatureUnitHasBeenSet() const { return m_temperatureUnitHasBeenSet; }
270 
274  inline void SetTemperatureUnit(const TemperatureUnit& value) { m_temperatureUnitHasBeenSet = true; m_temperatureUnit = value; }
275 
279  inline void SetTemperatureUnit(TemperatureUnit&& value) { m_temperatureUnitHasBeenSet = true; m_temperatureUnit = std::move(value); }
280 
284  inline UpdateProfileRequest& WithTemperatureUnit(const TemperatureUnit& value) { SetTemperatureUnit(value); return *this;}
285 
289  inline UpdateProfileRequest& WithTemperatureUnit(TemperatureUnit&& value) { SetTemperatureUnit(std::move(value)); return *this;}
290 
291 
295  inline const WakeWord& GetWakeWord() const{ return m_wakeWord; }
296 
300  inline bool WakeWordHasBeenSet() const { return m_wakeWordHasBeenSet; }
301 
305  inline void SetWakeWord(const WakeWord& value) { m_wakeWordHasBeenSet = true; m_wakeWord = value; }
306 
310  inline void SetWakeWord(WakeWord&& value) { m_wakeWordHasBeenSet = true; m_wakeWord = std::move(value); }
311 
315  inline UpdateProfileRequest& WithWakeWord(const WakeWord& value) { SetWakeWord(value); return *this;}
316 
320  inline UpdateProfileRequest& WithWakeWord(WakeWord&& value) { SetWakeWord(std::move(value)); return *this;}
321 
322 
327  inline const Aws::String& GetLocale() const{ return m_locale; }
328 
333  inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
334 
339  inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
340 
345  inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
346 
351  inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
352 
357  inline UpdateProfileRequest& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
358 
363  inline UpdateProfileRequest& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
364 
369  inline UpdateProfileRequest& WithLocale(const char* value) { SetLocale(value); return *this;}
370 
371 
375  inline bool GetSetupModeDisabled() const{ return m_setupModeDisabled; }
376 
380  inline bool SetupModeDisabledHasBeenSet() const { return m_setupModeDisabledHasBeenSet; }
381 
385  inline void SetSetupModeDisabled(bool value) { m_setupModeDisabledHasBeenSet = true; m_setupModeDisabled = value; }
386 
390  inline UpdateProfileRequest& WithSetupModeDisabled(bool value) { SetSetupModeDisabled(value); return *this;}
391 
392 
396  inline int GetMaxVolumeLimit() const{ return m_maxVolumeLimit; }
397 
401  inline bool MaxVolumeLimitHasBeenSet() const { return m_maxVolumeLimitHasBeenSet; }
402 
406  inline void SetMaxVolumeLimit(int value) { m_maxVolumeLimitHasBeenSet = true; m_maxVolumeLimit = value; }
407 
411  inline UpdateProfileRequest& WithMaxVolumeLimit(int value) { SetMaxVolumeLimit(value); return *this;}
412 
413 
417  inline bool GetPSTNEnabled() const{ return m_pSTNEnabled; }
418 
422  inline bool PSTNEnabledHasBeenSet() const { return m_pSTNEnabledHasBeenSet; }
423 
427  inline void SetPSTNEnabled(bool value) { m_pSTNEnabledHasBeenSet = true; m_pSTNEnabled = value; }
428 
432  inline UpdateProfileRequest& WithPSTNEnabled(bool value) { SetPSTNEnabled(value); return *this;}
433 
434 
438  inline const UpdateMeetingRoomConfiguration& GetMeetingRoomConfiguration() const{ return m_meetingRoomConfiguration; }
439 
443  inline bool MeetingRoomConfigurationHasBeenSet() const { return m_meetingRoomConfigurationHasBeenSet; }
444 
448  inline void SetMeetingRoomConfiguration(const UpdateMeetingRoomConfiguration& value) { m_meetingRoomConfigurationHasBeenSet = true; m_meetingRoomConfiguration = value; }
449 
453  inline void SetMeetingRoomConfiguration(UpdateMeetingRoomConfiguration&& value) { m_meetingRoomConfigurationHasBeenSet = true; m_meetingRoomConfiguration = std::move(value); }
454 
458  inline UpdateProfileRequest& WithMeetingRoomConfiguration(const UpdateMeetingRoomConfiguration& value) { SetMeetingRoomConfiguration(value); return *this;}
459 
463  inline UpdateProfileRequest& WithMeetingRoomConfiguration(UpdateMeetingRoomConfiguration&& value) { SetMeetingRoomConfiguration(std::move(value)); return *this;}
464 
465  private:
466 
467  Aws::String m_profileArn;
468  bool m_profileArnHasBeenSet;
469 
470  Aws::String m_profileName;
471  bool m_profileNameHasBeenSet;
472 
473  bool m_isDefault;
474  bool m_isDefaultHasBeenSet;
475 
476  Aws::String m_timezone;
477  bool m_timezoneHasBeenSet;
478 
479  Aws::String m_address;
480  bool m_addressHasBeenSet;
481 
482  DistanceUnit m_distanceUnit;
483  bool m_distanceUnitHasBeenSet;
484 
485  TemperatureUnit m_temperatureUnit;
486  bool m_temperatureUnitHasBeenSet;
487 
488  WakeWord m_wakeWord;
489  bool m_wakeWordHasBeenSet;
490 
491  Aws::String m_locale;
492  bool m_localeHasBeenSet;
493 
494  bool m_setupModeDisabled;
495  bool m_setupModeDisabledHasBeenSet;
496 
497  int m_maxVolumeLimit;
498  bool m_maxVolumeLimitHasBeenSet;
499 
500  bool m_pSTNEnabled;
501  bool m_pSTNEnabledHasBeenSet;
502 
503  UpdateMeetingRoomConfiguration m_meetingRoomConfiguration;
504  bool m_meetingRoomConfigurationHasBeenSet;
505  };
506 
507 } // namespace Model
508 } // namespace AlexaForBusiness
509 } // namespace Aws
UpdateProfileRequest & WithTemperatureUnit(TemperatureUnit &&value)
UpdateProfileRequest & WithMeetingRoomConfiguration(const UpdateMeetingRoomConfiguration &value)
UpdateProfileRequest & WithDistanceUnit(const DistanceUnit &value)
UpdateProfileRequest & WithTimezone(const Aws::String &value)
UpdateProfileRequest & WithTimezone(Aws::String &&value)
UpdateProfileRequest & WithAddress(const char *value)
const UpdateMeetingRoomConfiguration & GetMeetingRoomConfiguration() const
UpdateProfileRequest & WithProfileName(const Aws::String &value)
UpdateProfileRequest & WithWakeWord(WakeWord &&value)
UpdateProfileRequest & WithProfileArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
UpdateProfileRequest & WithTemperatureUnit(const TemperatureUnit &value)
void SetTemperatureUnit(const TemperatureUnit &value)
UpdateProfileRequest & WithProfileName(Aws::String &&value)
UpdateProfileRequest & WithProfileName(const char *value)
UpdateProfileRequest & WithLocale(const Aws::String &value)
UpdateProfileRequest & WithPSTNEnabled(bool value)
UpdateProfileRequest & WithProfileArn(const char *value)
UpdateProfileRequest & WithSetupModeDisabled(bool value)
void SetMeetingRoomConfiguration(UpdateMeetingRoomConfiguration &&value)
UpdateProfileRequest & WithLocale(Aws::String &&value)
UpdateProfileRequest & WithLocale(const char *value)
UpdateProfileRequest & WithAddress(const Aws::String &value)
UpdateProfileRequest & WithAddress(Aws::String &&value)
#define AWS_ALEXAFORBUSINESS_API
void SetMeetingRoomConfiguration(const UpdateMeetingRoomConfiguration &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateProfileRequest & WithMeetingRoomConfiguration(UpdateMeetingRoomConfiguration &&value)
UpdateProfileRequest & WithProfileArn(const Aws::String &value)
UpdateProfileRequest & WithDistanceUnit(DistanceUnit &&value)
UpdateProfileRequest & WithMaxVolumeLimit(int value)
UpdateProfileRequest & WithTimezone(const char *value)
UpdateProfileRequest & WithWakeWord(const WakeWord &value)