AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutRestoreValidationResultRequest.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/BackupRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/backup/model/RestoreValidationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Backup
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "PutRestoreValidationResult"; }
32
33 AWS_BACKUP_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetRestoreJobId() const{ return m_restoreJobId; }
41 inline bool RestoreJobIdHasBeenSet() const { return m_restoreJobIdHasBeenSet; }
42 inline void SetRestoreJobId(const Aws::String& value) { m_restoreJobIdHasBeenSet = true; m_restoreJobId = value; }
43 inline void SetRestoreJobId(Aws::String&& value) { m_restoreJobIdHasBeenSet = true; m_restoreJobId = std::move(value); }
44 inline void SetRestoreJobId(const char* value) { m_restoreJobIdHasBeenSet = true; m_restoreJobId.assign(value); }
46 inline PutRestoreValidationResultRequest& WithRestoreJobId(Aws::String&& value) { SetRestoreJobId(std::move(value)); return *this;}
47 inline PutRestoreValidationResultRequest& WithRestoreJobId(const char* value) { SetRestoreJobId(value); return *this;}
49
51
54 inline const RestoreValidationStatus& GetValidationStatus() const{ return m_validationStatus; }
55 inline bool ValidationStatusHasBeenSet() const { return m_validationStatusHasBeenSet; }
56 inline void SetValidationStatus(const RestoreValidationStatus& value) { m_validationStatusHasBeenSet = true; m_validationStatus = value; }
57 inline void SetValidationStatus(RestoreValidationStatus&& value) { m_validationStatusHasBeenSet = true; m_validationStatus = std::move(value); }
61
63
67 inline const Aws::String& GetValidationStatusMessage() const{ return m_validationStatusMessage; }
68 inline bool ValidationStatusMessageHasBeenSet() const { return m_validationStatusMessageHasBeenSet; }
69 inline void SetValidationStatusMessage(const Aws::String& value) { m_validationStatusMessageHasBeenSet = true; m_validationStatusMessage = value; }
70 inline void SetValidationStatusMessage(Aws::String&& value) { m_validationStatusMessageHasBeenSet = true; m_validationStatusMessage = std::move(value); }
71 inline void SetValidationStatusMessage(const char* value) { m_validationStatusMessageHasBeenSet = true; m_validationStatusMessage.assign(value); }
76 private:
77
78 Aws::String m_restoreJobId;
79 bool m_restoreJobIdHasBeenSet = false;
80
81 RestoreValidationStatus m_validationStatus;
82 bool m_validationStatusHasBeenSet = false;
83
84 Aws::String m_validationStatusMessage;
85 bool m_validationStatusMessageHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Backup
90} // namespace Aws
PutRestoreValidationResultRequest & WithRestoreJobId(Aws::String &&value)
AWS_BACKUP_API Aws::String SerializePayload() const override
PutRestoreValidationResultRequest & WithValidationStatusMessage(const char *value)
PutRestoreValidationResultRequest & WithRestoreJobId(const char *value)
PutRestoreValidationResultRequest & WithRestoreJobId(const Aws::String &value)
PutRestoreValidationResultRequest & WithValidationStatus(const RestoreValidationStatus &value)
PutRestoreValidationResultRequest & WithValidationStatus(RestoreValidationStatus &&value)
PutRestoreValidationResultRequest & WithValidationStatusMessage(const Aws::String &value)
PutRestoreValidationResultRequest & WithValidationStatusMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String