AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
StartRecoveryRequestSourceServer.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 StartRecoveryRequestSourceServer() = default;
34
36
40 inline const Aws::String& GetRecoverySnapshotID() const { return m_recoverySnapshotID; }
41 inline bool RecoverySnapshotIDHasBeenSet() const { return m_recoverySnapshotIDHasBeenSet; }
42 template <typename RecoverySnapshotIDT = Aws::String>
43 void SetRecoverySnapshotID(RecoverySnapshotIDT&& value) {
44 m_recoverySnapshotIDHasBeenSet = true;
45 m_recoverySnapshotID = std::forward<RecoverySnapshotIDT>(value);
46 }
47 template <typename RecoverySnapshotIDT = Aws::String>
49 SetRecoverySnapshotID(std::forward<RecoverySnapshotIDT>(value));
50 return *this;
51 }
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) {
62 m_sourceServerIDHasBeenSet = true;
63 m_sourceServerID = std::forward<SourceServerIDT>(value);
64 }
65 template <typename SourceServerIDT = Aws::String>
67 SetSourceServerID(std::forward<SourceServerIDT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_recoverySnapshotID;
73
74 Aws::String m_sourceServerID;
75 bool m_recoverySnapshotIDHasBeenSet = false;
76 bool m_sourceServerIDHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace drs
81} // 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