AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
49 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
50 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
51 inline BatchLoadTask& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
52 inline BatchLoadTask& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
53 inline BatchLoadTask& WithTaskId(const char* value) { SetTaskId(value); return *this;}
55
57
60 inline const BatchLoadStatus& GetTaskStatus() const{ return m_taskStatus; }
61 inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; }
62 inline void SetTaskStatus(const BatchLoadStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; }
63 inline void SetTaskStatus(BatchLoadStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); }
64 inline BatchLoadTask& WithTaskStatus(const BatchLoadStatus& value) { SetTaskStatus(value); return *this;}
65 inline BatchLoadTask& WithTaskStatus(BatchLoadStatus&& value) { SetTaskStatus(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
73 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
74 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
75 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
76 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
77 inline BatchLoadTask& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
78 inline BatchLoadTask& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
79 inline BatchLoadTask& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
81
83
86 inline const Aws::String& GetTableName() const{ return m_tableName; }
87 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
88 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
89 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
90 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
91 inline BatchLoadTask& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
92 inline BatchLoadTask& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
93 inline BatchLoadTask& WithTableName(const char* value) { SetTableName(value); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
101 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
102 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
103 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
104 inline BatchLoadTask& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
105 inline BatchLoadTask& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
113 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
114 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
115 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
116 inline BatchLoadTask& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
117 inline BatchLoadTask& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetResumableUntil() const{ return m_resumableUntil; }
125 inline bool ResumableUntilHasBeenSet() const { return m_resumableUntilHasBeenSet; }
126 inline void SetResumableUntil(const Aws::Utils::DateTime& value) { m_resumableUntilHasBeenSet = true; m_resumableUntil = value; }
127 inline void SetResumableUntil(Aws::Utils::DateTime&& value) { m_resumableUntilHasBeenSet = true; m_resumableUntil = std::move(value); }
128 inline BatchLoadTask& WithResumableUntil(const Aws::Utils::DateTime& value) { SetResumableUntil(value); return *this;}
129 inline BatchLoadTask& WithResumableUntil(Aws::Utils::DateTime&& value) { SetResumableUntil(std::move(value)); return *this;}
131 private:
132
133 Aws::String m_taskId;
134 bool m_taskIdHasBeenSet = false;
135
136 BatchLoadStatus m_taskStatus;
137 bool m_taskStatusHasBeenSet = false;
138
139 Aws::String m_databaseName;
140 bool m_databaseNameHasBeenSet = false;
141
142 Aws::String m_tableName;
143 bool m_tableNameHasBeenSet = false;
144
145 Aws::Utils::DateTime m_creationTime;
146 bool m_creationTimeHasBeenSet = false;
147
148 Aws::Utils::DateTime m_lastUpdatedTime;
149 bool m_lastUpdatedTimeHasBeenSet = false;
150
151 Aws::Utils::DateTime m_resumableUntil;
152 bool m_resumableUntilHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace TimestreamWrite
157} // namespace Aws
void SetResumableUntil(const Aws::Utils::DateTime &value)
BatchLoadTask & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
BatchLoadTask & WithTaskStatus(BatchLoadStatus &&value)
BatchLoadTask & WithDatabaseName(const Aws::String &value)
BatchLoadTask & WithTaskId(Aws::String &&value)
void SetTaskStatus(const BatchLoadStatus &value)
void SetTaskId(const Aws::String &value)
const Aws::String & GetDatabaseName() const
BatchLoadTask & WithTaskId(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetResumableUntil(Aws::Utils::DateTime &&value)
BatchLoadTask & WithTableName(const char *value)
BatchLoadTask & WithTaskId(const Aws::String &value)
BatchLoadTask & WithResumableUntil(const Aws::Utils::DateTime &value)
const Aws::String & GetTableName() const
const Aws::Utils::DateTime & GetResumableUntil() const
BatchLoadTask & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchLoadTask & WithCreationTime(Aws::Utils::DateTime &&value)
void SetTaskStatus(BatchLoadStatus &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
BatchLoadTask & WithResumableUntil(Aws::Utils::DateTime &&value)
BatchLoadTask & WithDatabaseName(const char *value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
BatchLoadTask & WithDatabaseName(Aws::String &&value)
void SetTableName(const Aws::String &value)
AWS_TIMESTREAMWRITE_API BatchLoadTask()
BatchLoadTask & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
BatchLoadTask & WithTableName(const Aws::String &value)
BatchLoadTask & WithTableName(Aws::String &&value)
void SetDatabaseName(const Aws::String &value)
void SetDatabaseName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetTaskId() const
AWS_TIMESTREAMWRITE_API BatchLoadTask & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchLoadTask & WithTaskStatus(const BatchLoadStatus &value)
const BatchLoadStatus & GetTaskStatus() const
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