AWS SDK for C++  1.9.102
AWS SDK for C++
ProfileData.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace AlexaForBusiness
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
47 
51  inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
52 
56  inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
57 
61  inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
62 
66  inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
67 
71  inline ProfileData& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
72 
76  inline ProfileData& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
77 
81  inline ProfileData& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
82 
83 
87  inline const Aws::String& GetProfileName() const{ return m_profileName; }
88 
92  inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
93 
97  inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
98 
102  inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
103 
107  inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
108 
112  inline ProfileData& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
113 
117  inline ProfileData& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
118 
122  inline ProfileData& WithProfileName(const char* value) { SetProfileName(value); return *this;}
123 
124 
128  inline bool GetIsDefault() const{ return m_isDefault; }
129 
133  inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
134 
138  inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
139 
143  inline ProfileData& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
144 
145 
149  inline const Aws::String& GetAddress() const{ return m_address; }
150 
154  inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
155 
159  inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
160 
164  inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
165 
169  inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
170 
174  inline ProfileData& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
175 
179  inline ProfileData& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
180 
184  inline ProfileData& WithAddress(const char* value) { SetAddress(value); return *this;}
185 
186 
190  inline const Aws::String& GetTimezone() const{ return m_timezone; }
191 
195  inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
196 
200  inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
201 
205  inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
206 
210  inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
211 
215  inline ProfileData& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
216 
220  inline ProfileData& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
221 
225  inline ProfileData& WithTimezone(const char* value) { SetTimezone(value); return *this;}
226 
227 
231  inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; }
232 
236  inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; }
237 
241  inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; }
242 
246  inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); }
247 
251  inline ProfileData& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;}
252 
256  inline ProfileData& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;}
257 
258 
262  inline const TemperatureUnit& GetTemperatureUnit() const{ return m_temperatureUnit; }
263 
267  inline bool TemperatureUnitHasBeenSet() const { return m_temperatureUnitHasBeenSet; }
268 
272  inline void SetTemperatureUnit(const TemperatureUnit& value) { m_temperatureUnitHasBeenSet = true; m_temperatureUnit = value; }
273 
277  inline void SetTemperatureUnit(TemperatureUnit&& value) { m_temperatureUnitHasBeenSet = true; m_temperatureUnit = std::move(value); }
278 
282  inline ProfileData& WithTemperatureUnit(const TemperatureUnit& value) { SetTemperatureUnit(value); return *this;}
283 
287  inline ProfileData& WithTemperatureUnit(TemperatureUnit&& value) { SetTemperatureUnit(std::move(value)); return *this;}
288 
289 
293  inline const WakeWord& GetWakeWord() const{ return m_wakeWord; }
294 
298  inline bool WakeWordHasBeenSet() const { return m_wakeWordHasBeenSet; }
299 
303  inline void SetWakeWord(const WakeWord& value) { m_wakeWordHasBeenSet = true; m_wakeWord = value; }
304 
308  inline void SetWakeWord(WakeWord&& value) { m_wakeWordHasBeenSet = true; m_wakeWord = std::move(value); }
309 
313  inline ProfileData& WithWakeWord(const WakeWord& value) { SetWakeWord(value); return *this;}
314 
318  inline ProfileData& WithWakeWord(WakeWord&& value) { SetWakeWord(std::move(value)); return *this;}
319 
320 
325  inline const Aws::String& GetLocale() const{ return m_locale; }
326 
331  inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
332 
337  inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
338 
343  inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
344 
349  inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
350 
355  inline ProfileData& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
356 
361  inline ProfileData& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
362 
367  inline ProfileData& WithLocale(const char* value) { SetLocale(value); return *this;}
368 
369  private:
370 
371  Aws::String m_profileArn;
372  bool m_profileArnHasBeenSet;
373 
374  Aws::String m_profileName;
375  bool m_profileNameHasBeenSet;
376 
377  bool m_isDefault;
378  bool m_isDefaultHasBeenSet;
379 
380  Aws::String m_address;
381  bool m_addressHasBeenSet;
382 
383  Aws::String m_timezone;
384  bool m_timezoneHasBeenSet;
385 
386  DistanceUnit m_distanceUnit;
387  bool m_distanceUnitHasBeenSet;
388 
389  TemperatureUnit m_temperatureUnit;
390  bool m_temperatureUnitHasBeenSet;
391 
392  WakeWord m_wakeWord;
393  bool m_wakeWordHasBeenSet;
394 
395  Aws::String m_locale;
396  bool m_localeHasBeenSet;
397  };
398 
399 } // namespace Model
400 } // namespace AlexaForBusiness
401 } // namespace Aws
Aws::AlexaForBusiness::Model::ProfileData::SetDistanceUnit
void SetDistanceUnit(DistanceUnit &&value)
Definition: ProfileData.h:246
Aws::AlexaForBusiness::Model::ProfileData::WithTemperatureUnit
ProfileData & WithTemperatureUnit(TemperatureUnit &&value)
Definition: ProfileData.h:287
Aws::AlexaForBusiness::Model::TemperatureUnit
TemperatureUnit
Definition: TemperatureUnit.h:17
Aws::AlexaForBusiness::Model::ProfileData::GetDistanceUnit
const DistanceUnit & GetDistanceUnit() const
Definition: ProfileData.h:231
Aws::AlexaForBusiness::Model::ProfileData::WithLocale
ProfileData & WithLocale(const char *value)
Definition: ProfileData.h:367
Aws::AlexaForBusiness::Model::ProfileData::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AlexaForBusiness::Model::ProfileData::WithLocale
ProfileData & WithLocale(Aws::String &&value)
Definition: ProfileData.h:361
Aws::AlexaForBusiness::Model::ProfileData::TimezoneHasBeenSet
bool TimezoneHasBeenSet() const
Definition: ProfileData.h:195
Aws::AlexaForBusiness::Model::WakeWord
WakeWord
Definition: WakeWord.h:17
Aws::AlexaForBusiness::Model::ProfileData::SetTimezone
void SetTimezone(Aws::String &&value)
Definition: ProfileData.h:205
Aws::AlexaForBusiness::Model::ProfileData::SetWakeWord
void SetWakeWord(WakeWord &&value)
Definition: ProfileData.h:308
Aws::AlexaForBusiness::Model::ProfileData::GetTemperatureUnit
const TemperatureUnit & GetTemperatureUnit() const
Definition: ProfileData.h:262
TemperatureUnit.h
Aws::AlexaForBusiness::Model::ProfileData::SetProfileName
void SetProfileName(Aws::String &&value)
Definition: ProfileData.h:102
Aws::AlexaForBusiness::Model::ProfileData::SetAddress
void SetAddress(const char *value)
Definition: ProfileData.h:169
Aws::AlexaForBusiness::Model::ProfileData::WithProfileArn
ProfileData & WithProfileArn(const char *value)
Definition: ProfileData.h:81
Aws::AlexaForBusiness::Model::ProfileData::SetAddress
void SetAddress(const Aws::String &value)
Definition: ProfileData.h:159
Aws::AlexaForBusiness::Model::ProfileData::SetTemperatureUnit
void SetTemperatureUnit(const TemperatureUnit &value)
Definition: ProfileData.h:272
Aws::AlexaForBusiness::Model::ProfileData::SetLocale
void SetLocale(Aws::String &&value)
Definition: ProfileData.h:343
Aws::AlexaForBusiness::Model::ProfileData::DistanceUnitHasBeenSet
bool DistanceUnitHasBeenSet() const
Definition: ProfileData.h:236
Aws::AlexaForBusiness::Model::ProfileData::WithProfileArn
ProfileData & WithProfileArn(Aws::String &&value)
Definition: ProfileData.h:76
Aws::AlexaForBusiness::Model::ProfileData::ProfileArnHasBeenSet
bool ProfileArnHasBeenSet() const
Definition: ProfileData.h:51
Aws::AlexaForBusiness::Model::ProfileData::SetLocale
void SetLocale(const Aws::String &value)
Definition: ProfileData.h:337
Aws::AlexaForBusiness::Model::DistanceUnit
DistanceUnit
Definition: DistanceUnit.h:17
Aws::AlexaForBusiness::Model::ProfileData::TemperatureUnitHasBeenSet
bool TemperatureUnitHasBeenSet() const
Definition: ProfileData.h:267
Aws::AlexaForBusiness::Model::ProfileData::LocaleHasBeenSet
bool LocaleHasBeenSet() const
Definition: ProfileData.h:331
Aws::AlexaForBusiness::Model::ProfileData::WithProfileName
ProfileData & WithProfileName(const char *value)
Definition: ProfileData.h:122
Aws::AlexaForBusiness::Model::ProfileData::ProfileData
ProfileData(Aws::Utils::Json::JsonView jsonValue)
Aws::AlexaForBusiness::Model::ProfileData::SetWakeWord
void SetWakeWord(const WakeWord &value)
Definition: ProfileData.h:303
Aws::AlexaForBusiness::Model::ProfileData::SetIsDefault
void SetIsDefault(bool value)
Definition: ProfileData.h:138
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::ProfileData::WithLocale
ProfileData & WithLocale(const Aws::String &value)
Definition: ProfileData.h:355
Aws::AlexaForBusiness::Model::ProfileData::WithTimezone
ProfileData & WithTimezone(const Aws::String &value)
Definition: ProfileData.h:215
Aws::AlexaForBusiness::Model::ProfileData::GetProfileArn
const Aws::String & GetProfileArn() const
Definition: ProfileData.h:46
Aws::AlexaForBusiness::Model::ProfileData::WithTimezone
ProfileData & WithTimezone(Aws::String &&value)
Definition: ProfileData.h:220
Aws::AlexaForBusiness::Model::ProfileData::SetAddress
void SetAddress(Aws::String &&value)
Definition: ProfileData.h:164
Aws::AlexaForBusiness::Model::ProfileData::WithTemperatureUnit
ProfileData & WithTemperatureUnit(const TemperatureUnit &value)
Definition: ProfileData.h:282
Aws::AlexaForBusiness::Model::ProfileData::SetProfileArn
void SetProfileArn(const char *value)
Definition: ProfileData.h:66
Aws::AlexaForBusiness::Model::ProfileData::GetProfileName
const Aws::String & GetProfileName() const
Definition: ProfileData.h:87
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AlexaForBusiness::Model::ProfileData::GetAddress
const Aws::String & GetAddress() const
Definition: ProfileData.h:149
Aws::AlexaForBusiness::Model::ProfileData::WithProfileName
ProfileData & WithProfileName(const Aws::String &value)
Definition: ProfileData.h:112
Aws::AlexaForBusiness::Model::ProfileData::AddressHasBeenSet
bool AddressHasBeenSet() const
Definition: ProfileData.h:154
AWSString.h
Aws::AlexaForBusiness::Model::ProfileData::WithWakeWord
ProfileData & WithWakeWord(const WakeWord &value)
Definition: ProfileData.h:313
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AlexaForBusiness::Model::ProfileData::SetTimezone
void SetTimezone(const char *value)
Definition: ProfileData.h:210
Aws::AlexaForBusiness::Model::ProfileData::SetProfileArn
void SetProfileArn(Aws::String &&value)
Definition: ProfileData.h:61
Aws::AlexaForBusiness::Model::ProfileData::WithDistanceUnit
ProfileData & WithDistanceUnit(DistanceUnit &&value)
Definition: ProfileData.h:256
Aws::AlexaForBusiness::Model::ProfileData::WithAddress
ProfileData & WithAddress(const Aws::String &value)
Definition: ProfileData.h:174
Aws::AlexaForBusiness::Model::ProfileData::WithProfileArn
ProfileData & WithProfileArn(const Aws::String &value)
Definition: ProfileData.h:71
Aws::AlexaForBusiness::Model::ProfileData::GetLocale
const Aws::String & GetLocale() const
Definition: ProfileData.h:325
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::ProfileData::SetProfileName
void SetProfileName(const Aws::String &value)
Definition: ProfileData.h:97
Aws::AlexaForBusiness::Model::ProfileData::WithTimezone
ProfileData & WithTimezone(const char *value)
Definition: ProfileData.h:225
Aws::AlexaForBusiness::Model::ProfileData::operator=
ProfileData & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AlexaForBusiness::Model::ProfileData::IsDefaultHasBeenSet
bool IsDefaultHasBeenSet() const
Definition: ProfileData.h:133
WakeWord.h
Aws::AlexaForBusiness::Model::ProfileData::ProfileData
ProfileData()
Aws::AlexaForBusiness::Model::ProfileData::SetDistanceUnit
void SetDistanceUnit(const DistanceUnit &value)
Definition: ProfileData.h:241
Aws::AlexaForBusiness::Model::ProfileData::SetTemperatureUnit
void SetTemperatureUnit(TemperatureUnit &&value)
Definition: ProfileData.h:277
Aws::AlexaForBusiness::Model::ProfileData::GetWakeWord
const WakeWord & GetWakeWord() const
Definition: ProfileData.h:293
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::ProfileData::SetLocale
void SetLocale(const char *value)
Definition: ProfileData.h:349
Aws::AlexaForBusiness::Model::ProfileData::SetProfileName
void SetProfileName(const char *value)
Definition: ProfileData.h:107
Aws::AlexaForBusiness::Model::ProfileData::ProfileNameHasBeenSet
bool ProfileNameHasBeenSet() const
Definition: ProfileData.h:92
Aws::AlexaForBusiness::Model::ProfileData::GetIsDefault
bool GetIsDefault() const
Definition: ProfileData.h:128
Aws::AlexaForBusiness::Model::ProfileData::WakeWordHasBeenSet
bool WakeWordHasBeenSet() const
Definition: ProfileData.h:298
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::ProfileData
Definition: ProfileData.h:35
DistanceUnit.h
Aws::AlexaForBusiness::Model::ProfileData::WithIsDefault
ProfileData & WithIsDefault(bool value)
Definition: ProfileData.h:143
Aws::AlexaForBusiness::Model::ProfileData::WithAddress
ProfileData & WithAddress(Aws::String &&value)
Definition: ProfileData.h:179
Aws::AlexaForBusiness::Model::ProfileData::WithAddress
ProfileData & WithAddress(const char *value)
Definition: ProfileData.h:184
Aws::AlexaForBusiness::Model::ProfileData::WithProfileName
ProfileData & WithProfileName(Aws::String &&value)
Definition: ProfileData.h:117
Aws::AlexaForBusiness::Model::ProfileData::SetTimezone
void SetTimezone(const Aws::String &value)
Definition: ProfileData.h:200
Aws::AlexaForBusiness::Model::ProfileData::WithDistanceUnit
ProfileData & WithDistanceUnit(const DistanceUnit &value)
Definition: ProfileData.h:251
Aws::AlexaForBusiness::Model::ProfileData::GetTimezone
const Aws::String & GetTimezone() const
Definition: ProfileData.h:190
Aws::AlexaForBusiness::Model::ProfileData::SetProfileArn
void SetProfileArn(const Aws::String &value)
Definition: ProfileData.h:56
Aws::AlexaForBusiness::Model::ProfileData::WithWakeWord
ProfileData & WithWakeWord(WakeWord &&value)
Definition: ProfileData.h:318