AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransactionDescription.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lakeformation/model/TransactionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LakeFormation
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LAKEFORMATION_API TransactionDescription();
38 AWS_LAKEFORMATION_API TransactionDescription(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
48 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
49 inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
50 inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
51 inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
52 inline TransactionDescription& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
53 inline TransactionDescription& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
54 inline TransactionDescription& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
56
58
61 inline const TransactionStatus& GetTransactionStatus() const{ return m_transactionStatus; }
62 inline bool TransactionStatusHasBeenSet() const { return m_transactionStatusHasBeenSet; }
63 inline void SetTransactionStatus(const TransactionStatus& value) { m_transactionStatusHasBeenSet = true; m_transactionStatus = value; }
64 inline void SetTransactionStatus(TransactionStatus&& value) { m_transactionStatusHasBeenSet = true; m_transactionStatus = std::move(value); }
66 inline TransactionDescription& WithTransactionStatus(TransactionStatus&& value) { SetTransactionStatus(std::move(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetTransactionStartTime() const{ return m_transactionStartTime; }
74 inline bool TransactionStartTimeHasBeenSet() const { return m_transactionStartTimeHasBeenSet; }
75 inline void SetTransactionStartTime(const Aws::Utils::DateTime& value) { m_transactionStartTimeHasBeenSet = true; m_transactionStartTime = value; }
76 inline void SetTransactionStartTime(Aws::Utils::DateTime&& value) { m_transactionStartTimeHasBeenSet = true; m_transactionStartTime = std::move(value); }
80
82
86 inline const Aws::Utils::DateTime& GetTransactionEndTime() const{ return m_transactionEndTime; }
87 inline bool TransactionEndTimeHasBeenSet() const { return m_transactionEndTimeHasBeenSet; }
88 inline void SetTransactionEndTime(const Aws::Utils::DateTime& value) { m_transactionEndTimeHasBeenSet = true; m_transactionEndTime = value; }
89 inline void SetTransactionEndTime(Aws::Utils::DateTime&& value) { m_transactionEndTimeHasBeenSet = true; m_transactionEndTime = std::move(value); }
93 private:
94
95 Aws::String m_transactionId;
96 bool m_transactionIdHasBeenSet = false;
97
98 TransactionStatus m_transactionStatus;
99 bool m_transactionStatusHasBeenSet = false;
100
101 Aws::Utils::DateTime m_transactionStartTime;
102 bool m_transactionStartTimeHasBeenSet = false;
103
104 Aws::Utils::DateTime m_transactionEndTime;
105 bool m_transactionEndTimeHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace LakeFormation
110} // namespace Aws
TransactionDescription & WithTransactionEndTime(const Aws::Utils::DateTime &value)
void SetTransactionStatus(const TransactionStatus &value)
AWS_LAKEFORMATION_API TransactionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
TransactionDescription & WithTransactionStatus(const TransactionStatus &value)
TransactionDescription & WithTransactionStatus(TransactionStatus &&value)
TransactionDescription & WithTransactionEndTime(Aws::Utils::DateTime &&value)
TransactionDescription & WithTransactionId(const char *value)
TransactionDescription & WithTransactionId(Aws::String &&value)
void SetTransactionStartTime(Aws::Utils::DateTime &&value)
void SetTransactionEndTime(Aws::Utils::DateTime &&value)
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
TransactionDescription & WithTransactionStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetTransactionStartTime() const
void SetTransactionStartTime(const Aws::Utils::DateTime &value)
void SetTransactionEndTime(const Aws::Utils::DateTime &value)
TransactionDescription & WithTransactionStartTime(const Aws::Utils::DateTime &value)
TransactionDescription & WithTransactionId(const Aws::String &value)
const Aws::Utils::DateTime & GetTransactionEndTime() const
AWS_LAKEFORMATION_API TransactionDescription(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue