AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetContentSummary.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotanalytics/model/DatasetContentStatus.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 IoTAnalytics
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTANALYTICS_API DatasetContentSummary();
37 AWS_IOTANALYTICS_API DatasetContentSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetVersion() const{ return m_version; }
47 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
48 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
49 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
50 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
51 inline DatasetContentSummary& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
52 inline DatasetContentSummary& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
53 inline DatasetContentSummary& WithVersion(const char* value) { SetVersion(value); return *this;}
55
57
60 inline const DatasetContentStatus& GetStatus() const{ return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(const DatasetContentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
63 inline void SetStatus(DatasetContentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 inline DatasetContentSummary& WithStatus(const DatasetContentStatus& value) { SetStatus(value); return *this;}
65 inline DatasetContentSummary& WithStatus(DatasetContentStatus&& value) { SetStatus(std::move(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
73 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
74 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
75 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
76 inline DatasetContentSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
77 inline DatasetContentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetScheduleTime() const{ return m_scheduleTime; }
85 inline bool ScheduleTimeHasBeenSet() const { return m_scheduleTimeHasBeenSet; }
86 inline void SetScheduleTime(const Aws::Utils::DateTime& value) { m_scheduleTimeHasBeenSet = true; m_scheduleTime = value; }
87 inline void SetScheduleTime(Aws::Utils::DateTime&& value) { m_scheduleTimeHasBeenSet = true; m_scheduleTime = std::move(value); }
88 inline DatasetContentSummary& WithScheduleTime(const Aws::Utils::DateTime& value) { SetScheduleTime(value); return *this;}
89 inline DatasetContentSummary& WithScheduleTime(Aws::Utils::DateTime&& value) { SetScheduleTime(std::move(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
97 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
98 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
99 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
101 inline DatasetContentSummary& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
103 private:
104
105 Aws::String m_version;
106 bool m_versionHasBeenSet = false;
107
108 DatasetContentStatus m_status;
109 bool m_statusHasBeenSet = false;
110
111 Aws::Utils::DateTime m_creationTime;
112 bool m_creationTimeHasBeenSet = false;
113
114 Aws::Utils::DateTime m_scheduleTime;
115 bool m_scheduleTimeHasBeenSet = false;
116
117 Aws::Utils::DateTime m_completionTime;
118 bool m_completionTimeHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace IoTAnalytics
123} // namespace Aws
DatasetContentSummary & WithStatus(const DatasetContentStatus &value)
void SetScheduleTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetScheduleTime() const
void SetCreationTime(Aws::Utils::DateTime &&value)
DatasetContentSummary & WithVersion(const char *value)
DatasetContentSummary & WithCompletionTime(const Aws::Utils::DateTime &value)
DatasetContentSummary & WithVersion(const Aws::String &value)
AWS_IOTANALYTICS_API DatasetContentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API DatasetContentSummary(Aws::Utils::Json::JsonView jsonValue)
DatasetContentSummary & WithScheduleTime(Aws::Utils::DateTime &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetContentSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetCompletionTime(const Aws::Utils::DateTime &value)
const DatasetContentStatus & GetStatus() const
DatasetContentSummary & WithStatus(DatasetContentStatus &&value)
DatasetContentSummary & WithCompletionTime(Aws::Utils::DateTime &&value)
void SetStatus(const DatasetContentStatus &value)
const Aws::Utils::DateTime & GetCreationTime() const
DatasetContentSummary & WithScheduleTime(const Aws::Utils::DateTime &value)
void SetScheduleTime(Aws::Utils::DateTime &&value)
DatasetContentSummary & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCompletionTime() const
DatasetContentSummary & WithVersion(Aws::String &&value)
void SetCompletionTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue