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