AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
BillingModeSummary.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/BillingMode.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DynamoDB
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_DYNAMODB_API BillingModeSummary() = default;
44 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
57 inline BillingMode GetBillingMode() const { return m_billingMode; }
58 inline bool BillingModeHasBeenSet() const { return m_billingModeHasBeenSet; }
59 inline void SetBillingMode(BillingMode value) { m_billingModeHasBeenSet = true; m_billingMode = value; }
60 inline BillingModeSummary& WithBillingMode(BillingMode value) { SetBillingMode(value); return *this;}
62
64
68 inline const Aws::Utils::DateTime& GetLastUpdateToPayPerRequestDateTime() const { return m_lastUpdateToPayPerRequestDateTime; }
69 inline bool LastUpdateToPayPerRequestDateTimeHasBeenSet() const { return m_lastUpdateToPayPerRequestDateTimeHasBeenSet; }
70 template<typename LastUpdateToPayPerRequestDateTimeT = Aws::Utils::DateTime>
71 void SetLastUpdateToPayPerRequestDateTime(LastUpdateToPayPerRequestDateTimeT&& value) { m_lastUpdateToPayPerRequestDateTimeHasBeenSet = true; m_lastUpdateToPayPerRequestDateTime = std::forward<LastUpdateToPayPerRequestDateTimeT>(value); }
72 template<typename LastUpdateToPayPerRequestDateTimeT = Aws::Utils::DateTime>
73 BillingModeSummary& WithLastUpdateToPayPerRequestDateTime(LastUpdateToPayPerRequestDateTimeT&& value) { SetLastUpdateToPayPerRequestDateTime(std::forward<LastUpdateToPayPerRequestDateTimeT>(value)); return *this;}
75 private:
76
77 BillingMode m_billingMode{BillingMode::NOT_SET};
78 bool m_billingModeHasBeenSet = false;
79
80 Aws::Utils::DateTime m_lastUpdateToPayPerRequestDateTime{};
81 bool m_lastUpdateToPayPerRequestDateTimeHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace DynamoDB
86} // namespace Aws
void SetLastUpdateToPayPerRequestDateTime(LastUpdateToPayPerRequestDateTimeT &&value)
AWS_DYNAMODB_API BillingModeSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API BillingModeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdateToPayPerRequestDateTime() const
BillingModeSummary & WithLastUpdateToPayPerRequestDateTime(LastUpdateToPayPerRequestDateTimeT &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API BillingModeSummary()=default
BillingModeSummary & WithBillingMode(BillingMode value)
Aws::Utils::Json::JsonValue JsonValue