AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServerReplicationConfiguration.h
1
6#pragma once
7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/sms/model/Server.h>
9#include <aws/sms/model/ServerReplicationParameters.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
46 inline const Server& GetServer() const{ return m_server; }
47 inline bool ServerHasBeenSet() const { return m_serverHasBeenSet; }
48 inline void SetServer(const Server& value) { m_serverHasBeenSet = true; m_server = value; }
49 inline void SetServer(Server&& value) { m_serverHasBeenSet = true; m_server = std::move(value); }
50 inline ServerReplicationConfiguration& WithServer(const Server& value) { SetServer(value); return *this;}
51 inline ServerReplicationConfiguration& WithServer(Server&& value) { SetServer(std::move(value)); return *this;}
53
55
58 inline const ServerReplicationParameters& GetServerReplicationParameters() const{ return m_serverReplicationParameters; }
59 inline bool ServerReplicationParametersHasBeenSet() const { return m_serverReplicationParametersHasBeenSet; }
60 inline void SetServerReplicationParameters(const ServerReplicationParameters& value) { m_serverReplicationParametersHasBeenSet = true; m_serverReplicationParameters = value; }
61 inline void SetServerReplicationParameters(ServerReplicationParameters&& value) { m_serverReplicationParametersHasBeenSet = true; m_serverReplicationParameters = std::move(value); }
65 private:
66
67 Server m_server;
68 bool m_serverHasBeenSet = false;
69
70 ServerReplicationParameters m_serverReplicationParameters;
71 bool m_serverReplicationParametersHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SMS
76} // namespace Aws
ServerReplicationConfiguration & WithServerReplicationParameters(const ServerReplicationParameters &value)
ServerReplicationConfiguration & WithServer(const Server &value)
void SetServerReplicationParameters(const ServerReplicationParameters &value)
const ServerReplicationParameters & GetServerReplicationParameters() const
ServerReplicationConfiguration & WithServerReplicationParameters(ServerReplicationParameters &&value)
AWS_SMS_API ServerReplicationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SMS_API ServerReplicationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ServerReplicationConfiguration & WithServer(Server &&value)
void SetServerReplicationParameters(ServerReplicationParameters &&value)
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue