AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Settings.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/amplifybackend/model/MfaTypesElement.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 Settings();
38 AWS_AMPLIFYBACKEND_API Settings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AMPLIFYBACKEND_API Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<MfaTypesElement>& GetMfaTypes() const{ return m_mfaTypes; }
48 inline bool MfaTypesHasBeenSet() const { return m_mfaTypesHasBeenSet; }
49 inline void SetMfaTypes(const Aws::Vector<MfaTypesElement>& value) { m_mfaTypesHasBeenSet = true; m_mfaTypes = value; }
50 inline void SetMfaTypes(Aws::Vector<MfaTypesElement>&& value) { m_mfaTypesHasBeenSet = true; m_mfaTypes = std::move(value); }
51 inline Settings& WithMfaTypes(const Aws::Vector<MfaTypesElement>& value) { SetMfaTypes(value); return *this;}
52 inline Settings& WithMfaTypes(Aws::Vector<MfaTypesElement>&& value) { SetMfaTypes(std::move(value)); return *this;}
53 inline Settings& AddMfaTypes(const MfaTypesElement& value) { m_mfaTypesHasBeenSet = true; m_mfaTypes.push_back(value); return *this; }
54 inline Settings& AddMfaTypes(MfaTypesElement&& value) { m_mfaTypesHasBeenSet = true; m_mfaTypes.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::String& GetSmsMessage() const{ return m_smsMessage; }
62 inline bool SmsMessageHasBeenSet() const { return m_smsMessageHasBeenSet; }
63 inline void SetSmsMessage(const Aws::String& value) { m_smsMessageHasBeenSet = true; m_smsMessage = value; }
64 inline void SetSmsMessage(Aws::String&& value) { m_smsMessageHasBeenSet = true; m_smsMessage = std::move(value); }
65 inline void SetSmsMessage(const char* value) { m_smsMessageHasBeenSet = true; m_smsMessage.assign(value); }
66 inline Settings& WithSmsMessage(const Aws::String& value) { SetSmsMessage(value); return *this;}
67 inline Settings& WithSmsMessage(Aws::String&& value) { SetSmsMessage(std::move(value)); return *this;}
68 inline Settings& WithSmsMessage(const char* value) { SetSmsMessage(value); return *this;}
70 private:
71
73 bool m_mfaTypesHasBeenSet = false;
74
75 Aws::String m_smsMessage;
76 bool m_smsMessageHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace AmplifyBackend
81} // namespace Aws
Settings & WithSmsMessage(Aws::String &&value)
Definition Settings.h:67
void SetSmsMessage(const Aws::String &value)
Definition Settings.h:63
AWS_AMPLIFYBACKEND_API Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Settings & WithMfaTypes(const Aws::Vector< MfaTypesElement > &value)
Definition Settings.h:51
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
Settings & AddMfaTypes(const MfaTypesElement &value)
Definition Settings.h:53
const Aws::String & GetSmsMessage() const
Definition Settings.h:61
void SetSmsMessage(Aws::String &&value)
Definition Settings.h:64
AWS_AMPLIFYBACKEND_API Settings(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MfaTypesElement > & GetMfaTypes() const
Definition Settings.h:47
AWS_AMPLIFYBACKEND_API Settings()
void SetMfaTypes(const Aws::Vector< MfaTypesElement > &value)
Definition Settings.h:49
Settings & AddMfaTypes(MfaTypesElement &&value)
Definition Settings.h:54
void SetMfaTypes(Aws::Vector< MfaTypesElement > &&value)
Definition Settings.h:50
Settings & WithMfaTypes(Aws::Vector< MfaTypesElement > &&value)
Definition Settings.h:52
Settings & WithSmsMessage(const char *value)
Definition Settings.h:68
Settings & WithSmsMessage(const Aws::String &value)
Definition Settings.h:66
void SetSmsMessage(const char *value)
Definition Settings.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue