AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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
41 AWS_DYNAMODB_API EndpointParameters GetEndpointContextParams() const override;
42
44
48 inline const Aws::String& GetTableName() const { return m_tableName; }
49 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
50 template<typename TableNameT = Aws::String>
51 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
52 template<typename TableNameT = Aws::String>
53 ListBackupsRequest& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
55
57
60 inline int GetLimit() const { return m_limit; }
61 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
62 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
63 inline ListBackupsRequest& WithLimit(int value) { SetLimit(value); return *this;}
65
67
71 inline const Aws::Utils::DateTime& GetTimeRangeLowerBound() const { return m_timeRangeLowerBound; }
72 inline bool TimeRangeLowerBoundHasBeenSet() const { return m_timeRangeLowerBoundHasBeenSet; }
73 template<typename TimeRangeLowerBoundT = Aws::Utils::DateTime>
74 void SetTimeRangeLowerBound(TimeRangeLowerBoundT&& value) { m_timeRangeLowerBoundHasBeenSet = true; m_timeRangeLowerBound = std::forward<TimeRangeLowerBoundT>(value); }
75 template<typename TimeRangeLowerBoundT = Aws::Utils::DateTime>
76 ListBackupsRequest& WithTimeRangeLowerBound(TimeRangeLowerBoundT&& value) { SetTimeRangeLowerBound(std::forward<TimeRangeLowerBoundT>(value)); return *this;}
78
80
84 inline const Aws::Utils::DateTime& GetTimeRangeUpperBound() const { return m_timeRangeUpperBound; }
85 inline bool TimeRangeUpperBoundHasBeenSet() const { return m_timeRangeUpperBoundHasBeenSet; }
86 template<typename TimeRangeUpperBoundT = Aws::Utils::DateTime>
87 void SetTimeRangeUpperBound(TimeRangeUpperBoundT&& value) { m_timeRangeUpperBoundHasBeenSet = true; m_timeRangeUpperBound = std::forward<TimeRangeUpperBoundT>(value); }
88 template<typename TimeRangeUpperBoundT = Aws::Utils::DateTime>
89 ListBackupsRequest& WithTimeRangeUpperBound(TimeRangeUpperBoundT&& value) { SetTimeRangeUpperBound(std::forward<TimeRangeUpperBoundT>(value)); return *this;}
91
93
100 inline const Aws::String& GetExclusiveStartBackupArn() const { return m_exclusiveStartBackupArn; }
101 inline bool ExclusiveStartBackupArnHasBeenSet() const { return m_exclusiveStartBackupArnHasBeenSet; }
102 template<typename ExclusiveStartBackupArnT = Aws::String>
103 void SetExclusiveStartBackupArn(ExclusiveStartBackupArnT&& value) { m_exclusiveStartBackupArnHasBeenSet = true; m_exclusiveStartBackupArn = std::forward<ExclusiveStartBackupArnT>(value); }
104 template<typename ExclusiveStartBackupArnT = Aws::String>
105 ListBackupsRequest& WithExclusiveStartBackupArn(ExclusiveStartBackupArnT&& value) { SetExclusiveStartBackupArn(std::forward<ExclusiveStartBackupArnT>(value)); return *this;}
107
109
118 inline BackupTypeFilter GetBackupType() const { return m_backupType; }
119 inline bool BackupTypeHasBeenSet() const { return m_backupTypeHasBeenSet; }
120 inline void SetBackupType(BackupTypeFilter value) { m_backupTypeHasBeenSet = true; m_backupType = value; }
121 inline ListBackupsRequest& WithBackupType(BackupTypeFilter value) { SetBackupType(value); return *this;}
123 private:
124
125 Aws::String m_tableName;
126 bool m_tableNameHasBeenSet = false;
127
128 int m_limit{0};
129 bool m_limitHasBeenSet = false;
130
131 Aws::Utils::DateTime m_timeRangeLowerBound{};
132 bool m_timeRangeLowerBoundHasBeenSet = false;
133
134 Aws::Utils::DateTime m_timeRangeUpperBound{};
135 bool m_timeRangeUpperBoundHasBeenSet = false;
136
137 Aws::String m_exclusiveStartBackupArn;
138 bool m_exclusiveStartBackupArnHasBeenSet = false;
139
141 bool m_backupTypeHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace DynamoDB
146} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
void SetExclusiveStartBackupArn(ExclusiveStartBackupArnT &&value)
ListBackupsRequest & WithLimit(int value)
void SetTimeRangeLowerBound(TimeRangeLowerBoundT &&value)
const Aws::String & GetExclusiveStartBackupArn() const
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetBackupType(BackupTypeFilter value)
ListBackupsRequest & WithTableName(TableNameT &&value)
void SetTimeRangeUpperBound(TimeRangeUpperBoundT &&value)
AWS_DYNAMODB_API ListBackupsRequest()=default
ListBackupsRequest & WithBackupType(BackupTypeFilter value)
virtual const char * GetServiceRequestName() const override
ListBackupsRequest & WithTimeRangeLowerBound(TimeRangeLowerBoundT &&value)
const Aws::Utils::DateTime & GetTimeRangeLowerBound() const
ListBackupsRequest & WithExclusiveStartBackupArn(ExclusiveStartBackupArnT &&value)
AWS_DYNAMODB_API EndpointParameters GetEndpointContextParams() const override
const Aws::Utils::DateTime & GetTimeRangeUpperBound() const
ListBackupsRequest & WithTimeRangeUpperBound(TimeRangeUpperBoundT &&value)
AWS_DYNAMODB_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String