AWS SDK for C++  1.9.156
AWS SDK for C++
PutRecordResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Kinesis
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::String& GetShardId() const{ return m_shardId; }
46 
50  inline void SetShardId(const Aws::String& value) { m_shardId = value; }
51 
55  inline void SetShardId(Aws::String&& value) { m_shardId = std::move(value); }
56 
60  inline void SetShardId(const char* value) { m_shardId.assign(value); }
61 
65  inline PutRecordResult& WithShardId(const Aws::String& value) { SetShardId(value); return *this;}
66 
70  inline PutRecordResult& WithShardId(Aws::String&& value) { SetShardId(std::move(value)); return *this;}
71 
75  inline PutRecordResult& WithShardId(const char* value) { SetShardId(value); return *this;}
76 
77 
84  inline const Aws::String& GetSequenceNumber() const{ return m_sequenceNumber; }
85 
92  inline void SetSequenceNumber(const Aws::String& value) { m_sequenceNumber = value; }
93 
100  inline void SetSequenceNumber(Aws::String&& value) { m_sequenceNumber = std::move(value); }
101 
108  inline void SetSequenceNumber(const char* value) { m_sequenceNumber.assign(value); }
109 
116  inline PutRecordResult& WithSequenceNumber(const Aws::String& value) { SetSequenceNumber(value); return *this;}
117 
124  inline PutRecordResult& WithSequenceNumber(Aws::String&& value) { SetSequenceNumber(std::move(value)); return *this;}
125 
132  inline PutRecordResult& WithSequenceNumber(const char* value) { SetSequenceNumber(value); return *this;}
133 
134 
142  inline const EncryptionType& GetEncryptionType() const{ return m_encryptionType; }
143 
151  inline void SetEncryptionType(const EncryptionType& value) { m_encryptionType = value; }
152 
160  inline void SetEncryptionType(EncryptionType&& value) { m_encryptionType = std::move(value); }
161 
169  inline PutRecordResult& WithEncryptionType(const EncryptionType& value) { SetEncryptionType(value); return *this;}
170 
178  inline PutRecordResult& WithEncryptionType(EncryptionType&& value) { SetEncryptionType(std::move(value)); return *this;}
179 
180  private:
181 
182  Aws::String m_shardId;
183 
184  Aws::String m_sequenceNumber;
185 
186  EncryptionType m_encryptionType;
187  };
188 
189 } // namespace Model
190 } // namespace Kinesis
191 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kinesis::Model::PutRecordResult::SetSequenceNumber
void SetSequenceNumber(Aws::String &&value)
Definition: PutRecordResult.h:100
Aws::Kinesis::Model::PutRecordResult::WithEncryptionType
PutRecordResult & WithEncryptionType(EncryptionType &&value)
Definition: PutRecordResult.h:178
Aws::Kinesis::Model::PutRecordResult::SetShardId
void SetShardId(Aws::String &&value)
Definition: PutRecordResult.h:55
Aws::Kinesis::Model::PutRecordResult::PutRecordResult
PutRecordResult()
Aws::Kinesis::Model::PutRecordResult::GetSequenceNumber
const Aws::String & GetSequenceNumber() const
Definition: PutRecordResult.h:84
EncryptionType.h
Aws::Kinesis::Model::PutRecordResult::WithEncryptionType
PutRecordResult & WithEncryptionType(const EncryptionType &value)
Definition: PutRecordResult.h:169
Aws::Kinesis::Model::PutRecordResult::WithShardId
PutRecordResult & WithShardId(Aws::String &&value)
Definition: PutRecordResult.h:70
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::PutRecordResult::SetEncryptionType
void SetEncryptionType(EncryptionType &&value)
Definition: PutRecordResult.h:160
Aws::Kinesis::Model::PutRecordResult::operator=
PutRecordResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kinesis::Model::PutRecordResult::SetSequenceNumber
void SetSequenceNumber(const char *value)
Definition: PutRecordResult.h:108
Aws::Kinesis::Model::PutRecordResult::GetEncryptionType
const EncryptionType & GetEncryptionType() const
Definition: PutRecordResult.h:142
Aws::Kinesis::Model::PutRecordResult::SetSequenceNumber
void SetSequenceNumber(const Aws::String &value)
Definition: PutRecordResult.h:92
AWSString.h
Aws::Kinesis::Model::PutRecordResult::SetShardId
void SetShardId(const char *value)
Definition: PutRecordResult.h:60
Aws::Kinesis::Model::PutRecordResult::WithSequenceNumber
PutRecordResult & WithSequenceNumber(Aws::String &&value)
Definition: PutRecordResult.h:124
Aws::Kinesis::Model::PutRecordResult::SetEncryptionType
void SetEncryptionType(const EncryptionType &value)
Definition: PutRecordResult.h:151
Kinesis_EXPORTS.h
Aws::Kinesis::Model::EncryptionType
EncryptionType
Definition: EncryptionType.h:17
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kinesis::Model::PutRecordResult::GetShardId
const Aws::String & GetShardId() const
Definition: PutRecordResult.h:45
Aws::Kinesis::Model::PutRecordResult::SetShardId
void SetShardId(const Aws::String &value)
Definition: PutRecordResult.h:50
Aws::Kinesis::Model::PutRecordResult::WithSequenceNumber
PutRecordResult & WithSequenceNumber(const Aws::String &value)
Definition: PutRecordResult.h:116
Aws::Kinesis::Model::PutRecordResult::WithSequenceNumber
PutRecordResult & WithSequenceNumber(const char *value)
Definition: PutRecordResult.h:132
Aws::Kinesis::Model::PutRecordResult::WithShardId
PutRecordResult & WithShardId(const Aws::String &value)
Definition: PutRecordResult.h:65
Aws::Kinesis::Model::PutRecordResult::PutRecordResult
PutRecordResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kinesis::Model::PutRecordResult::WithShardId
PutRecordResult & WithShardId(const char *value)
Definition: PutRecordResult.h:75
Aws::Kinesis::Model::PutRecordResult
Definition: PutRecordResult.h:35