AWS SDK for C++  1.8.129
AWS SDK for C++
BeginTransactionResult.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 RDSDataService
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
45 
49  inline void SetTransactionId(const Aws::String& value) { m_transactionId = value; }
50 
54  inline void SetTransactionId(Aws::String&& value) { m_transactionId = std::move(value); }
55 
59  inline void SetTransactionId(const char* value) { m_transactionId.assign(value); }
60 
64  inline BeginTransactionResult& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
65 
69  inline BeginTransactionResult& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
70 
74  inline BeginTransactionResult& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
75 
76  private:
77 
78  Aws::String m_transactionId;
79  };
80 
81 } // namespace Model
82 } // namespace RDSDataService
83 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_RDSDATASERVICE_API
#define AWS_RDSDATASERVICE_API
Definition: RDSDataService_EXPORTS.h:28
Aws::RDSDataService::Model::BeginTransactionResult
Definition: BeginTransactionResult.h:34
Aws::RDSDataService::Model::BeginTransactionResult::SetTransactionId
void SetTransactionId(const char *value)
Definition: BeginTransactionResult.h:59
Aws::RDSDataService::Model::BeginTransactionResult::operator=
BeginTransactionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RDSDataService::Model::BeginTransactionResult::BeginTransactionResult
BeginTransactionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RDSDataService::Model::BeginTransactionResult::SetTransactionId
void SetTransactionId(const Aws::String &value)
Definition: BeginTransactionResult.h:49
Aws::RDSDataService::Model::BeginTransactionResult::WithTransactionId
BeginTransactionResult & WithTransactionId(const Aws::String &value)
Definition: BeginTransactionResult.h:64
AWSString.h
Aws::RDSDataService::Model::BeginTransactionResult::BeginTransactionResult
BeginTransactionResult()
RDSDataService_EXPORTS.h
Aws::RDSDataService::Model::BeginTransactionResult::WithTransactionId
BeginTransactionResult & WithTransactionId(const char *value)
Definition: BeginTransactionResult.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::RDSDataService::Model::BeginTransactionResult::WithTransactionId
BeginTransactionResult & WithTransactionId(Aws::String &&value)
Definition: BeginTransactionResult.h:69
Aws::RDSDataService::Model::BeginTransactionResult::SetTransactionId
void SetTransactionId(Aws::String &&value)
Definition: BeginTransactionResult.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDSDataService::Model::BeginTransactionResult::GetTransactionId
const Aws::String & GetTransactionId() const
Definition: BeginTransactionResult.h:44