AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimestreamSettings.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DatabaseMigrationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATABASEMIGRATIONSERVICE_API TimestreamSettings();
36 AWS_DATABASEMIGRATIONSERVICE_API TimestreamSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API TimestreamSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
46 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
47 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
48 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
49 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
50 inline TimestreamSettings& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
51 inline TimestreamSettings& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
52 inline TimestreamSettings& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
54
56
63 inline int GetMemoryDuration() const{ return m_memoryDuration; }
64 inline bool MemoryDurationHasBeenSet() const { return m_memoryDurationHasBeenSet; }
65 inline void SetMemoryDuration(int value) { m_memoryDurationHasBeenSet = true; m_memoryDuration = value; }
66 inline TimestreamSettings& WithMemoryDuration(int value) { SetMemoryDuration(value); return *this;}
68
70
79 inline int GetMagneticDuration() const{ return m_magneticDuration; }
80 inline bool MagneticDurationHasBeenSet() const { return m_magneticDurationHasBeenSet; }
81 inline void SetMagneticDuration(int value) { m_magneticDurationHasBeenSet = true; m_magneticDuration = value; }
82 inline TimestreamSettings& WithMagneticDuration(int value) { SetMagneticDuration(value); return *this;}
84
86
92 inline bool GetCdcInsertsAndUpdates() const{ return m_cdcInsertsAndUpdates; }
93 inline bool CdcInsertsAndUpdatesHasBeenSet() const { return m_cdcInsertsAndUpdatesHasBeenSet; }
94 inline void SetCdcInsertsAndUpdates(bool value) { m_cdcInsertsAndUpdatesHasBeenSet = true; m_cdcInsertsAndUpdates = value; }
95 inline TimestreamSettings& WithCdcInsertsAndUpdates(bool value) { SetCdcInsertsAndUpdates(value); return *this;}
97
99
109 inline bool GetEnableMagneticStoreWrites() const{ return m_enableMagneticStoreWrites; }
110 inline bool EnableMagneticStoreWritesHasBeenSet() const { return m_enableMagneticStoreWritesHasBeenSet; }
111 inline void SetEnableMagneticStoreWrites(bool value) { m_enableMagneticStoreWritesHasBeenSet = true; m_enableMagneticStoreWrites = value; }
114 private:
115
116 Aws::String m_databaseName;
117 bool m_databaseNameHasBeenSet = false;
118
119 int m_memoryDuration;
120 bool m_memoryDurationHasBeenSet = false;
121
122 int m_magneticDuration;
123 bool m_magneticDurationHasBeenSet = false;
124
125 bool m_cdcInsertsAndUpdates;
126 bool m_cdcInsertsAndUpdatesHasBeenSet = false;
127
128 bool m_enableMagneticStoreWrites;
129 bool m_enableMagneticStoreWritesHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace DatabaseMigrationService
134} // namespace Aws
TimestreamSettings & WithDatabaseName(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API TimestreamSettings(Aws::Utils::Json::JsonView jsonValue)
TimestreamSettings & WithDatabaseName(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API TimestreamSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
TimestreamSettings & WithDatabaseName(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API TimestreamSettings()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue