AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
KnowledgeBaseIngestionSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/KbIngestionStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API KnowledgeBaseIngestionSummary() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetIngestionId() const { return m_ingestionId; }
42 inline bool IngestionIdHasBeenSet() const { return m_ingestionIdHasBeenSet; }
43 template <typename IngestionIdT = Aws::String>
44 void SetIngestionId(IngestionIdT&& value) {
45 m_ingestionIdHasBeenSet = true;
46 m_ingestionId = std::forward<IngestionIdT>(value);
47 }
48 template <typename IngestionIdT = Aws::String>
50 SetIngestionId(std::forward<IngestionIdT>(value));
51 return *this;
52 }
54
56
59 inline KbIngestionStatus GetIngestionStatus() const { return m_ingestionStatus; }
60 inline bool IngestionStatusHasBeenSet() const { return m_ingestionStatusHasBeenSet; }
62 m_ingestionStatusHasBeenSet = true;
63 m_ingestionStatus = value;
64 }
66 SetIngestionStatus(value);
67 return *this;
68 }
70
72
75 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
76 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
77 template <typename StartTimeT = Aws::Utils::DateTime>
78 void SetStartTime(StartTimeT&& value) {
79 m_startTimeHasBeenSet = true;
80 m_startTime = std::forward<StartTimeT>(value);
81 }
82 template <typename StartTimeT = Aws::Utils::DateTime>
84 SetStartTime(std::forward<StartTimeT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
94 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
95 template <typename EndTimeT = Aws::Utils::DateTime>
96 void SetEndTime(EndTimeT&& value) {
97 m_endTimeHasBeenSet = true;
98 m_endTime = std::forward<EndTimeT>(value);
99 }
100 template <typename EndTimeT = Aws::Utils::DateTime>
102 SetEndTime(std::forward<EndTimeT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_ingestionId;
108
110
111 Aws::Utils::DateTime m_startTime{};
112
113 Aws::Utils::DateTime m_endTime{};
114 bool m_ingestionIdHasBeenSet = false;
115 bool m_ingestionStatusHasBeenSet = false;
116 bool m_startTimeHasBeenSet = false;
117 bool m_endTimeHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace QuickSight
122} // namespace Aws
AWS_QUICKSIGHT_API KnowledgeBaseIngestionSummary()=default
KnowledgeBaseIngestionSummary & WithIngestionId(IngestionIdT &&value)
KnowledgeBaseIngestionSummary & WithEndTime(EndTimeT &&value)
AWS_QUICKSIGHT_API KnowledgeBaseIngestionSummary(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseIngestionSummary & WithIngestionStatus(KbIngestionStatus value)
AWS_QUICKSIGHT_API KnowledgeBaseIngestionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseIngestionSummary & WithStartTime(StartTimeT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue