AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39
40
42
46 inline const Aws::String& GetRecoverySnapshotID() const{ return m_recoverySnapshotID; }
47 inline bool RecoverySnapshotIDHasBeenSet() const { return m_recoverySnapshotIDHasBeenSet; }
48 inline void SetRecoverySnapshotID(const Aws::String& value) { m_recoverySnapshotIDHasBeenSet = true; m_recoverySnapshotID = value; }
49 inline void SetRecoverySnapshotID(Aws::String&& value) { m_recoverySnapshotIDHasBeenSet = true; m_recoverySnapshotID = std::move(value); }
50 inline void SetRecoverySnapshotID(const char* value) { m_recoverySnapshotIDHasBeenSet = true; m_recoverySnapshotID.assign(value); }
53 inline StartRecoveryRequestSourceServer& WithRecoverySnapshotID(const char* value) { SetRecoverySnapshotID(value); return *this;}
55
57
60 inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; }
61 inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; }
62 inline void SetSourceServerID(const Aws::String& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = value; }
63 inline void SetSourceServerID(Aws::String&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::move(value); }
64 inline void SetSourceServerID(const char* value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID.assign(value); }
66 inline StartRecoveryRequestSourceServer& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;}
67 inline StartRecoveryRequestSourceServer& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;}
69 private:
70
71 Aws::String m_recoverySnapshotID;
72 bool m_recoverySnapshotIDHasBeenSet = false;
73
74 Aws::String m_sourceServerID;
75 bool m_sourceServerIDHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace drs
80} // namespace Aws
StartRecoveryRequestSourceServer & WithSourceServerID(const Aws::String &value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
StartRecoveryRequestSourceServer & WithSourceServerID(const char *value)
StartRecoveryRequestSourceServer & WithRecoverySnapshotID(Aws::String &&value)
StartRecoveryRequestSourceServer & WithRecoverySnapshotID(const char *value)
StartRecoveryRequestSourceServer & WithSourceServerID(Aws::String &&value)
AWS_DRS_API StartRecoveryRequestSourceServer(Aws::Utils::Json::JsonView jsonValue)
StartRecoveryRequestSourceServer & WithRecoverySnapshotID(const Aws::String &value)
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