AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListImportsRequest.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 <utility>
11
12namespace Aws
13{
14namespace DynamoDB
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DYNAMODB_API ListImportsRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListImports"; }
31
32 AWS_DYNAMODB_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetTableArn() const{ return m_tableArn; }
43 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
44 inline void SetTableArn(const Aws::String& value) { m_tableArnHasBeenSet = true; m_tableArn = value; }
45 inline void SetTableArn(Aws::String&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::move(value); }
46 inline void SetTableArn(const char* value) { m_tableArnHasBeenSet = true; m_tableArn.assign(value); }
47 inline ListImportsRequest& WithTableArn(const Aws::String& value) { SetTableArn(value); return *this;}
48 inline ListImportsRequest& WithTableArn(Aws::String&& value) { SetTableArn(std::move(value)); return *this;}
49 inline ListImportsRequest& WithTableArn(const char* value) { SetTableArn(value); return *this;}
51
53
57 inline int GetPageSize() const{ return m_pageSize; }
58 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
59 inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
60 inline ListImportsRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
62
64
69 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
70 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
71 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
72 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
73 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
74 inline ListImportsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
75 inline ListImportsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
76 inline ListImportsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78 private:
79
80 Aws::String m_tableArn;
81 bool m_tableArnHasBeenSet = false;
82
83 int m_pageSize;
84 bool m_pageSizeHasBeenSet = false;
85
86 Aws::String m_nextToken;
87 bool m_nextTokenHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace DynamoDB
92} // namespace Aws
ListImportsRequest & WithNextToken(const char *value)
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetNextToken(const Aws::String &value)
ListImportsRequest & WithTableArn(const Aws::String &value)
ListImportsRequest & WithPageSize(int value)
ListImportsRequest & WithTableArn(Aws::String &&value)
AWS_DYNAMODB_API Aws::String SerializePayload() const override
ListImportsRequest & WithNextToken(Aws::String &&value)
void SetTableArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListImportsRequest & WithTableArn(const char *value)
ListImportsRequest & WithNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String