AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ExportSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dynamodb/DynamoDB_EXPORTS.h>
9#include <aws/dynamodb/model/ExportStatus.h>
10#include <aws/dynamodb/model/ExportType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DynamoDB {
22namespace Model {
23
30 public:
31 AWS_DYNAMODB_API ExportSummary() = default;
32 AWS_DYNAMODB_API ExportSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetExportArn() const { return m_exportArn; }
41 inline bool ExportArnHasBeenSet() const { return m_exportArnHasBeenSet; }
42 template <typename ExportArnT = Aws::String>
43 void SetExportArn(ExportArnT&& value) {
44 m_exportArnHasBeenSet = true;
45 m_exportArn = std::forward<ExportArnT>(value);
46 }
47 template <typename ExportArnT = Aws::String>
48 ExportSummary& WithExportArn(ExportArnT&& value) {
49 SetExportArn(std::forward<ExportArnT>(value));
50 return *this;
51 }
53
55
59 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
60 inline bool ExportStatusHasBeenSet() const { return m_exportStatusHasBeenSet; }
61 inline void SetExportStatus(ExportStatus value) {
62 m_exportStatusHasBeenSet = true;
63 m_exportStatus = value;
64 }
66 SetExportStatus(value);
67 return *this;
68 }
70
72
76 inline ExportType GetExportType() const { return m_exportType; }
77 inline bool ExportTypeHasBeenSet() const { return m_exportTypeHasBeenSet; }
78 inline void SetExportType(ExportType value) {
79 m_exportTypeHasBeenSet = true;
80 m_exportType = value;
81 }
83 SetExportType(value);
84 return *this;
85 }
87 private:
88 Aws::String m_exportArn;
89
90 ExportStatus m_exportStatus{ExportStatus::NOT_SET};
91
92 ExportType m_exportType{ExportType::NOT_SET};
93 bool m_exportArnHasBeenSet = false;
94 bool m_exportStatusHasBeenSet = false;
95 bool m_exportTypeHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DynamoDB
100} // namespace Aws
void SetExportStatus(ExportStatus value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API ExportSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API ExportSummary()=default
ExportSummary & WithExportStatus(ExportStatus value)
const Aws::String & GetExportArn() const
void SetExportArn(ExportArnT &&value)
ExportStatus GetExportStatus() const
ExportSummary & WithExportArn(ExportArnT &&value)
AWS_DYNAMODB_API ExportSummary(Aws::Utils::Json::JsonView jsonValue)
ExportSummary & WithExportType(ExportType value)
void SetExportType(ExportType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue