AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListBackupsResult.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dynamodb/model/BackupSummary.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DynamoDB
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DYNAMODB_API ListBackupsResult();
35
36
38
41 inline const Aws::Vector<BackupSummary>& GetBackupSummaries() const{ return m_backupSummaries; }
42 inline void SetBackupSummaries(const Aws::Vector<BackupSummary>& value) { m_backupSummaries = value; }
43 inline void SetBackupSummaries(Aws::Vector<BackupSummary>&& value) { m_backupSummaries = std::move(value); }
45 inline ListBackupsResult& WithBackupSummaries(Aws::Vector<BackupSummary>&& value) { SetBackupSummaries(std::move(value)); return *this;}
46 inline ListBackupsResult& AddBackupSummaries(const BackupSummary& value) { m_backupSummaries.push_back(value); return *this; }
47 inline ListBackupsResult& AddBackupSummaries(BackupSummary&& value) { m_backupSummaries.push_back(std::move(value)); return *this; }
49
51
63 inline const Aws::String& GetLastEvaluatedBackupArn() const{ return m_lastEvaluatedBackupArn; }
64 inline void SetLastEvaluatedBackupArn(const Aws::String& value) { m_lastEvaluatedBackupArn = value; }
65 inline void SetLastEvaluatedBackupArn(Aws::String&& value) { m_lastEvaluatedBackupArn = std::move(value); }
66 inline void SetLastEvaluatedBackupArn(const char* value) { m_lastEvaluatedBackupArn.assign(value); }
68 inline ListBackupsResult& WithLastEvaluatedBackupArn(Aws::String&& value) { SetLastEvaluatedBackupArn(std::move(value)); return *this;}
69 inline ListBackupsResult& WithLastEvaluatedBackupArn(const char* value) { SetLastEvaluatedBackupArn(value); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline ListBackupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline ListBackupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline ListBackupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82 private:
83
84 Aws::Vector<BackupSummary> m_backupSummaries;
85
86 Aws::String m_lastEvaluatedBackupArn;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace DynamoDB
93} // namespace Aws
AWS_DYNAMODB_API ListBackupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListBackupsResult & WithBackupSummaries(Aws::Vector< BackupSummary > &&value)
void SetLastEvaluatedBackupArn(const char *value)
void SetBackupSummaries(const Aws::Vector< BackupSummary > &value)
ListBackupsResult & AddBackupSummaries(const BackupSummary &value)
ListBackupsResult & WithBackupSummaries(const Aws::Vector< BackupSummary > &value)
const Aws::String & GetRequestId() const
ListBackupsResult & WithLastEvaluatedBackupArn(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetLastEvaluatedBackupArn(const Aws::String &value)
ListBackupsResult & AddBackupSummaries(BackupSummary &&value)
ListBackupsResult & WithLastEvaluatedBackupArn(const char *value)
const Aws::Vector< BackupSummary > & GetBackupSummaries() const
AWS_DYNAMODB_API ListBackupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListBackupsResult & WithRequestId(const char *value)
void SetLastEvaluatedBackupArn(Aws::String &&value)
ListBackupsResult & WithLastEvaluatedBackupArn(Aws::String &&value)
ListBackupsResult & WithRequestId(const Aws::String &value)
const Aws::String & GetLastEvaluatedBackupArn() const
void SetBackupSummaries(Aws::Vector< BackupSummary > &&value)
ListBackupsResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue