AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
37
38
40
43 inline const Aws::Vector<DatasetEntry>& GetEntries() const { return m_entries; }
44 template<typename EntriesT = Aws::Vector<DatasetEntry>>
45 void SetEntries(EntriesT&& value) { m_entriesHasBeenSet = true; m_entries = std::forward<EntriesT>(value); }
46 template<typename EntriesT = Aws::Vector<DatasetEntry>>
47 GetDatasetContentResult& WithEntries(EntriesT&& value) { SetEntries(std::forward<EntriesT>(value)); return *this;}
48 template<typename EntriesT = DatasetEntry>
49 GetDatasetContentResult& AddEntries(EntriesT&& value) { m_entriesHasBeenSet = true; m_entries.emplace_back(std::forward<EntriesT>(value)); return *this; }
51
53
56 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
57 template<typename TimestampT = Aws::Utils::DateTime>
58 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
59 template<typename TimestampT = Aws::Utils::DateTime>
60 GetDatasetContentResult& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
62
64
67 inline const DatasetContentStatus& GetStatus() const { return m_status; }
68 template<typename StatusT = DatasetContentStatus>
69 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
70 template<typename StatusT = DatasetContentStatus>
71 GetDatasetContentResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template<typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
79 template<typename RequestIdT = Aws::String>
80 GetDatasetContentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
82 private:
83
85 bool m_entriesHasBeenSet = false;
86
87 Aws::Utils::DateTime m_timestamp{};
88 bool m_timestampHasBeenSet = false;
89
90 DatasetContentStatus m_status;
91 bool m_statusHasBeenSet = false;
92
93 Aws::String m_requestId;
94 bool m_requestIdHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace IoTAnalytics
99} // namespace Aws
AWS_IOTANALYTICS_API GetDatasetContentResult()=default
GetDatasetContentResult & WithTimestamp(TimestampT &&value)
GetDatasetContentResult & WithEntries(EntriesT &&value)
GetDatasetContentResult & WithStatus(StatusT &&value)
AWS_IOTANALYTICS_API GetDatasetContentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< DatasetEntry > & GetEntries() const
GetDatasetContentResult & WithRequestId(RequestIdT &&value)
GetDatasetContentResult & AddEntries(EntriesT &&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