AWS SDK for C++  1.8.126
AWS SDK for C++
StatementTimeoutException.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace RDSDataService
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline long long GetDbConnectionId() const{ return m_dbConnectionId; }
44 
48  inline bool DbConnectionIdHasBeenSet() const { return m_dbConnectionIdHasBeenSet; }
49 
53  inline void SetDbConnectionId(long long value) { m_dbConnectionIdHasBeenSet = true; m_dbConnectionId = value; }
54 
58  inline StatementTimeoutException& WithDbConnectionId(long long value) { SetDbConnectionId(value); return *this;}
59 
60 
65  inline const Aws::String& GetMessage() const{ return m_message; }
66 
71  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
72 
77  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
78 
83  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
84 
89  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
90 
95  inline StatementTimeoutException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
96 
101  inline StatementTimeoutException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
102 
107  inline StatementTimeoutException& WithMessage(const char* value) { SetMessage(value); return *this;}
108 
109  private:
110 
111  long long m_dbConnectionId;
112  bool m_dbConnectionIdHasBeenSet;
113 
114  Aws::String m_message;
115  bool m_messageHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace RDSDataService
120 } // namespace Aws
Aws::RDSDataService::Model::StatementTimeoutException::StatementTimeoutException
StatementTimeoutException(Aws::Utils::Json::JsonView jsonValue)
Aws::RDSDataService::Model::StatementTimeoutException
Definition: StatementTimeoutException.h:32
Aws::RDSDataService::Model::StatementTimeoutException::SetMessage
void SetMessage(Aws::String &&value)
Definition: StatementTimeoutException.h:83
Aws::RDSDataService::Model::StatementTimeoutException::GetDbConnectionId
long long GetDbConnectionId() const
Definition: StatementTimeoutException.h:43
AWS_RDSDATASERVICE_API
#define AWS_RDSDATASERVICE_API
Definition: RDSDataService_EXPORTS.h:28
Aws::RDSDataService::Model::StatementTimeoutException::operator=
StatementTimeoutException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RDSDataService::Model::StatementTimeoutException::StatementTimeoutException
StatementTimeoutException()
Aws::RDSDataService::Model::StatementTimeoutException::WithMessage
StatementTimeoutException & WithMessage(Aws::String &&value)
Definition: StatementTimeoutException.h:101
Aws::RDSDataService::Model::StatementTimeoutException::WithMessage
StatementTimeoutException & WithMessage(const Aws::String &value)
Definition: StatementTimeoutException.h:95
Aws::RDSDataService::Model::StatementTimeoutException::DbConnectionIdHasBeenSet
bool DbConnectionIdHasBeenSet() const
Definition: StatementTimeoutException.h:48
Aws::RDSDataService::Model::StatementTimeoutException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RDSDataService::Model::StatementTimeoutException::WithMessage
StatementTimeoutException & WithMessage(const char *value)
Definition: StatementTimeoutException.h:107
Aws::RDSDataService::Model::StatementTimeoutException::SetMessage
void SetMessage(const char *value)
Definition: StatementTimeoutException.h:89
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RDSDataService::Model::StatementTimeoutException::SetMessage
void SetMessage(const Aws::String &value)
Definition: StatementTimeoutException.h:77
RDSDataService_EXPORTS.h
Aws::RDSDataService::Model::StatementTimeoutException::GetMessage
const Aws::String & GetMessage() const
Definition: StatementTimeoutException.h:65
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::StatementTimeoutException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: StatementTimeoutException.h:71
Aws::RDSDataService::Model::StatementTimeoutException::WithDbConnectionId
StatementTimeoutException & WithDbConnectionId(long long value)
Definition: StatementTimeoutException.h:58
Aws::RDSDataService::Model::StatementTimeoutException::SetDbConnectionId
void SetDbConnectionId(long long value)
Definition: StatementTimeoutException.h:53