AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
44 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
57 inline const BillingMode& GetBillingMode() const{ return m_billingMode; }
58 inline bool BillingModeHasBeenSet() const { return m_billingModeHasBeenSet; }
59 inline void SetBillingMode(const BillingMode& value) { m_billingModeHasBeenSet = true; m_billingMode = value; }
60 inline void SetBillingMode(BillingMode&& value) { m_billingModeHasBeenSet = true; m_billingMode = std::move(value); }
61 inline BillingModeSummary& WithBillingMode(const BillingMode& value) { SetBillingMode(value); return *this;}
62 inline BillingModeSummary& WithBillingMode(BillingMode&& value) { SetBillingMode(std::move(value)); return *this;}
64
66
70 inline const Aws::Utils::DateTime& GetLastUpdateToPayPerRequestDateTime() const{ return m_lastUpdateToPayPerRequestDateTime; }
71 inline bool LastUpdateToPayPerRequestDateTimeHasBeenSet() const { return m_lastUpdateToPayPerRequestDateTimeHasBeenSet; }
72 inline void SetLastUpdateToPayPerRequestDateTime(const Aws::Utils::DateTime& value) { m_lastUpdateToPayPerRequestDateTimeHasBeenSet = true; m_lastUpdateToPayPerRequestDateTime = value; }
73 inline void SetLastUpdateToPayPerRequestDateTime(Aws::Utils::DateTime&& value) { m_lastUpdateToPayPerRequestDateTimeHasBeenSet = true; m_lastUpdateToPayPerRequestDateTime = std::move(value); }
77 private:
78
79 BillingMode m_billingMode;
80 bool m_billingModeHasBeenSet = false;
81
82 Aws::Utils::DateTime m_lastUpdateToPayPerRequestDateTime;
83 bool m_lastUpdateToPayPerRequestDateTimeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace DynamoDB
88} // namespace Aws
AWS_DYNAMODB_API BillingModeSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API BillingModeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdateToPayPerRequestDateTime(Aws::Utils::DateTime &&value)
BillingModeSummary & WithBillingMode(const BillingMode &value)
void SetLastUpdateToPayPerRequestDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdateToPayPerRequestDateTime() const
BillingModeSummary & WithLastUpdateToPayPerRequestDateTime(const Aws::Utils::DateTime &value)
BillingModeSummary & WithLastUpdateToPayPerRequestDateTime(Aws::Utils::DateTime &&value)
void SetBillingMode(const BillingMode &value)
const BillingMode & GetBillingMode() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
BillingModeSummary & WithBillingMode(BillingMode &&value)
Aws::Utils::Json::JsonValue JsonValue