AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
RecoveryPlanExecutionSourceServer.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace drs {
20namespace Model {
21
29 public:
30 AWS_DRS_API RecoveryPlanExecutionSourceServer() = default;
34
36
39 inline const Aws::String& GetSourceServerID() const { return m_sourceServerID; }
40 inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; }
41 template <typename SourceServerIDT = Aws::String>
42 void SetSourceServerID(SourceServerIDT&& value) {
43 m_sourceServerIDHasBeenSet = true;
44 m_sourceServerID = std::forward<SourceServerIDT>(value);
45 }
46 template <typename SourceServerIDT = Aws::String>
48 SetSourceServerID(std::forward<SourceServerIDT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetRecoverySnapshotID() const { return m_recoverySnapshotID; }
58 inline bool RecoverySnapshotIDHasBeenSet() const { return m_recoverySnapshotIDHasBeenSet; }
59 template <typename RecoverySnapshotIDT = Aws::String>
60 void SetRecoverySnapshotID(RecoverySnapshotIDT&& value) {
61 m_recoverySnapshotIDHasBeenSet = true;
62 m_recoverySnapshotID = std::forward<RecoverySnapshotIDT>(value);
63 }
64 template <typename RecoverySnapshotIDT = Aws::String>
66 SetRecoverySnapshotID(std::forward<RecoverySnapshotIDT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_sourceServerID;
72
73 Aws::String m_recoverySnapshotID;
74 bool m_sourceServerIDHasBeenSet = false;
75 bool m_recoverySnapshotIDHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace drs
80} // namespace Aws
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DRS_API RecoveryPlanExecutionSourceServer(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API RecoveryPlanExecutionSourceServer & operator=(Aws::Utils::Json::JsonView jsonValue)
RecoveryPlanExecutionSourceServer & WithRecoverySnapshotID(RecoverySnapshotIDT &&value)
RecoveryPlanExecutionSourceServer & WithSourceServerID(SourceServerIDT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue