AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRecoveryPointLifecycleRequest.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/Lifecycle.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 "UpdateRecoveryPointLifecycle"; }
32
33 AWS_BACKUP_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
43 inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
44 inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; }
45 inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); }
46 inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); }
49 inline UpdateRecoveryPointLifecycleRequest& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
51
53
58 inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; }
59 inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; }
60 inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = value; }
61 inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::move(value); }
62 inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn.assign(value); }
65 inline UpdateRecoveryPointLifecycleRequest& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;}
67
69
78 inline const Lifecycle& GetLifecycle() const{ return m_lifecycle; }
79 inline bool LifecycleHasBeenSet() const { return m_lifecycleHasBeenSet; }
80 inline void SetLifecycle(const Lifecycle& value) { m_lifecycleHasBeenSet = true; m_lifecycle = value; }
81 inline void SetLifecycle(Lifecycle&& value) { m_lifecycleHasBeenSet = true; m_lifecycle = std::move(value); }
82 inline UpdateRecoveryPointLifecycleRequest& WithLifecycle(const Lifecycle& value) { SetLifecycle(value); return *this;}
83 inline UpdateRecoveryPointLifecycleRequest& WithLifecycle(Lifecycle&& value) { SetLifecycle(std::move(value)); return *this;}
85 private:
86
87 Aws::String m_backupVaultName;
88 bool m_backupVaultNameHasBeenSet = false;
89
90 Aws::String m_recoveryPointArn;
91 bool m_recoveryPointArnHasBeenSet = false;
92
93 Lifecycle m_lifecycle;
94 bool m_lifecycleHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Backup
99} // namespace Aws
UpdateRecoveryPointLifecycleRequest & WithRecoveryPointArn(const char *value)
AWS_BACKUP_API Aws::String SerializePayload() const override
UpdateRecoveryPointLifecycleRequest & WithRecoveryPointArn(Aws::String &&value)
UpdateRecoveryPointLifecycleRequest & WithLifecycle(Lifecycle &&value)
UpdateRecoveryPointLifecycleRequest & WithBackupVaultName(const Aws::String &value)
UpdateRecoveryPointLifecycleRequest & WithLifecycle(const Lifecycle &value)
UpdateRecoveryPointLifecycleRequest & WithRecoveryPointArn(const Aws::String &value)
UpdateRecoveryPointLifecycleRequest & WithBackupVaultName(Aws::String &&value)
UpdateRecoveryPointLifecycleRequest & WithBackupVaultName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String