AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRecoveryPointsRequest.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace RedshiftServerless
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REDSHIFTSERVERLESS_API ListRecoveryPointsRequest();
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 "ListRecoveryPoints"; }
32
33 AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override;
34
35 AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
43 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
44 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
45 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
46 inline ListRecoveryPointsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
47 inline ListRecoveryPointsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
49
51
55 inline int GetMaxResults() const{ return m_maxResults; }
56 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
57 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
58 inline ListRecoveryPointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
60
62
66 inline const Aws::String& GetNamespaceArn() const{ return m_namespaceArn; }
67 inline bool NamespaceArnHasBeenSet() const { return m_namespaceArnHasBeenSet; }
68 inline void SetNamespaceArn(const Aws::String& value) { m_namespaceArnHasBeenSet = true; m_namespaceArn = value; }
69 inline void SetNamespaceArn(Aws::String&& value) { m_namespaceArnHasBeenSet = true; m_namespaceArn = std::move(value); }
70 inline void SetNamespaceArn(const char* value) { m_namespaceArnHasBeenSet = true; m_namespaceArn.assign(value); }
71 inline ListRecoveryPointsRequest& WithNamespaceArn(const Aws::String& value) { SetNamespaceArn(value); return *this;}
72 inline ListRecoveryPointsRequest& WithNamespaceArn(Aws::String&& value) { SetNamespaceArn(std::move(value)); return *this;}
73 inline ListRecoveryPointsRequest& WithNamespaceArn(const char* value) { SetNamespaceArn(value); return *this;}
75
77
80 inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; }
81 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
82 inline void SetNamespaceName(const Aws::String& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = value; }
83 inline void SetNamespaceName(Aws::String&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::move(value); }
84 inline void SetNamespaceName(const char* value) { m_namespaceNameHasBeenSet = true; m_namespaceName.assign(value); }
85 inline ListRecoveryPointsRequest& WithNamespaceName(const Aws::String& value) { SetNamespaceName(value); return *this;}
86 inline ListRecoveryPointsRequest& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;}
87 inline ListRecoveryPointsRequest& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;}
89
91
97 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 inline ListRecoveryPointsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 inline ListRecoveryPointsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 inline ListRecoveryPointsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
112 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
113 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
114 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
115 inline ListRecoveryPointsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
116 inline ListRecoveryPointsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
118 private:
119
120 Aws::Utils::DateTime m_endTime;
121 bool m_endTimeHasBeenSet = false;
122
123 int m_maxResults;
124 bool m_maxResultsHasBeenSet = false;
125
126 Aws::String m_namespaceArn;
127 bool m_namespaceArnHasBeenSet = false;
128
129 Aws::String m_namespaceName;
130 bool m_namespaceNameHasBeenSet = false;
131
132 Aws::String m_nextToken;
133 bool m_nextTokenHasBeenSet = false;
134
135 Aws::Utils::DateTime m_startTime;
136 bool m_startTimeHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace RedshiftServerless
141} // namespace Aws
ListRecoveryPointsRequest & WithNamespaceArn(Aws::String &&value)
ListRecoveryPointsRequest & WithStartTime(Aws::Utils::DateTime &&value)
ListRecoveryPointsRequest & WithNamespaceArn(const char *value)
ListRecoveryPointsRequest & WithStartTime(const Aws::Utils::DateTime &value)
ListRecoveryPointsRequest & WithNamespaceName(const char *value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
ListRecoveryPointsRequest & WithNamespaceName(const Aws::String &value)
ListRecoveryPointsRequest & WithEndTime(Aws::Utils::DateTime &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRecoveryPointsRequest & WithNextToken(const char *value)
ListRecoveryPointsRequest & WithNextToken(Aws::String &&value)
ListRecoveryPointsRequest & WithNextToken(const Aws::String &value)
ListRecoveryPointsRequest & WithNamespaceName(Aws::String &&value)
ListRecoveryPointsRequest & WithNamespaceArn(const Aws::String &value)
ListRecoveryPointsRequest & WithEndTime(const Aws::Utils::DateTime &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String