AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
BranchDatabaseConfiguration.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace AmplifyGen3 {
17namespace Model {
18
26 public:
27 AWS_AMPLIFYGEN3_API BranchDatabaseConfiguration() = default;
30 AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetMaxBackendCapacityUnits() const { return m_maxBackendCapacityUnits; }
38 inline bool MaxBackendCapacityUnitsHasBeenSet() const { return m_maxBackendCapacityUnitsHasBeenSet; }
39 inline void SetMaxBackendCapacityUnits(int value) {
40 m_maxBackendCapacityUnitsHasBeenSet = true;
41 m_maxBackendCapacityUnits = value;
42 }
45 return *this;
46 }
48
50
53 inline int GetBackupRetentionDays() const { return m_backupRetentionDays; }
54 inline bool BackupRetentionDaysHasBeenSet() const { return m_backupRetentionDaysHasBeenSet; }
55 inline void SetBackupRetentionDays(int value) {
56 m_backupRetentionDaysHasBeenSet = true;
57 m_backupRetentionDays = value;
58 }
61 return *this;
62 }
64 private:
65 int m_maxBackendCapacityUnits{0};
66
67 int m_backupRetentionDays{0};
68 bool m_maxBackendCapacityUnitsHasBeenSet = false;
69 bool m_backupRetentionDaysHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace AmplifyGen3
74} // namespace Aws
AWS_AMPLIFYGEN3_API BranchDatabaseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYGEN3_API BranchDatabaseConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYGEN3_API BranchDatabaseConfiguration()=default
BranchDatabaseConfiguration & WithMaxBackendCapacityUnits(int value)
BranchDatabaseConfiguration & WithBackupRetentionDays(int value)
Aws::Utils::Json::JsonValue JsonValue