AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutRecordResult.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Firehose
24{
25namespace Model
26{
28 {
29 public:
30 AWS_FIREHOSE_API PutRecordResult();
33
34
36
39 inline const Aws::String& GetRecordId() const{ return m_recordId; }
40 inline void SetRecordId(const Aws::String& value) { m_recordId = value; }
41 inline void SetRecordId(Aws::String&& value) { m_recordId = std::move(value); }
42 inline void SetRecordId(const char* value) { m_recordId.assign(value); }
43 inline PutRecordResult& WithRecordId(const Aws::String& value) { SetRecordId(value); return *this;}
44 inline PutRecordResult& WithRecordId(Aws::String&& value) { SetRecordId(std::move(value)); return *this;}
45 inline PutRecordResult& WithRecordId(const char* value) { SetRecordId(value); return *this;}
47
49
53 inline bool GetEncrypted() const{ return m_encrypted; }
54 inline void SetEncrypted(bool value) { m_encrypted = value; }
55 inline PutRecordResult& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
62 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
63 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
64 inline PutRecordResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline PutRecordResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline PutRecordResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68 private:
69
70 Aws::String m_recordId;
71
72 bool m_encrypted;
73
74 Aws::String m_requestId;
75 };
76
77} // namespace Model
78} // namespace Firehose
79} // namespace Aws
const Aws::String & GetRecordId() const
PutRecordResult & WithRecordId(const char *value)
PutRecordResult & WithRecordId(Aws::String &&value)
PutRecordResult & WithRequestId(Aws::String &&value)
PutRecordResult & WithRequestId(const char *value)
AWS_FIREHOSE_API PutRecordResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutRecordResult & WithRecordId(const Aws::String &value)
PutRecordResult & WithEncrypted(bool value)
void SetRecordId(Aws::String &&value)
void SetRequestId(Aws::String &&value)
PutRecordResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetRequestId(const Aws::String &value)
void SetRecordId(const Aws::String &value)
AWS_FIREHOSE_API PutRecordResult(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