AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BackupDetails.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodb/model/BackupStatus.h>
10#include <aws/dynamodb/model/BackupType.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DynamoDB
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DYNAMODB_API BackupDetails();
39 AWS_DYNAMODB_API BackupDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetBackupArn() const{ return m_backupArn; }
49 inline bool BackupArnHasBeenSet() const { return m_backupArnHasBeenSet; }
50 inline void SetBackupArn(const Aws::String& value) { m_backupArnHasBeenSet = true; m_backupArn = value; }
51 inline void SetBackupArn(Aws::String&& value) { m_backupArnHasBeenSet = true; m_backupArn = std::move(value); }
52 inline void SetBackupArn(const char* value) { m_backupArnHasBeenSet = true; m_backupArn.assign(value); }
53 inline BackupDetails& WithBackupArn(const Aws::String& value) { SetBackupArn(value); return *this;}
54 inline BackupDetails& WithBackupArn(Aws::String&& value) { SetBackupArn(std::move(value)); return *this;}
55 inline BackupDetails& WithBackupArn(const char* value) { SetBackupArn(value); return *this;}
57
59
62 inline const Aws::String& GetBackupName() const{ return m_backupName; }
63 inline bool BackupNameHasBeenSet() const { return m_backupNameHasBeenSet; }
64 inline void SetBackupName(const Aws::String& value) { m_backupNameHasBeenSet = true; m_backupName = value; }
65 inline void SetBackupName(Aws::String&& value) { m_backupNameHasBeenSet = true; m_backupName = std::move(value); }
66 inline void SetBackupName(const char* value) { m_backupNameHasBeenSet = true; m_backupName.assign(value); }
67 inline BackupDetails& WithBackupName(const Aws::String& value) { SetBackupName(value); return *this;}
68 inline BackupDetails& WithBackupName(Aws::String&& value) { SetBackupName(std::move(value)); return *this;}
69 inline BackupDetails& WithBackupName(const char* value) { SetBackupName(value); return *this;}
71
73
77 inline long long GetBackupSizeBytes() const{ return m_backupSizeBytes; }
78 inline bool BackupSizeBytesHasBeenSet() const { return m_backupSizeBytesHasBeenSet; }
79 inline void SetBackupSizeBytes(long long value) { m_backupSizeBytesHasBeenSet = true; m_backupSizeBytes = value; }
80 inline BackupDetails& WithBackupSizeBytes(long long value) { SetBackupSizeBytes(value); return *this;}
82
84
87 inline const BackupStatus& GetBackupStatus() const{ return m_backupStatus; }
88 inline bool BackupStatusHasBeenSet() const { return m_backupStatusHasBeenSet; }
89 inline void SetBackupStatus(const BackupStatus& value) { m_backupStatusHasBeenSet = true; m_backupStatus = value; }
90 inline void SetBackupStatus(BackupStatus&& value) { m_backupStatusHasBeenSet = true; m_backupStatus = std::move(value); }
91 inline BackupDetails& WithBackupStatus(const BackupStatus& value) { SetBackupStatus(value); return *this;}
92 inline BackupDetails& WithBackupStatus(BackupStatus&& value) { SetBackupStatus(std::move(value)); return *this;}
94
96
106 inline const BackupType& GetBackupType() const{ return m_backupType; }
107 inline bool BackupTypeHasBeenSet() const { return m_backupTypeHasBeenSet; }
108 inline void SetBackupType(const BackupType& value) { m_backupTypeHasBeenSet = true; m_backupType = value; }
109 inline void SetBackupType(BackupType&& value) { m_backupTypeHasBeenSet = true; m_backupType = std::move(value); }
110 inline BackupDetails& WithBackupType(const BackupType& value) { SetBackupType(value); return *this;}
111 inline BackupDetails& WithBackupType(BackupType&& value) { SetBackupType(std::move(value)); return *this;}
113
115
119 inline const Aws::Utils::DateTime& GetBackupCreationDateTime() const{ return m_backupCreationDateTime; }
120 inline bool BackupCreationDateTimeHasBeenSet() const { return m_backupCreationDateTimeHasBeenSet; }
121 inline void SetBackupCreationDateTime(const Aws::Utils::DateTime& value) { m_backupCreationDateTimeHasBeenSet = true; m_backupCreationDateTime = value; }
122 inline void SetBackupCreationDateTime(Aws::Utils::DateTime&& value) { m_backupCreationDateTimeHasBeenSet = true; m_backupCreationDateTime = std::move(value); }
126
128
133 inline const Aws::Utils::DateTime& GetBackupExpiryDateTime() const{ return m_backupExpiryDateTime; }
134 inline bool BackupExpiryDateTimeHasBeenSet() const { return m_backupExpiryDateTimeHasBeenSet; }
135 inline void SetBackupExpiryDateTime(const Aws::Utils::DateTime& value) { m_backupExpiryDateTimeHasBeenSet = true; m_backupExpiryDateTime = value; }
136 inline void SetBackupExpiryDateTime(Aws::Utils::DateTime&& value) { m_backupExpiryDateTimeHasBeenSet = true; m_backupExpiryDateTime = std::move(value); }
138 inline BackupDetails& WithBackupExpiryDateTime(Aws::Utils::DateTime&& value) { SetBackupExpiryDateTime(std::move(value)); return *this;}
140 private:
141
142 Aws::String m_backupArn;
143 bool m_backupArnHasBeenSet = false;
144
145 Aws::String m_backupName;
146 bool m_backupNameHasBeenSet = false;
147
148 long long m_backupSizeBytes;
149 bool m_backupSizeBytesHasBeenSet = false;
150
151 BackupStatus m_backupStatus;
152 bool m_backupStatusHasBeenSet = false;
153
154 BackupType m_backupType;
155 bool m_backupTypeHasBeenSet = false;
156
157 Aws::Utils::DateTime m_backupCreationDateTime;
158 bool m_backupCreationDateTimeHasBeenSet = false;
159
160 Aws::Utils::DateTime m_backupExpiryDateTime;
161 bool m_backupExpiryDateTimeHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace DynamoDB
166} // namespace Aws
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
BackupDetails & WithBackupName(const char *value)
void SetBackupType(BackupType &&value)
void SetBackupExpiryDateTime(const Aws::Utils::DateTime &value)
BackupDetails & WithBackupArn(const Aws::String &value)
BackupDetails & WithBackupSizeBytes(long long value)
void SetBackupSizeBytes(long long value)
BackupDetails & WithBackupArn(const char *value)
void SetBackupArn(const char *value)
void SetBackupArn(const Aws::String &value)
const Aws::Utils::DateTime & GetBackupExpiryDateTime() const
BackupDetails & WithBackupCreationDateTime(const Aws::Utils::DateTime &value)
AWS_DYNAMODB_API BackupDetails(Aws::Utils::Json::JsonView jsonValue)
void SetBackupType(const BackupType &value)
const Aws::String & GetBackupArn() const
void SetBackupCreationDateTime(Aws::Utils::DateTime &&value)
BackupDetails & WithBackupCreationDateTime(Aws::Utils::DateTime &&value)
void SetBackupArn(Aws::String &&value)
const BackupStatus & GetBackupStatus() const
BackupDetails & WithBackupType(const BackupType &value)
const Aws::String & GetBackupName() const
const Aws::Utils::DateTime & GetBackupCreationDateTime() const
void SetBackupExpiryDateTime(Aws::Utils::DateTime &&value)
void SetBackupName(const Aws::String &value)
BackupDetails & WithBackupName(const Aws::String &value)
void SetBackupStatus(const BackupStatus &value)
void SetBackupName(Aws::String &&value)
void SetBackupCreationDateTime(const Aws::Utils::DateTime &value)
void SetBackupName(const char *value)
BackupDetails & WithBackupStatus(const BackupStatus &value)
BackupDetails & WithBackupStatus(BackupStatus &&value)
AWS_DYNAMODB_API BackupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
BackupDetails & WithBackupType(BackupType &&value)
BackupDetails & WithBackupName(Aws::String &&value)
const BackupType & GetBackupType() const
void SetBackupStatus(BackupStatus &&value)
BackupDetails & WithBackupArn(Aws::String &&value)
BackupDetails & WithBackupExpiryDateTime(const Aws::Utils::DateTime &value)
BackupDetails & WithBackupExpiryDateTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue