AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecoveryLifeCycle.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/drs/model/RecoveryResult.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace drs
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DRS_API RecoveryLifeCycle();
41
42
44
47 inline const Aws::Utils::DateTime& GetApiCallDateTime() const{ return m_apiCallDateTime; }
48 inline bool ApiCallDateTimeHasBeenSet() const { return m_apiCallDateTimeHasBeenSet; }
49 inline void SetApiCallDateTime(const Aws::Utils::DateTime& value) { m_apiCallDateTimeHasBeenSet = true; m_apiCallDateTime = value; }
50 inline void SetApiCallDateTime(Aws::Utils::DateTime&& value) { m_apiCallDateTimeHasBeenSet = true; m_apiCallDateTime = std::move(value); }
52 inline RecoveryLifeCycle& WithApiCallDateTime(Aws::Utils::DateTime&& value) { SetApiCallDateTime(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetJobID() const{ return m_jobID; }
60 inline bool JobIDHasBeenSet() const { return m_jobIDHasBeenSet; }
61 inline void SetJobID(const Aws::String& value) { m_jobIDHasBeenSet = true; m_jobID = value; }
62 inline void SetJobID(Aws::String&& value) { m_jobIDHasBeenSet = true; m_jobID = std::move(value); }
63 inline void SetJobID(const char* value) { m_jobIDHasBeenSet = true; m_jobID.assign(value); }
64 inline RecoveryLifeCycle& WithJobID(const Aws::String& value) { SetJobID(value); return *this;}
65 inline RecoveryLifeCycle& WithJobID(Aws::String&& value) { SetJobID(std::move(value)); return *this;}
66 inline RecoveryLifeCycle& WithJobID(const char* value) { SetJobID(value); return *this;}
68
70
73 inline const RecoveryResult& GetLastRecoveryResult() const{ return m_lastRecoveryResult; }
74 inline bool LastRecoveryResultHasBeenSet() const { return m_lastRecoveryResultHasBeenSet; }
75 inline void SetLastRecoveryResult(const RecoveryResult& value) { m_lastRecoveryResultHasBeenSet = true; m_lastRecoveryResult = value; }
76 inline void SetLastRecoveryResult(RecoveryResult&& value) { m_lastRecoveryResultHasBeenSet = true; m_lastRecoveryResult = std::move(value); }
78 inline RecoveryLifeCycle& WithLastRecoveryResult(RecoveryResult&& value) { SetLastRecoveryResult(std::move(value)); return *this;}
80 private:
81
82 Aws::Utils::DateTime m_apiCallDateTime;
83 bool m_apiCallDateTimeHasBeenSet = false;
84
85 Aws::String m_jobID;
86 bool m_jobIDHasBeenSet = false;
87
88 RecoveryResult m_lastRecoveryResult;
89 bool m_lastRecoveryResultHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace drs
94} // namespace Aws
void SetApiCallDateTime(const Aws::Utils::DateTime &value)
RecoveryLifeCycle & WithApiCallDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetApiCallDateTime() const
const Aws::String & GetJobID() const
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
RecoveryLifeCycle & WithApiCallDateTime(const Aws::Utils::DateTime &value)
void SetLastRecoveryResult(const RecoveryResult &value)
void SetJobID(const Aws::String &value)
const RecoveryResult & GetLastRecoveryResult() const
AWS_DRS_API RecoveryLifeCycle(Aws::Utils::Json::JsonView jsonValue)
void SetApiCallDateTime(Aws::Utils::DateTime &&value)
AWS_DRS_API RecoveryLifeCycle & operator=(Aws::Utils::Json::JsonView jsonValue)
RecoveryLifeCycle & WithLastRecoveryResult(RecoveryResult &&value)
RecoveryLifeCycle & WithLastRecoveryResult(const RecoveryResult &value)
void SetJobID(Aws::String &&value)
void SetLastRecoveryResult(RecoveryResult &&value)
RecoveryLifeCycle & WithJobID(Aws::String &&value)
RecoveryLifeCycle & WithJobID(const char *value)
RecoveryLifeCycle & WithJobID(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue