AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
RecoveryPlanStepConfiguration.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/model/ServerStepConfiguration.h>
9#include <aws/drs/model/WaitStepConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace drs {
21namespace Model {
22
30 public:
31 AWS_DRS_API RecoveryPlanStepConfiguration() = default;
35
37
40 inline const ServerStepConfiguration& GetServerStepConfiguration() const { return m_serverStepConfiguration; }
41 inline bool ServerStepConfigurationHasBeenSet() const { return m_serverStepConfigurationHasBeenSet; }
42 template <typename ServerStepConfigurationT = ServerStepConfiguration>
43 void SetServerStepConfiguration(ServerStepConfigurationT&& value) {
44 m_serverStepConfigurationHasBeenSet = true;
45 m_serverStepConfiguration = std::forward<ServerStepConfigurationT>(value);
46 }
47 template <typename ServerStepConfigurationT = ServerStepConfiguration>
49 SetServerStepConfiguration(std::forward<ServerStepConfigurationT>(value));
50 return *this;
51 }
53
55
58 inline const WaitStepConfiguration& GetWaitStepConfiguration() const { return m_waitStepConfiguration; }
59 inline bool WaitStepConfigurationHasBeenSet() const { return m_waitStepConfigurationHasBeenSet; }
60 template <typename WaitStepConfigurationT = WaitStepConfiguration>
61 void SetWaitStepConfiguration(WaitStepConfigurationT&& value) {
62 m_waitStepConfigurationHasBeenSet = true;
63 m_waitStepConfiguration = std::forward<WaitStepConfigurationT>(value);
64 }
65 template <typename WaitStepConfigurationT = WaitStepConfiguration>
67 SetWaitStepConfiguration(std::forward<WaitStepConfigurationT>(value));
68 return *this;
69 }
71 private:
72 ServerStepConfiguration m_serverStepConfiguration;
73
74 WaitStepConfiguration m_waitStepConfiguration;
75 bool m_serverStepConfigurationHasBeenSet = false;
76 bool m_waitStepConfigurationHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace drs
81} // namespace Aws
const WaitStepConfiguration & GetWaitStepConfiguration() const
AWS_DRS_API RecoveryPlanStepConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWaitStepConfiguration(WaitStepConfigurationT &&value)
AWS_DRS_API RecoveryPlanStepConfiguration(Aws::Utils::Json::JsonView jsonValue)
const ServerStepConfiguration & GetServerStepConfiguration() const
RecoveryPlanStepConfiguration & WithServerStepConfiguration(ServerStepConfigurationT &&value)
RecoveryPlanStepConfiguration & WithWaitStepConfiguration(WaitStepConfigurationT &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServerStepConfiguration(ServerStepConfigurationT &&value)
Aws::Utils::Json::JsonValue JsonValue