AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39
40
42
45 inline const Source& GetSource() const{ return m_source; }
46 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
47 inline void SetSource(const Source& value) { m_sourceHasBeenSet = true; m_source = value; }
48 inline void SetSource(Source&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
49 inline UserDataValidationParameters& WithSource(const Source& value) { SetSource(value); return *this;}
50 inline UserDataValidationParameters& WithSource(Source&& value) { SetSource(std::move(value)); return *this;}
52
54
57 inline const ScriptType& GetScriptType() const{ return m_scriptType; }
58 inline bool ScriptTypeHasBeenSet() const { return m_scriptTypeHasBeenSet; }
59 inline void SetScriptType(const ScriptType& value) { m_scriptTypeHasBeenSet = true; m_scriptType = value; }
60 inline void SetScriptType(ScriptType&& value) { m_scriptTypeHasBeenSet = true; m_scriptType = std::move(value); }
61 inline UserDataValidationParameters& WithScriptType(const ScriptType& value) { SetScriptType(value); return *this;}
62 inline UserDataValidationParameters& WithScriptType(ScriptType&& value) { SetScriptType(std::move(value)); return *this;}
64 private:
65
66 Source m_source;
67 bool m_sourceHasBeenSet = false;
68
69 ScriptType m_scriptType;
70 bool m_scriptTypeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SMS
75} // namespace Aws
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
UserDataValidationParameters & WithScriptType(const ScriptType &value)
UserDataValidationParameters & WithSource(const Source &value)
UserDataValidationParameters & WithSource(Source &&value)
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