AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateBackendAuthVerificationMessageConfig.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:
37 AWS_AMPLIFYBACKEND_API CreateBackendAuthVerificationMessageConfig() = default;
40 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline DeliveryMethod GetDeliveryMethod() const { return m_deliveryMethod; }
48 inline bool DeliveryMethodHasBeenSet() const { return m_deliveryMethodHasBeenSet; }
49 inline void SetDeliveryMethod(DeliveryMethod value) { m_deliveryMethodHasBeenSet = true; m_deliveryMethod = value; }
52
54
57 inline const EmailSettings& GetEmailSettings() const { return m_emailSettings; }
58 inline bool EmailSettingsHasBeenSet() const { return m_emailSettingsHasBeenSet; }
59 template<typename EmailSettingsT = EmailSettings>
60 void SetEmailSettings(EmailSettingsT&& value) { m_emailSettingsHasBeenSet = true; m_emailSettings = std::forward<EmailSettingsT>(value); }
61 template<typename EmailSettingsT = EmailSettings>
62 CreateBackendAuthVerificationMessageConfig& WithEmailSettings(EmailSettingsT&& value) { SetEmailSettings(std::forward<EmailSettingsT>(value)); return *this;}
64
66
69 inline const SmsSettings& GetSmsSettings() const { return m_smsSettings; }
70 inline bool SmsSettingsHasBeenSet() const { return m_smsSettingsHasBeenSet; }
71 template<typename SmsSettingsT = SmsSettings>
72 void SetSmsSettings(SmsSettingsT&& value) { m_smsSettingsHasBeenSet = true; m_smsSettings = std::forward<SmsSettingsT>(value); }
73 template<typename SmsSettingsT = SmsSettings>
74 CreateBackendAuthVerificationMessageConfig& WithSmsSettings(SmsSettingsT&& value) { SetSmsSettings(std::forward<SmsSettingsT>(value)); return *this;}
76 private:
77
79 bool m_deliveryMethodHasBeenSet = false;
80
81 EmailSettings m_emailSettings;
82 bool m_emailSettingsHasBeenSet = false;
83
84 SmsSettings m_smsSettings;
85 bool m_smsSettingsHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace AmplifyBackend
90} // namespace Aws
CreateBackendAuthVerificationMessageConfig & WithEmailSettings(EmailSettingsT &&value)
CreateBackendAuthVerificationMessageConfig & WithSmsSettings(SmsSettingsT &&value)
CreateBackendAuthVerificationMessageConfig & WithDeliveryMethod(DeliveryMethod value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYBACKEND_API CreateBackendAuthVerificationMessageConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYBACKEND_API CreateBackendAuthVerificationMessageConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue