AWS SDK for C++  1.9.159
AWS SDK for C++
PutRecordResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Firehose
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetRecordId() const{ return m_recordId; }
39 
43  inline void SetRecordId(const Aws::String& value) { m_recordId = value; }
44 
48  inline void SetRecordId(Aws::String&& value) { m_recordId = std::move(value); }
49 
53  inline void SetRecordId(const char* value) { m_recordId.assign(value); }
54 
58  inline PutRecordResult& WithRecordId(const Aws::String& value) { SetRecordId(value); return *this;}
59 
63  inline PutRecordResult& WithRecordId(Aws::String&& value) { SetRecordId(std::move(value)); return *this;}
64 
68  inline PutRecordResult& WithRecordId(const char* value) { SetRecordId(value); return *this;}
69 
70 
75  inline bool GetEncrypted() const{ return m_encrypted; }
76 
81  inline void SetEncrypted(bool value) { m_encrypted = value; }
82 
87  inline PutRecordResult& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
88 
89  private:
90 
91  Aws::String m_recordId;
92 
93  bool m_encrypted;
94  };
95 
96 } // namespace Model
97 } // namespace Firehose
98 } // namespace Aws
Aws::Firehose::Model::PutRecordResult
Definition: PutRecordResult.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Firehose::Model::PutRecordResult::WithRecordId
PutRecordResult & WithRecordId(Aws::String &&value)
Definition: PutRecordResult.h:63
Aws::Firehose::Model::PutRecordResult::GetRecordId
const Aws::String & GetRecordId() const
Definition: PutRecordResult.h:38
Aws::Firehose::Model::PutRecordResult::WithEncrypted
PutRecordResult & WithEncrypted(bool value)
Definition: PutRecordResult.h:87
Aws::Firehose::Model::PutRecordResult::PutRecordResult
PutRecordResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Firehose::Model::PutRecordResult::SetEncrypted
void SetEncrypted(bool value)
Definition: PutRecordResult.h:81
Aws::Firehose::Model::PutRecordResult::PutRecordResult
PutRecordResult()
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::PutRecordResult::operator=
PutRecordResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Firehose_EXPORTS.h
Aws::Firehose::Model::PutRecordResult::SetRecordId
void SetRecordId(const char *value)
Definition: PutRecordResult.h:53
Aws::Firehose::Model::PutRecordResult::WithRecordId
PutRecordResult & WithRecordId(const char *value)
Definition: PutRecordResult.h:68
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::PutRecordResult::SetRecordId
void SetRecordId(const Aws::String &value)
Definition: PutRecordResult.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::PutRecordResult::WithRecordId
PutRecordResult & WithRecordId(const Aws::String &value)
Definition: PutRecordResult.h:58
Aws::Firehose::Model::PutRecordResult::SetRecordId
void SetRecordId(Aws::String &&value)
Definition: PutRecordResult.h:48
Aws::Firehose::Model::PutRecordResult::GetEncrypted
bool GetEncrypted() const
Definition: PutRecordResult.h:75