AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchLoadTask.h
1
6#pragma once
7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-write/model/BatchLoadStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace TimestreamWrite
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_TIMESTREAMWRITE_API BatchLoadTask() = default;
37 AWS_TIMESTREAMWRITE_API BatchLoadTask(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TIMESTREAMWRITE_API BatchLoadTask& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetTaskId() const { return m_taskId; }
47 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
48 template<typename TaskIdT = Aws::String>
49 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet = true; m_taskId = std::forward<TaskIdT>(value); }
50 template<typename TaskIdT = Aws::String>
51 BatchLoadTask& WithTaskId(TaskIdT&& value) { SetTaskId(std::forward<TaskIdT>(value)); return *this;}
53
55
58 inline BatchLoadStatus GetTaskStatus() const { return m_taskStatus; }
59 inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; }
60 inline void SetTaskStatus(BatchLoadStatus value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; }
61 inline BatchLoadTask& WithTaskStatus(BatchLoadStatus value) { SetTaskStatus(value); return *this;}
63
65
68 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
69 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
70 template<typename DatabaseNameT = Aws::String>
71 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
72 template<typename DatabaseNameT = Aws::String>
73 BatchLoadTask& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
75
77
80 inline const Aws::String& GetTableName() const { return m_tableName; }
81 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
82 template<typename TableNameT = Aws::String>
83 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
84 template<typename TableNameT = Aws::String>
85 BatchLoadTask& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
93 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
94 template<typename CreationTimeT = Aws::Utils::DateTime>
95 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
96 template<typename CreationTimeT = Aws::Utils::DateTime>
97 BatchLoadTask& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
105 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
106 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
107 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
108 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
109 BatchLoadTask& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetResumableUntil() const { return m_resumableUntil; }
117 inline bool ResumableUntilHasBeenSet() const { return m_resumableUntilHasBeenSet; }
118 template<typename ResumableUntilT = Aws::Utils::DateTime>
119 void SetResumableUntil(ResumableUntilT&& value) { m_resumableUntilHasBeenSet = true; m_resumableUntil = std::forward<ResumableUntilT>(value); }
120 template<typename ResumableUntilT = Aws::Utils::DateTime>
121 BatchLoadTask& WithResumableUntil(ResumableUntilT&& value) { SetResumableUntil(std::forward<ResumableUntilT>(value)); return *this;}
123 private:
124
125 Aws::String m_taskId;
126 bool m_taskIdHasBeenSet = false;
127
129 bool m_taskStatusHasBeenSet = false;
130
131 Aws::String m_databaseName;
132 bool m_databaseNameHasBeenSet = false;
133
134 Aws::String m_tableName;
135 bool m_tableNameHasBeenSet = false;
136
137 Aws::Utils::DateTime m_creationTime{};
138 bool m_creationTimeHasBeenSet = false;
139
140 Aws::Utils::DateTime m_lastUpdatedTime{};
141 bool m_lastUpdatedTimeHasBeenSet = false;
142
143 Aws::Utils::DateTime m_resumableUntil{};
144 bool m_resumableUntilHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace TimestreamWrite
149} // namespace Aws
BatchLoadTask & WithTaskId(TaskIdT &&value)
BatchLoadTask & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetDatabaseName(DatabaseNameT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::String & GetDatabaseName() const
void SetResumableUntil(ResumableUntilT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetTableName() const
const Aws::Utils::DateTime & GetResumableUntil() const
BatchLoadTask & WithResumableUntil(ResumableUntilT &&value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
BatchLoadTask & WithDatabaseName(DatabaseNameT &&value)
BatchLoadTask & WithTaskStatus(BatchLoadStatus value)
void SetCreationTime(CreationTimeT &&value)
void SetTaskStatus(BatchLoadStatus value)
BatchLoadTask & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetTaskId() const
AWS_TIMESTREAMWRITE_API BatchLoadTask & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMWRITE_API BatchLoadTask()=default
BatchLoadTask & WithTableName(TableNameT &&value)
AWS_TIMESTREAMWRITE_API BatchLoadTask(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue