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/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesis/model/EncryptionType.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 Kinesis
25{
26namespace Model
27{
35 {
36 public:
37 AWS_KINESIS_API PutRecordResult();
40
41
43
46 inline const Aws::String& GetShardId() const{ return m_shardId; }
47 inline void SetShardId(const Aws::String& value) { m_shardId = value; }
48 inline void SetShardId(Aws::String&& value) { m_shardId = std::move(value); }
49 inline void SetShardId(const char* value) { m_shardId.assign(value); }
50 inline PutRecordResult& WithShardId(const Aws::String& value) { SetShardId(value); return *this;}
51 inline PutRecordResult& WithShardId(Aws::String&& value) { SetShardId(std::move(value)); return *this;}
52 inline PutRecordResult& WithShardId(const char* value) { SetShardId(value); return *this;}
54
56
62 inline const Aws::String& GetSequenceNumber() const{ return m_sequenceNumber; }
63 inline void SetSequenceNumber(const Aws::String& value) { m_sequenceNumber = value; }
64 inline void SetSequenceNumber(Aws::String&& value) { m_sequenceNumber = std::move(value); }
65 inline void SetSequenceNumber(const char* value) { m_sequenceNumber.assign(value); }
66 inline PutRecordResult& WithSequenceNumber(const Aws::String& value) { SetSequenceNumber(value); return *this;}
67 inline PutRecordResult& WithSequenceNumber(Aws::String&& value) { SetSequenceNumber(std::move(value)); return *this;}
68 inline PutRecordResult& WithSequenceNumber(const char* value) { SetSequenceNumber(value); return *this;}
70
72
79 inline const EncryptionType& GetEncryptionType() const{ return m_encryptionType; }
80 inline void SetEncryptionType(const EncryptionType& value) { m_encryptionType = value; }
81 inline void SetEncryptionType(EncryptionType&& value) { m_encryptionType = std::move(value); }
82 inline PutRecordResult& WithEncryptionType(const EncryptionType& value) { SetEncryptionType(value); return *this;}
83 inline PutRecordResult& WithEncryptionType(EncryptionType&& value) { SetEncryptionType(std::move(value)); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline PutRecordResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline PutRecordResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline PutRecordResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Aws::String m_shardId;
99
100 Aws::String m_sequenceNumber;
101
102 EncryptionType m_encryptionType;
103
104 Aws::String m_requestId;
105 };
106
107} // namespace Model
108} // namespace Kinesis
109} // namespace Aws
void SetEncryptionType(EncryptionType &&value)
void SetRequestId(const char *value)
const EncryptionType & GetEncryptionType() const
PutRecordResult & WithEncryptionType(EncryptionType &&value)
void SetShardId(Aws::String &&value)
void SetSequenceNumber(const Aws::String &value)
PutRecordResult & WithSequenceNumber(const char *value)
PutRecordResult & WithSequenceNumber(Aws::String &&value)
void SetRequestId(Aws::String &&value)
PutRecordResult & WithShardId(Aws::String &&value)
void SetEncryptionType(const EncryptionType &value)
PutRecordResult & WithSequenceNumber(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
PutRecordResult & WithEncryptionType(const EncryptionType &value)
PutRecordResult & WithShardId(const char *value)
PutRecordResult & WithRequestId(const char *value)
PutRecordResult & WithShardId(const Aws::String &value)
void SetSequenceNumber(const char *value)
PutRecordResult & WithRequestId(Aws::String &&value)
PutRecordResult & WithRequestId(const Aws::String &value)
void SetShardId(const Aws::String &value)
const Aws::String & GetShardId() const
const Aws::String & GetSequenceNumber() const
AWS_KINESIS_API PutRecordResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KINESIS_API PutRecordResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSequenceNumber(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue