AWS SDK for C++  1.8.129
AWS SDK for C++
RollbackTransactionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDSDataService
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "RollbackTransaction"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
43 
47  inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
48 
52  inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
53 
57  inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
58 
62  inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
63 
67  inline RollbackTransactionRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
68 
72  inline RollbackTransactionRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
73 
77  inline RollbackTransactionRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
78 
79 
83  inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
84 
88  inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
89 
93  inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
94 
98  inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
99 
103  inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
104 
108  inline RollbackTransactionRequest& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
109 
113  inline RollbackTransactionRequest& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
114 
118  inline RollbackTransactionRequest& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
119 
120 
124  inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
125 
129  inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
130 
134  inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
135 
139  inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
140 
144  inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
145 
149  inline RollbackTransactionRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
150 
154  inline RollbackTransactionRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
155 
159  inline RollbackTransactionRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
160 
161  private:
162 
163  Aws::String m_resourceArn;
164  bool m_resourceArnHasBeenSet;
165 
166  Aws::String m_secretArn;
167  bool m_secretArnHasBeenSet;
168 
169  Aws::String m_transactionId;
170  bool m_transactionIdHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace RDSDataService
175 } // namespace Aws
Aws::RDSDataService::Model::RollbackTransactionRequest::SetSecretArn
void SetSecretArn(Aws::String &&value)
Definition: RollbackTransactionRequest.h:98
Aws::RDSDataService::Model::RollbackTransactionRequest::SetSecretArn
void SetSecretArn(const char *value)
Definition: RollbackTransactionRequest.h:103
AWS_RDSDATASERVICE_API
#define AWS_RDSDATASERVICE_API
Definition: RDSDataService_EXPORTS.h:28
Aws::RDSDataService::Model::RollbackTransactionRequest::SecretArnHasBeenSet
bool SecretArnHasBeenSet() const
Definition: RollbackTransactionRequest.h:88
Aws::RDSDataService::Model::RollbackTransactionRequest::WithResourceArn
RollbackTransactionRequest & WithResourceArn(Aws::String &&value)
Definition: RollbackTransactionRequest.h:72
Aws::RDSDataService::Model::RollbackTransactionRequest::WithTransactionId
RollbackTransactionRequest & WithTransactionId(Aws::String &&value)
Definition: RollbackTransactionRequest.h:154
Aws::RDSDataService::Model::RollbackTransactionRequest::TransactionIdHasBeenSet
bool TransactionIdHasBeenSet() const
Definition: RollbackTransactionRequest.h:129
Aws::RDSDataService::Model::RollbackTransactionRequest::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: RollbackTransactionRequest.h:52
Aws::RDSDataService::Model::RollbackTransactionRequest::SetSecretArn
void SetSecretArn(const Aws::String &value)
Definition: RollbackTransactionRequest.h:93
Aws::RDSDataService::Model::RollbackTransactionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RollbackTransactionRequest.h:34
Aws::RDSDataService::Model::RollbackTransactionRequest::RollbackTransactionRequest
RollbackTransactionRequest()
Aws::RDSDataService::Model::RollbackTransactionRequest::SetTransactionId
void SetTransactionId(const char *value)
Definition: RollbackTransactionRequest.h:144
RDSDataServiceRequest.h
Aws::RDSDataService::Model::RollbackTransactionRequest::WithTransactionId
RollbackTransactionRequest & WithTransactionId(const Aws::String &value)
Definition: RollbackTransactionRequest.h:149
Aws::RDSDataService::Model::RollbackTransactionRequest::SetTransactionId
void SetTransactionId(const Aws::String &value)
Definition: RollbackTransactionRequest.h:134
Aws::RDSDataService::Model::RollbackTransactionRequest::WithResourceArn
RollbackTransactionRequest & WithResourceArn(const Aws::String &value)
Definition: RollbackTransactionRequest.h:67
Aws::RDSDataService::Model::RollbackTransactionRequest::ResourceArnHasBeenSet
bool ResourceArnHasBeenSet() const
Definition: RollbackTransactionRequest.h:47
Aws::RDSDataService::Model::RollbackTransactionRequest::SetResourceArn
void SetResourceArn(const char *value)
Definition: RollbackTransactionRequest.h:62
AWSString.h
Aws::RDSDataService::Model::RollbackTransactionRequest::GetTransactionId
const Aws::String & GetTransactionId() const
Definition: RollbackTransactionRequest.h:124
Aws::RDSDataService::Model::RollbackTransactionRequest::WithSecretArn
RollbackTransactionRequest & WithSecretArn(Aws::String &&value)
Definition: RollbackTransactionRequest.h:113
Aws::RDSDataService::Model::RollbackTransactionRequest::WithSecretArn
RollbackTransactionRequest & WithSecretArn(const char *value)
Definition: RollbackTransactionRequest.h:118
Aws::RDSDataService::RDSDataServiceRequest
Definition: RDSDataServiceRequest.h:17
RDSDataService_EXPORTS.h
Aws::RDSDataService::Model::RollbackTransactionRequest::WithSecretArn
RollbackTransactionRequest & WithSecretArn(const Aws::String &value)
Definition: RollbackTransactionRequest.h:108
Aws::RDSDataService::Model::RollbackTransactionRequest::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: RollbackTransactionRequest.h:42
Aws
Definition: AccessManagementClient.h:15
Aws::RDSDataService::Model::RollbackTransactionRequest::GetSecretArn
const Aws::String & GetSecretArn() const
Definition: RollbackTransactionRequest.h:83
Aws::RDSDataService::Model::RollbackTransactionRequest::SetTransactionId
void SetTransactionId(Aws::String &&value)
Definition: RollbackTransactionRequest.h:139
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDSDataService::Model::RollbackTransactionRequest
Definition: RollbackTransactionRequest.h:26
Aws::RDSDataService::Model::RollbackTransactionRequest::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: RollbackTransactionRequest.h:57
Aws::RDSDataService::Model::RollbackTransactionRequest::WithTransactionId
RollbackTransactionRequest & WithTransactionId(const char *value)
Definition: RollbackTransactionRequest.h:159
Aws::RDSDataService::Model::RollbackTransactionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDSDataService::Model::RollbackTransactionRequest::WithResourceArn
RollbackTransactionRequest & WithResourceArn(const char *value)
Definition: RollbackTransactionRequest.h:77