AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDatasetContentResult.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iotanalytics/model/DatasetContentStatus.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/iotanalytics/model/DatasetEntry.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace IoTAnalytics
28{
29namespace Model
30{
32 {
33 public:
34 AWS_IOTANALYTICS_API GetDatasetContentResult();
37
38
40
43 inline const Aws::Vector<DatasetEntry>& GetEntries() const{ return m_entries; }
44 inline void SetEntries(const Aws::Vector<DatasetEntry>& value) { m_entries = value; }
45 inline void SetEntries(Aws::Vector<DatasetEntry>&& value) { m_entries = std::move(value); }
46 inline GetDatasetContentResult& WithEntries(const Aws::Vector<DatasetEntry>& value) { SetEntries(value); return *this;}
47 inline GetDatasetContentResult& WithEntries(Aws::Vector<DatasetEntry>&& value) { SetEntries(std::move(value)); return *this;}
48 inline GetDatasetContentResult& AddEntries(const DatasetEntry& value) { m_entries.push_back(value); return *this; }
49 inline GetDatasetContentResult& AddEntries(DatasetEntry&& value) { m_entries.push_back(std::move(value)); return *this; }
51
53
56 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
57 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestamp = value; }
58 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestamp = std::move(value); }
59 inline GetDatasetContentResult& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
60 inline GetDatasetContentResult& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
62
64
67 inline const DatasetContentStatus& GetStatus() const{ return m_status; }
68 inline void SetStatus(const DatasetContentStatus& value) { m_status = value; }
69 inline void SetStatus(DatasetContentStatus&& value) { m_status = std::move(value); }
70 inline GetDatasetContentResult& WithStatus(const DatasetContentStatus& value) { SetStatus(value); return *this;}
71 inline GetDatasetContentResult& WithStatus(DatasetContentStatus&& value) { SetStatus(std::move(value)); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline GetDatasetContentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline GetDatasetContentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline GetDatasetContentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
87
88 Aws::Utils::DateTime m_timestamp;
89
90 DatasetContentStatus m_status;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace IoTAnalytics
97} // namespace Aws
GetDatasetContentResult & WithEntries(const Aws::Vector< DatasetEntry > &value)
GetDatasetContentResult & WithRequestId(const Aws::String &value)
void SetStatus(const DatasetContentStatus &value)
GetDatasetContentResult & WithRequestId(const char *value)
void SetEntries(Aws::Vector< DatasetEntry > &&value)
void SetEntries(const Aws::Vector< DatasetEntry > &value)
GetDatasetContentResult & AddEntries(DatasetEntry &&value)
GetDatasetContentResult & AddEntries(const DatasetEntry &value)
GetDatasetContentResult & WithStatus(const DatasetContentStatus &value)
AWS_IOTANALYTICS_API GetDatasetContentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDatasetContentResult & WithEntries(Aws::Vector< DatasetEntry > &&value)
const Aws::Vector< DatasetEntry > & GetEntries() const
void SetTimestamp(const Aws::Utils::DateTime &value)
GetDatasetContentResult & WithTimestamp(Aws::Utils::DateTime &&value)
GetDatasetContentResult & WithTimestamp(const Aws::Utils::DateTime &value)
GetDatasetContentResult & WithRequestId(Aws::String &&value)
GetDatasetContentResult & WithStatus(DatasetContentStatus &&value)
AWS_IOTANALYTICS_API GetDatasetContentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue