AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportTableRequest.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/dynamodb/model/S3BucketSource.h>
11#include <aws/dynamodb/model/InputFormat.h>
12#include <aws/dynamodb/model/InputFormatOptions.h>
13#include <aws/dynamodb/model/InputCompressionType.h>
14#include <aws/dynamodb/model/TableCreationParameters.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace DynamoDB
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_DYNAMODB_API ImportTableRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ImportTable"; }
37
38 AWS_DYNAMODB_API Aws::String SerializePayload() const override;
39
41
42
44
55 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
56 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
57 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
58 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
59 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
60 inline ImportTableRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
61 inline ImportTableRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
62 inline ImportTableRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
64
66
69 inline const S3BucketSource& GetS3BucketSource() const{ return m_s3BucketSource; }
70 inline bool S3BucketSourceHasBeenSet() const { return m_s3BucketSourceHasBeenSet; }
71 inline void SetS3BucketSource(const S3BucketSource& value) { m_s3BucketSourceHasBeenSet = true; m_s3BucketSource = value; }
72 inline void SetS3BucketSource(S3BucketSource&& value) { m_s3BucketSourceHasBeenSet = true; m_s3BucketSource = std::move(value); }
73 inline ImportTableRequest& WithS3BucketSource(const S3BucketSource& value) { SetS3BucketSource(value); return *this;}
74 inline ImportTableRequest& WithS3BucketSource(S3BucketSource&& value) { SetS3BucketSource(std::move(value)); return *this;}
76
78
82 inline const InputFormat& GetInputFormat() const{ return m_inputFormat; }
83 inline bool InputFormatHasBeenSet() const { return m_inputFormatHasBeenSet; }
84 inline void SetInputFormat(const InputFormat& value) { m_inputFormatHasBeenSet = true; m_inputFormat = value; }
85 inline void SetInputFormat(InputFormat&& value) { m_inputFormatHasBeenSet = true; m_inputFormat = std::move(value); }
86 inline ImportTableRequest& WithInputFormat(const InputFormat& value) { SetInputFormat(value); return *this;}
87 inline ImportTableRequest& WithInputFormat(InputFormat&& value) { SetInputFormat(std::move(value)); return *this;}
89
91
94 inline const InputFormatOptions& GetInputFormatOptions() const{ return m_inputFormatOptions; }
95 inline bool InputFormatOptionsHasBeenSet() const { return m_inputFormatOptionsHasBeenSet; }
96 inline void SetInputFormatOptions(const InputFormatOptions& value) { m_inputFormatOptionsHasBeenSet = true; m_inputFormatOptions = value; }
97 inline void SetInputFormatOptions(InputFormatOptions&& value) { m_inputFormatOptionsHasBeenSet = true; m_inputFormatOptions = std::move(value); }
99 inline ImportTableRequest& WithInputFormatOptions(InputFormatOptions&& value) { SetInputFormatOptions(std::move(value)); return *this;}
101
103
107 inline const InputCompressionType& GetInputCompressionType() const{ return m_inputCompressionType; }
108 inline bool InputCompressionTypeHasBeenSet() const { return m_inputCompressionTypeHasBeenSet; }
109 inline void SetInputCompressionType(const InputCompressionType& value) { m_inputCompressionTypeHasBeenSet = true; m_inputCompressionType = value; }
110 inline void SetInputCompressionType(InputCompressionType&& value) { m_inputCompressionTypeHasBeenSet = true; m_inputCompressionType = std::move(value); }
114
116
119 inline const TableCreationParameters& GetTableCreationParameters() const{ return m_tableCreationParameters; }
120 inline bool TableCreationParametersHasBeenSet() const { return m_tableCreationParametersHasBeenSet; }
121 inline void SetTableCreationParameters(const TableCreationParameters& value) { m_tableCreationParametersHasBeenSet = true; m_tableCreationParameters = value; }
122 inline void SetTableCreationParameters(TableCreationParameters&& value) { m_tableCreationParametersHasBeenSet = true; m_tableCreationParameters = std::move(value); }
126 private:
127
128 Aws::String m_clientToken;
129 bool m_clientTokenHasBeenSet = false;
130
131 S3BucketSource m_s3BucketSource;
132 bool m_s3BucketSourceHasBeenSet = false;
133
134 InputFormat m_inputFormat;
135 bool m_inputFormatHasBeenSet = false;
136
137 InputFormatOptions m_inputFormatOptions;
138 bool m_inputFormatOptionsHasBeenSet = false;
139
140 InputCompressionType m_inputCompressionType;
141 bool m_inputCompressionTypeHasBeenSet = false;
142
143 TableCreationParameters m_tableCreationParameters;
144 bool m_tableCreationParametersHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace DynamoDB
149} // namespace Aws
const InputCompressionType & GetInputCompressionType() const
ImportTableRequest & WithInputFormat(const InputFormat &value)
virtual const char * GetServiceRequestName() const override
ImportTableRequest & WithS3BucketSource(S3BucketSource &&value)
ImportTableRequest & WithInputFormatOptions(InputFormatOptions &&value)
ImportTableRequest & WithTableCreationParameters(const TableCreationParameters &value)
ImportTableRequest & WithClientToken(const Aws::String &value)
ImportTableRequest & WithClientToken(Aws::String &&value)
void SetInputFormatOptions(InputFormatOptions &&value)
void SetInputFormatOptions(const InputFormatOptions &value)
ImportTableRequest & WithInputFormat(InputFormat &&value)
const InputFormat & GetInputFormat() const
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetClientToken() const
void SetInputCompressionType(const InputCompressionType &value)
ImportTableRequest & WithClientToken(const char *value)
void SetInputCompressionType(InputCompressionType &&value)
void SetS3BucketSource(const S3BucketSource &value)
ImportTableRequest & WithTableCreationParameters(TableCreationParameters &&value)
ImportTableRequest & WithInputCompressionType(const InputCompressionType &value)
void SetTableCreationParameters(const TableCreationParameters &value)
ImportTableRequest & WithInputFormatOptions(const InputFormatOptions &value)
const S3BucketSource & GetS3BucketSource() const
AWS_DYNAMODB_API Aws::String SerializePayload() const override
void SetS3BucketSource(S3BucketSource &&value)
const TableCreationParameters & GetTableCreationParameters() const
const InputFormatOptions & GetInputFormatOptions() const
void SetTableCreationParameters(TableCreationParameters &&value)
void SetClientToken(const Aws::String &value)
void SetInputFormat(const InputFormat &value)
ImportTableRequest & WithInputCompressionType(InputCompressionType &&value)
ImportTableRequest & WithS3BucketSource(const S3BucketSource &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String