AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListBackupsRequest.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/DynamoDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/dynamodb/model/BackupTypeFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DynamoDB
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DYNAMODB_API ListBackupsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ListBackups"; }
33
34 AWS_DYNAMODB_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetTableName() const{ return m_tableName; }
45 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
46 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
47 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
48 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
49 inline ListBackupsRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
50 inline ListBackupsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
51 inline ListBackupsRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
53
55
58 inline int GetLimit() const{ return m_limit; }
59 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
60 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
61 inline ListBackupsRequest& WithLimit(int value) { SetLimit(value); return *this;}
63
65
69 inline const Aws::Utils::DateTime& GetTimeRangeLowerBound() const{ return m_timeRangeLowerBound; }
70 inline bool TimeRangeLowerBoundHasBeenSet() const { return m_timeRangeLowerBoundHasBeenSet; }
71 inline void SetTimeRangeLowerBound(const Aws::Utils::DateTime& value) { m_timeRangeLowerBoundHasBeenSet = true; m_timeRangeLowerBound = value; }
72 inline void SetTimeRangeLowerBound(Aws::Utils::DateTime&& value) { m_timeRangeLowerBoundHasBeenSet = true; m_timeRangeLowerBound = std::move(value); }
76
78
82 inline const Aws::Utils::DateTime& GetTimeRangeUpperBound() const{ return m_timeRangeUpperBound; }
83 inline bool TimeRangeUpperBoundHasBeenSet() const { return m_timeRangeUpperBoundHasBeenSet; }
84 inline void SetTimeRangeUpperBound(const Aws::Utils::DateTime& value) { m_timeRangeUpperBoundHasBeenSet = true; m_timeRangeUpperBound = value; }
85 inline void SetTimeRangeUpperBound(Aws::Utils::DateTime&& value) { m_timeRangeUpperBoundHasBeenSet = true; m_timeRangeUpperBound = std::move(value); }
89
91
98 inline const Aws::String& GetExclusiveStartBackupArn() const{ return m_exclusiveStartBackupArn; }
99 inline bool ExclusiveStartBackupArnHasBeenSet() const { return m_exclusiveStartBackupArnHasBeenSet; }
100 inline void SetExclusiveStartBackupArn(const Aws::String& value) { m_exclusiveStartBackupArnHasBeenSet = true; m_exclusiveStartBackupArn = value; }
101 inline void SetExclusiveStartBackupArn(Aws::String&& value) { m_exclusiveStartBackupArnHasBeenSet = true; m_exclusiveStartBackupArn = std::move(value); }
102 inline void SetExclusiveStartBackupArn(const char* value) { m_exclusiveStartBackupArnHasBeenSet = true; m_exclusiveStartBackupArn.assign(value); }
105 inline ListBackupsRequest& WithExclusiveStartBackupArn(const char* value) { SetExclusiveStartBackupArn(value); return *this;}
107
109
118 inline const BackupTypeFilter& GetBackupType() const{ return m_backupType; }
119 inline bool BackupTypeHasBeenSet() const { return m_backupTypeHasBeenSet; }
120 inline void SetBackupType(const BackupTypeFilter& value) { m_backupTypeHasBeenSet = true; m_backupType = value; }
121 inline void SetBackupType(BackupTypeFilter&& value) { m_backupTypeHasBeenSet = true; m_backupType = std::move(value); }
122 inline ListBackupsRequest& WithBackupType(const BackupTypeFilter& value) { SetBackupType(value); return *this;}
123 inline ListBackupsRequest& WithBackupType(BackupTypeFilter&& value) { SetBackupType(std::move(value)); return *this;}
125 private:
126
127 Aws::String m_tableName;
128 bool m_tableNameHasBeenSet = false;
129
130 int m_limit;
131 bool m_limitHasBeenSet = false;
132
133 Aws::Utils::DateTime m_timeRangeLowerBound;
134 bool m_timeRangeLowerBoundHasBeenSet = false;
135
136 Aws::Utils::DateTime m_timeRangeUpperBound;
137 bool m_timeRangeUpperBoundHasBeenSet = false;
138
139 Aws::String m_exclusiveStartBackupArn;
140 bool m_exclusiveStartBackupArnHasBeenSet = false;
141
142 BackupTypeFilter m_backupType;
143 bool m_backupTypeHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace DynamoDB
148} // namespace Aws
void SetTimeRangeLowerBound(const Aws::Utils::DateTime &value)
ListBackupsRequest & WithTimeRangeLowerBound(Aws::Utils::DateTime &&value)
ListBackupsRequest & WithTableName(const char *value)
ListBackupsRequest & WithTimeRangeUpperBound(Aws::Utils::DateTime &&value)
ListBackupsRequest & WithLimit(int value)
const Aws::String & GetExclusiveStartBackupArn() const
ListBackupsRequest & WithTimeRangeLowerBound(const Aws::Utils::DateTime &value)
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListBackupsRequest & WithExclusiveStartBackupArn(const Aws::String &value)
ListBackupsRequest & WithBackupType(BackupTypeFilter &&value)
const BackupTypeFilter & GetBackupType() const
ListBackupsRequest & WithBackupType(const BackupTypeFilter &value)
void SetBackupType(BackupTypeFilter &&value)
virtual const char * GetServiceRequestName() const override
void SetTableName(const Aws::String &value)
ListBackupsRequest & WithTimeRangeUpperBound(const Aws::Utils::DateTime &value)
void SetBackupType(const BackupTypeFilter &value)
ListBackupsRequest & WithTableName(Aws::String &&value)
const Aws::Utils::DateTime & GetTimeRangeLowerBound() const
void SetExclusiveStartBackupArn(const Aws::String &value)
void SetExclusiveStartBackupArn(Aws::String &&value)
ListBackupsRequest & WithTableName(const Aws::String &value)
void SetTimeRangeUpperBound(Aws::Utils::DateTime &&value)
ListBackupsRequest & WithExclusiveStartBackupArn(Aws::String &&value)
void SetTimeRangeUpperBound(const Aws::Utils::DateTime &value)
void SetTimeRangeLowerBound(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetTimeRangeUpperBound() const
AWS_DYNAMODB_API Aws::String SerializePayload() const override
ListBackupsRequest & WithExclusiveStartBackupArn(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String