AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServerValidationConfiguration.h
1
6#pragma once
7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/sms/model/Server.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sms/model/ServerValidationStrategy.h>
11#include <aws/sms/model/UserDataValidationParameters.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SMS
25{
26namespace Model
27{
28
35 {
36 public:
41
42
44
45 inline const Server& GetServer() const{ return m_server; }
46 inline bool ServerHasBeenSet() const { return m_serverHasBeenSet; }
47 inline void SetServer(const Server& value) { m_serverHasBeenSet = true; m_server = value; }
48 inline void SetServer(Server&& value) { m_serverHasBeenSet = true; m_server = std::move(value); }
49 inline ServerValidationConfiguration& WithServer(const Server& value) { SetServer(value); return *this;}
50 inline ServerValidationConfiguration& WithServer(Server&& value) { SetServer(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetValidationId() const{ return m_validationId; }
58 inline bool ValidationIdHasBeenSet() const { return m_validationIdHasBeenSet; }
59 inline void SetValidationId(const Aws::String& value) { m_validationIdHasBeenSet = true; m_validationId = value; }
60 inline void SetValidationId(Aws::String&& value) { m_validationIdHasBeenSet = true; m_validationId = std::move(value); }
61 inline void SetValidationId(const char* value) { m_validationIdHasBeenSet = true; m_validationId.assign(value); }
62 inline ServerValidationConfiguration& WithValidationId(const Aws::String& value) { SetValidationId(value); return *this;}
63 inline ServerValidationConfiguration& WithValidationId(Aws::String&& value) { SetValidationId(std::move(value)); return *this;}
64 inline ServerValidationConfiguration& WithValidationId(const char* value) { SetValidationId(value); return *this;}
66
68
71 inline const Aws::String& GetName() const{ return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
74 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
75 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
76 inline ServerValidationConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
77 inline ServerValidationConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 inline ServerValidationConfiguration& WithName(const char* value) { SetName(value); return *this;}
80
82
85 inline const ServerValidationStrategy& GetServerValidationStrategy() const{ return m_serverValidationStrategy; }
86 inline bool ServerValidationStrategyHasBeenSet() const { return m_serverValidationStrategyHasBeenSet; }
87 inline void SetServerValidationStrategy(const ServerValidationStrategy& value) { m_serverValidationStrategyHasBeenSet = true; m_serverValidationStrategy = value; }
88 inline void SetServerValidationStrategy(ServerValidationStrategy&& value) { m_serverValidationStrategyHasBeenSet = true; m_serverValidationStrategy = std::move(value); }
92
94
97 inline const UserDataValidationParameters& GetUserDataValidationParameters() const{ return m_userDataValidationParameters; }
98 inline bool UserDataValidationParametersHasBeenSet() const { return m_userDataValidationParametersHasBeenSet; }
99 inline void SetUserDataValidationParameters(const UserDataValidationParameters& value) { m_userDataValidationParametersHasBeenSet = true; m_userDataValidationParameters = value; }
100 inline void SetUserDataValidationParameters(UserDataValidationParameters&& value) { m_userDataValidationParametersHasBeenSet = true; m_userDataValidationParameters = std::move(value); }
104 private:
105
106 Server m_server;
107 bool m_serverHasBeenSet = false;
108
109 Aws::String m_validationId;
110 bool m_validationIdHasBeenSet = false;
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 ServerValidationStrategy m_serverValidationStrategy;
116 bool m_serverValidationStrategyHasBeenSet = false;
117
118 UserDataValidationParameters m_userDataValidationParameters;
119 bool m_userDataValidationParametersHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace SMS
124} // namespace Aws
ServerValidationConfiguration & WithServerValidationStrategy(ServerValidationStrategy &&value)
ServerValidationConfiguration & WithValidationId(Aws::String &&value)
ServerValidationConfiguration & WithServer(Server &&value)
ServerValidationConfiguration & WithUserDataValidationParameters(const UserDataValidationParameters &value)
const UserDataValidationParameters & GetUserDataValidationParameters() const
ServerValidationConfiguration & WithServer(const Server &value)
ServerValidationConfiguration & WithName(const char *value)
AWS_SMS_API ServerValidationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUserDataValidationParameters(const UserDataValidationParameters &value)
void SetUserDataValidationParameters(UserDataValidationParameters &&value)
const ServerValidationStrategy & GetServerValidationStrategy() const
void SetServerValidationStrategy(ServerValidationStrategy &&value)
ServerValidationConfiguration & WithName(const Aws::String &value)
ServerValidationConfiguration & WithServerValidationStrategy(const ServerValidationStrategy &value)
void SetServerValidationStrategy(const ServerValidationStrategy &value)
ServerValidationConfiguration & WithName(Aws::String &&value)
ServerValidationConfiguration & WithUserDataValidationParameters(UserDataValidationParameters &&value)
ServerValidationConfiguration & WithValidationId(const char *value)
AWS_SMS_API ServerValidationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
ServerValidationConfiguration & WithValidationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue