AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDatastoreResult.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/RetentionPeriod.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTAnalytics
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTANALYTICS_API CreateDatastoreResult();
34
35
37
40 inline const Aws::String& GetDatastoreName() const{ return m_datastoreName; }
41 inline void SetDatastoreName(const Aws::String& value) { m_datastoreName = value; }
42 inline void SetDatastoreName(Aws::String&& value) { m_datastoreName = std::move(value); }
43 inline void SetDatastoreName(const char* value) { m_datastoreName.assign(value); }
44 inline CreateDatastoreResult& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;}
45 inline CreateDatastoreResult& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;}
46 inline CreateDatastoreResult& WithDatastoreName(const char* value) { SetDatastoreName(value); return *this;}
48
50
53 inline const Aws::String& GetDatastoreArn() const{ return m_datastoreArn; }
54 inline void SetDatastoreArn(const Aws::String& value) { m_datastoreArn = value; }
55 inline void SetDatastoreArn(Aws::String&& value) { m_datastoreArn = std::move(value); }
56 inline void SetDatastoreArn(const char* value) { m_datastoreArn.assign(value); }
57 inline CreateDatastoreResult& WithDatastoreArn(const Aws::String& value) { SetDatastoreArn(value); return *this;}
58 inline CreateDatastoreResult& WithDatastoreArn(Aws::String&& value) { SetDatastoreArn(std::move(value)); return *this;}
59 inline CreateDatastoreResult& WithDatastoreArn(const char* value) { SetDatastoreArn(value); return *this;}
61
63
66 inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
67 inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriod = value; }
68 inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriod = std::move(value); }
69 inline CreateDatastoreResult& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
70 inline CreateDatastoreResult& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline CreateDatastoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline CreateDatastoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline CreateDatastoreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_datastoreName;
86
87 Aws::String m_datastoreArn;
88
89 RetentionPeriod m_retentionPeriod;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace IoTAnalytics
96} // namespace Aws
CreateDatastoreResult & WithDatastoreArn(const Aws::String &value)
CreateDatastoreResult & WithDatastoreArn(Aws::String &&value)
CreateDatastoreResult & WithRequestId(Aws::String &&value)
AWS_IOTANALYTICS_API CreateDatastoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDatastoreResult & WithRetentionPeriod(const RetentionPeriod &value)
CreateDatastoreResult & WithDatastoreName(Aws::String &&value)
CreateDatastoreResult & WithRetentionPeriod(RetentionPeriod &&value)
CreateDatastoreResult & WithRequestId(const Aws::String &value)
CreateDatastoreResult & WithRequestId(const char *value)
void SetRetentionPeriod(const RetentionPeriod &value)
CreateDatastoreResult & WithDatastoreName(const char *value)
CreateDatastoreResult & WithDatastoreName(const Aws::String &value)
AWS_IOTANALYTICS_API CreateDatastoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDatastoreResult & WithDatastoreArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue