AWS SDK for C++  1.9.40
AWS SDK for C++
ListJournalS3ExportsForLedgerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/qldb/QLDBRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace QLDB
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListJournalS3ExportsForLedger"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline ListJournalS3ExportsForLedgerRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline ListJournalS3ExportsForLedgerRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline ListJournalS3ExportsForLedgerRequest& WithName(const char* value) { SetName(value); return *this;}
80 
81 
87  inline int GetMaxResults() const{ return m_maxResults; }
88 
94  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 
101  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
102 
108  inline ListJournalS3ExportsForLedgerRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
109 
110 
117  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
118 
125  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
126 
133  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
134 
141  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
142 
149  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
150 
157  inline ListJournalS3ExportsForLedgerRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
158 
165  inline ListJournalS3ExportsForLedgerRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
166 
173  inline ListJournalS3ExportsForLedgerRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
174 
175  private:
176 
177  Aws::String m_name;
178  bool m_nameHasBeenSet;
179 
180  int m_maxResults;
181  bool m_maxResultsHasBeenSet;
182 
183  Aws::String m_nextToken;
184  bool m_nextTokenHasBeenSet;
185  };
186 
187 } // namespace Model
188 } // namespace QLDB
189 } // namespace Aws
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::SetName
void SetName(const char *value)
Definition: ListJournalS3ExportsForLedgerRequest.h:64
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::WithName
ListJournalS3ExportsForLedgerRequest & WithName(const char *value)
Definition: ListJournalS3ExportsForLedgerRequest.h:79
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::GetMaxResults
int GetMaxResults() const
Definition: ListJournalS3ExportsForLedgerRequest.h:87
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::GetName
const Aws::String & GetName() const
Definition: ListJournalS3ExportsForLedgerRequest.h:44
Aws::Http::URI
Definition: URI.h:32
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::ListJournalS3ExportsForLedgerRequest
ListJournalS3ExportsForLedgerRequest()
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::WithName
ListJournalS3ExportsForLedgerRequest & WithName(const Aws::String &value)
Definition: ListJournalS3ExportsForLedgerRequest.h:69
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::WithName
ListJournalS3ExportsForLedgerRequest & WithName(Aws::String &&value)
Definition: ListJournalS3ExportsForLedgerRequest.h:74
AWS_QLDB_API
#define AWS_QLDB_API
Definition: QLDB_EXPORTS.h:28
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListJournalS3ExportsForLedgerRequest.h:117
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListJournalS3ExportsForLedgerRequest.h:94
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::SetName
void SetName(Aws::String &&value)
Definition: ListJournalS3ExportsForLedgerRequest.h:59
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::WithNextToken
ListJournalS3ExportsForLedgerRequest & WithNextToken(const char *value)
Definition: ListJournalS3ExportsForLedgerRequest.h:173
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListJournalS3ExportsForLedgerRequest.h:125
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListJournalS3ExportsForLedgerRequest.h:133
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListJournalS3ExportsForLedgerRequest.h:101
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::SetName
void SetName(const Aws::String &value)
Definition: ListJournalS3ExportsForLedgerRequest.h:54
QLDBRequest.h
Aws::QLDB::QLDBRequest
Definition: QLDBRequest.h:17
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::WithNextToken
ListJournalS3ExportsForLedgerRequest & WithNextToken(const Aws::String &value)
Definition: ListJournalS3ExportsForLedgerRequest.h:157
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::WithNextToken
ListJournalS3ExportsForLedgerRequest & WithNextToken(Aws::String &&value)
Definition: ListJournalS3ExportsForLedgerRequest.h:165
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListJournalS3ExportsForLedgerRequest.h:141
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::WithMaxResults
ListJournalS3ExportsForLedgerRequest & WithMaxResults(int value)
Definition: ListJournalS3ExportsForLedgerRequest.h:108
AWSString.h
QLDB_EXPORTS.h
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest
Definition: ListJournalS3ExportsForLedgerRequest.h:26
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ListJournalS3ExportsForLedgerRequest.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListJournalS3ExportsForLedgerRequest.h:149
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QLDB::Model::ListJournalS3ExportsForLedgerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListJournalS3ExportsForLedgerRequest.h:34