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>
15namespace RedshiftServerless
57 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
70 inline void SetNamespaceArn(
const char* value) { m_namespaceArnHasBeenSet =
true; m_namespaceArn.assign(value); }
84 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
100 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
114 inline void SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
134 bool m_endTimeHasBeenSet =
false;
137 bool m_maxResultsHasBeenSet =
false;
140 bool m_namespaceArnHasBeenSet =
false;
143 bool m_namespaceNameHasBeenSet =
false;
146 bool m_nextTokenHasBeenSet =
false;
149 bool m_ownerAccountHasBeenSet =
false;
152 bool m_startTimeHasBeenSet =
false;
bool NamespaceNameHasBeenSet() const
void SetEndTime(Aws::Utils::DateTime &&value)
bool NamespaceArnHasBeenSet() const
void SetMaxResults(int value)
ListSnapshotsRequest & WithNextToken(const Aws::String &value)
bool EndTimeHasBeenSet() const
const Aws::String & GetNamespaceName() const
ListSnapshotsRequest & WithNamespaceName(const Aws::String &value)
ListSnapshotsRequest & WithNamespaceArn(const char *value)
void SetNextToken(const Aws::String &value)
ListSnapshotsRequest & WithStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartTime() const
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
ListSnapshotsRequest & WithEndTime(Aws::Utils::DateTime &&value)
int GetMaxResults() const
void SetNamespaceArn(Aws::String &&value)
void SetNamespaceArn(const Aws::String &value)
bool MaxResultsHasBeenSet() const
ListSnapshotsRequest & WithNamespaceName(Aws::String &&value)
const Aws::String & GetNamespaceArn() const
void SetNamespaceName(Aws::String &&value)
ListSnapshotsRequest & WithMaxResults(int value)
const Aws::Utils::DateTime & GetEndTime() const
virtual const char * GetServiceRequestName() const override
AWS_REDSHIFTSERVERLESS_API ListSnapshotsRequest()
ListSnapshotsRequest & WithOwnerAccount(const Aws::String &value)
void SetNextToken(Aws::String &&value)
void SetNamespaceArn(const char *value)
ListSnapshotsRequest & WithStartTime(Aws::Utils::DateTime &&value)
void SetOwnerAccount(Aws::String &&value)
bool OwnerAccountHasBeenSet() const
ListSnapshotsRequest & WithNextToken(Aws::String &&value)
bool StartTimeHasBeenSet() const
void SetEndTime(const Aws::Utils::DateTime &value)
void SetOwnerAccount(const Aws::String &value)
ListSnapshotsRequest & WithOwnerAccount(const char *value)
ListSnapshotsRequest & WithEndTime(const Aws::Utils::DateTime &value)
const Aws::String & GetNextToken() const
ListSnapshotsRequest & WithNamespaceName(const char *value)
ListSnapshotsRequest & WithNamespaceArn(Aws::String &&value)
void SetNamespaceName(const Aws::String &value)
void SetOwnerAccount(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
const Aws::String & GetOwnerAccount() const
ListSnapshotsRequest & WithNamespaceArn(const Aws::String &value)
ListSnapshotsRequest & WithOwnerAccount(Aws::String &&value)
void SetNamespaceName(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
ListSnapshotsRequest & WithNextToken(const char *value)
void SetNextToken(const char *value)
bool NextTokenHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String