AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
UserDataValidationParameters.h
1
6#pragma once
7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/sms/model/Source.h>
9#include <aws/sms/model/ScriptType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SMS
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SMS_API UserDataValidationParameters() = default;
39
40
42
45 inline const Source& GetSource() const { return m_source; }
46 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
47 template<typename SourceT = Source>
48 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
49 template<typename SourceT = Source>
50 UserDataValidationParameters& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
52
54
57 inline ScriptType GetScriptType() const { return m_scriptType; }
58 inline bool ScriptTypeHasBeenSet() const { return m_scriptTypeHasBeenSet; }
59 inline void SetScriptType(ScriptType value) { m_scriptTypeHasBeenSet = true; m_scriptType = value; }
62 private:
63
64 Source m_source;
65 bool m_sourceHasBeenSet = false;
66
67 ScriptType m_scriptType{ScriptType::NOT_SET};
68 bool m_scriptTypeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace SMS
73} // namespace Aws
UserDataValidationParameters & WithSource(SourceT &&value)
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SMS_API UserDataValidationParameters()=default
UserDataValidationParameters & WithScriptType(ScriptType value)
AWS_SMS_API UserDataValidationParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SMS_API UserDataValidationParameters(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue