AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDatastoreResult.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/model/Datastore.h>
9#include <aws/iotanalytics/model/DatastoreStatistics.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTAnalytics
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTANALYTICS_API DescribeDatastoreResult();
35
36
38
41 inline const Datastore& GetDatastore() const{ return m_datastore; }
42 inline void SetDatastore(const Datastore& value) { m_datastore = value; }
43 inline void SetDatastore(Datastore&& value) { m_datastore = std::move(value); }
44 inline DescribeDatastoreResult& WithDatastore(const Datastore& value) { SetDatastore(value); return *this;}
45 inline DescribeDatastoreResult& WithDatastore(Datastore&& value) { SetDatastore(std::move(value)); return *this;}
47
49
54 inline const DatastoreStatistics& GetStatistics() const{ return m_statistics; }
55 inline void SetStatistics(const DatastoreStatistics& value) { m_statistics = value; }
56 inline void SetStatistics(DatastoreStatistics&& value) { m_statistics = std::move(value); }
57 inline DescribeDatastoreResult& WithStatistics(const DatastoreStatistics& value) { SetStatistics(value); return *this;}
58 inline DescribeDatastoreResult& WithStatistics(DatastoreStatistics&& value) { SetStatistics(std::move(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline DescribeDatastoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline DescribeDatastoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline DescribeDatastoreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Datastore m_datastore;
74
75 DatastoreStatistics m_statistics;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace IoTAnalytics
82} // namespace Aws
DescribeDatastoreResult & WithStatistics(const DatastoreStatistics &value)
DescribeDatastoreResult & WithDatastore(const Datastore &value)
DescribeDatastoreResult & WithRequestId(Aws::String &&value)
DescribeDatastoreResult & WithStatistics(DatastoreStatistics &&value)
DescribeDatastoreResult & WithRequestId(const Aws::String &value)
void SetStatistics(const DatastoreStatistics &value)
DescribeDatastoreResult & WithRequestId(const char *value)
AWS_IOTANALYTICS_API DescribeDatastoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDatastoreResult & WithDatastore(Datastore &&value)
AWS_IOTANALYTICS_API DescribeDatastoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue