AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBackendAuthVerificationMessageConfig.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/model/DeliveryMethod.h>
9#include <aws/amplifybackend/model/EmailSettings.h>
10#include <aws/amplifybackend/model/SmsSettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AmplifyBackend
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const DeliveryMethod& GetDeliveryMethod() const{ return m_deliveryMethod; }
48 inline bool DeliveryMethodHasBeenSet() const { return m_deliveryMethodHasBeenSet; }
49 inline void SetDeliveryMethod(const DeliveryMethod& value) { m_deliveryMethodHasBeenSet = true; m_deliveryMethod = value; }
50 inline void SetDeliveryMethod(DeliveryMethod&& value) { m_deliveryMethodHasBeenSet = true; m_deliveryMethod = std::move(value); }
54
56
59 inline const EmailSettings& GetEmailSettings() const{ return m_emailSettings; }
60 inline bool EmailSettingsHasBeenSet() const { return m_emailSettingsHasBeenSet; }
61 inline void SetEmailSettings(const EmailSettings& value) { m_emailSettingsHasBeenSet = true; m_emailSettings = value; }
62 inline void SetEmailSettings(EmailSettings&& value) { m_emailSettingsHasBeenSet = true; m_emailSettings = std::move(value); }
66
68
71 inline const SmsSettings& GetSmsSettings() const{ return m_smsSettings; }
72 inline bool SmsSettingsHasBeenSet() const { return m_smsSettingsHasBeenSet; }
73 inline void SetSmsSettings(const SmsSettings& value) { m_smsSettingsHasBeenSet = true; m_smsSettings = value; }
74 inline void SetSmsSettings(SmsSettings&& value) { m_smsSettingsHasBeenSet = true; m_smsSettings = std::move(value); }
76 inline UpdateBackendAuthVerificationMessageConfig& WithSmsSettings(SmsSettings&& value) { SetSmsSettings(std::move(value)); return *this;}
78 private:
79
80 DeliveryMethod m_deliveryMethod;
81 bool m_deliveryMethodHasBeenSet = false;
82
83 EmailSettings m_emailSettings;
84 bool m_emailSettingsHasBeenSet = false;
85
86 SmsSettings m_smsSettings;
87 bool m_smsSettingsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace AmplifyBackend
92} // namespace Aws
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateBackendAuthVerificationMessageConfig & WithEmailSettings(const EmailSettings &value)
UpdateBackendAuthVerificationMessageConfig & WithSmsSettings(const SmsSettings &value)
UpdateBackendAuthVerificationMessageConfig & WithDeliveryMethod(const DeliveryMethod &value)
UpdateBackendAuthVerificationMessageConfig & WithDeliveryMethod(DeliveryMethod &&value)
UpdateBackendAuthVerificationMessageConfig & WithEmailSettings(EmailSettings &&value)
AWS_AMPLIFYBACKEND_API UpdateBackendAuthVerificationMessageConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYBACKEND_API UpdateBackendAuthVerificationMessageConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateBackendAuthVerificationMessageConfig & WithSmsSettings(SmsSettings &&value)
Aws::Utils::Json::JsonValue JsonValue