AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CatalogImportStatus.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API CatalogImportStatus() = default;
40
41
43
47 inline bool GetImportCompleted() const { return m_importCompleted; }
48 inline bool ImportCompletedHasBeenSet() const { return m_importCompletedHasBeenSet; }
49 inline void SetImportCompleted(bool value) { m_importCompletedHasBeenSet = true; m_importCompleted = value; }
50 inline CatalogImportStatus& WithImportCompleted(bool value) { SetImportCompleted(value); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetImportTime() const { return m_importTime; }
58 inline bool ImportTimeHasBeenSet() const { return m_importTimeHasBeenSet; }
59 template<typename ImportTimeT = Aws::Utils::DateTime>
60 void SetImportTime(ImportTimeT&& value) { m_importTimeHasBeenSet = true; m_importTime = std::forward<ImportTimeT>(value); }
61 template<typename ImportTimeT = Aws::Utils::DateTime>
62 CatalogImportStatus& WithImportTime(ImportTimeT&& value) { SetImportTime(std::forward<ImportTimeT>(value)); return *this;}
64
66
69 inline const Aws::String& GetImportedBy() const { return m_importedBy; }
70 inline bool ImportedByHasBeenSet() const { return m_importedByHasBeenSet; }
71 template<typename ImportedByT = Aws::String>
72 void SetImportedBy(ImportedByT&& value) { m_importedByHasBeenSet = true; m_importedBy = std::forward<ImportedByT>(value); }
73 template<typename ImportedByT = Aws::String>
74 CatalogImportStatus& WithImportedBy(ImportedByT&& value) { SetImportedBy(std::forward<ImportedByT>(value)); return *this;}
76 private:
77
78 bool m_importCompleted{false};
79 bool m_importCompletedHasBeenSet = false;
80
81 Aws::Utils::DateTime m_importTime{};
82 bool m_importTimeHasBeenSet = false;
83
84 Aws::String m_importedBy;
85 bool m_importedByHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Glue
90} // namespace Aws
AWS_GLUE_API CatalogImportStatus()=default
const Aws::String & GetImportedBy() const
CatalogImportStatus & WithImportedBy(ImportedByT &&value)
const Aws::Utils::DateTime & GetImportTime() const
AWS_GLUE_API CatalogImportStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API CatalogImportStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
CatalogImportStatus & WithImportTime(ImportTimeT &&value)
CatalogImportStatus & WithImportCompleted(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue