AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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