AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportSummary.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodb/model/ImportStatus.h>
10#include <aws/dynamodb/model/S3BucketSource.h>
11#include <aws/dynamodb/model/InputFormat.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DynamoDB
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_DYNAMODB_API ImportSummary();
40 AWS_DYNAMODB_API ImportSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetImportArn() const{ return m_importArn; }
50 inline bool ImportArnHasBeenSet() const { return m_importArnHasBeenSet; }
51 inline void SetImportArn(const Aws::String& value) { m_importArnHasBeenSet = true; m_importArn = value; }
52 inline void SetImportArn(Aws::String&& value) { m_importArnHasBeenSet = true; m_importArn = std::move(value); }
53 inline void SetImportArn(const char* value) { m_importArnHasBeenSet = true; m_importArn.assign(value); }
54 inline ImportSummary& WithImportArn(const Aws::String& value) { SetImportArn(value); return *this;}
55 inline ImportSummary& WithImportArn(Aws::String&& value) { SetImportArn(std::move(value)); return *this;}
56 inline ImportSummary& WithImportArn(const char* value) { SetImportArn(value); return *this;}
58
60
63 inline const ImportStatus& GetImportStatus() const{ return m_importStatus; }
64 inline bool ImportStatusHasBeenSet() const { return m_importStatusHasBeenSet; }
65 inline void SetImportStatus(const ImportStatus& value) { m_importStatusHasBeenSet = true; m_importStatus = value; }
66 inline void SetImportStatus(ImportStatus&& value) { m_importStatusHasBeenSet = true; m_importStatus = std::move(value); }
67 inline ImportSummary& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;}
68 inline ImportSummary& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetTableArn() const{ return m_tableArn; }
76 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
77 inline void SetTableArn(const Aws::String& value) { m_tableArnHasBeenSet = true; m_tableArn = value; }
78 inline void SetTableArn(Aws::String&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::move(value); }
79 inline void SetTableArn(const char* value) { m_tableArnHasBeenSet = true; m_tableArn.assign(value); }
80 inline ImportSummary& WithTableArn(const Aws::String& value) { SetTableArn(value); return *this;}
81 inline ImportSummary& WithTableArn(Aws::String&& value) { SetTableArn(std::move(value)); return *this;}
82 inline ImportSummary& WithTableArn(const char* value) { SetTableArn(value); return *this;}
84
86
91 inline const S3BucketSource& GetS3BucketSource() const{ return m_s3BucketSource; }
92 inline bool S3BucketSourceHasBeenSet() const { return m_s3BucketSourceHasBeenSet; }
93 inline void SetS3BucketSource(const S3BucketSource& value) { m_s3BucketSourceHasBeenSet = true; m_s3BucketSource = value; }
94 inline void SetS3BucketSource(S3BucketSource&& value) { m_s3BucketSourceHasBeenSet = true; m_s3BucketSource = std::move(value); }
95 inline ImportSummary& WithS3BucketSource(const S3BucketSource& value) { SetS3BucketSource(value); return *this;}
96 inline ImportSummary& WithS3BucketSource(S3BucketSource&& value) { SetS3BucketSource(std::move(value)); return *this;}
98
100
104 inline const Aws::String& GetCloudWatchLogGroupArn() const{ return m_cloudWatchLogGroupArn; }
105 inline bool CloudWatchLogGroupArnHasBeenSet() const { return m_cloudWatchLogGroupArnHasBeenSet; }
106 inline void SetCloudWatchLogGroupArn(const Aws::String& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = value; }
107 inline void SetCloudWatchLogGroupArn(Aws::String&& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = std::move(value); }
108 inline void SetCloudWatchLogGroupArn(const char* value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn.assign(value); }
110 inline ImportSummary& WithCloudWatchLogGroupArn(Aws::String&& value) { SetCloudWatchLogGroupArn(std::move(value)); return *this;}
111 inline ImportSummary& WithCloudWatchLogGroupArn(const char* value) { SetCloudWatchLogGroupArn(value); return *this;}
113
115
119 inline const InputFormat& GetInputFormat() const{ return m_inputFormat; }
120 inline bool InputFormatHasBeenSet() const { return m_inputFormatHasBeenSet; }
121 inline void SetInputFormat(const InputFormat& value) { m_inputFormatHasBeenSet = true; m_inputFormat = value; }
122 inline void SetInputFormat(InputFormat&& value) { m_inputFormatHasBeenSet = true; m_inputFormat = std::move(value); }
123 inline ImportSummary& WithInputFormat(const InputFormat& value) { SetInputFormat(value); return *this;}
124 inline ImportSummary& WithInputFormat(InputFormat&& value) { SetInputFormat(std::move(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
132 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
133 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
134 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
135 inline ImportSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
136 inline ImportSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
138
140
144 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
145 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
146 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
147 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
148 inline ImportSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
149 inline ImportSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
151 private:
152
153 Aws::String m_importArn;
154 bool m_importArnHasBeenSet = false;
155
156 ImportStatus m_importStatus;
157 bool m_importStatusHasBeenSet = false;
158
159 Aws::String m_tableArn;
160 bool m_tableArnHasBeenSet = false;
161
162 S3BucketSource m_s3BucketSource;
163 bool m_s3BucketSourceHasBeenSet = false;
164
165 Aws::String m_cloudWatchLogGroupArn;
166 bool m_cloudWatchLogGroupArnHasBeenSet = false;
167
168 InputFormat m_inputFormat;
169 bool m_inputFormatHasBeenSet = false;
170
171 Aws::Utils::DateTime m_startTime;
172 bool m_startTimeHasBeenSet = false;
173
174 Aws::Utils::DateTime m_endTime;
175 bool m_endTimeHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace DynamoDB
180} // namespace Aws
void SetCloudWatchLogGroupArn(const char *value)
ImportSummary & WithImportStatus(ImportStatus &&value)
void SetS3BucketSource(S3BucketSource &&value)
ImportSummary & WithCloudWatchLogGroupArn(const char *value)
void SetTableArn(const Aws::String &value)
AWS_DYNAMODB_API ImportSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API ImportSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportSummary & WithStartTime(const Aws::Utils::DateTime &value)
void SetInputFormat(InputFormat &&value)
void SetS3BucketSource(const S3BucketSource &value)
ImportSummary & WithInputFormat(const InputFormat &value)
void SetImportArn(Aws::String &&value)
const InputFormat & GetInputFormat() const
void SetImportStatus(const ImportStatus &value)
ImportSummary & WithEndTime(const Aws::Utils::DateTime &value)
ImportSummary & WithCloudWatchLogGroupArn(const Aws::String &value)
const Aws::Utils::DateTime & GetEndTime() const
ImportSummary & WithImportArn(Aws::String &&value)
const Aws::String & GetTableArn() const
void SetTableArn(Aws::String &&value)
void SetCloudWatchLogGroupArn(const Aws::String &value)
void SetImportArn(const char *value)
ImportSummary & WithImportArn(const char *value)
void SetImportArn(const Aws::String &value)
void SetInputFormat(const InputFormat &value)
ImportSummary & WithS3BucketSource(const S3BucketSource &value)
const S3BucketSource & GetS3BucketSource() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
ImportSummary & WithStartTime(Aws::Utils::DateTime &&value)
ImportSummary & WithS3BucketSource(S3BucketSource &&value)
ImportSummary & WithImportArn(const Aws::String &value)
ImportSummary & WithInputFormat(InputFormat &&value)
ImportSummary & WithTableArn(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
const Aws::String & GetCloudWatchLogGroupArn() const
ImportSummary & WithCloudWatchLogGroupArn(Aws::String &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartTime() const
void SetTableArn(const char *value)
ImportSummary & WithTableArn(const char *value)
void SetCloudWatchLogGroupArn(Aws::String &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
ImportSummary & WithEndTime(Aws::Utils::DateTime &&value)
ImportSummary & WithTableArn(const Aws::String &value)
const Aws::String & GetImportArn() const
const ImportStatus & GetImportStatus() const
void SetImportStatus(ImportStatus &&value)
ImportSummary & WithImportStatus(const ImportStatus &value)
void SetEndTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue