AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeltaSyncConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_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 AppSync
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_APPSYNC_API DeltaSyncConfig();
35 AWS_APPSYNC_API DeltaSyncConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline long long GetBaseTableTTL() const{ return m_baseTableTTL; }
45 inline bool BaseTableTTLHasBeenSet() const { return m_baseTableTTLHasBeenSet; }
46 inline void SetBaseTableTTL(long long value) { m_baseTableTTLHasBeenSet = true; m_baseTableTTL = value; }
47 inline DeltaSyncConfig& WithBaseTableTTL(long long value) { SetBaseTableTTL(value); return *this;}
49
51
54 inline const Aws::String& GetDeltaSyncTableName() const{ return m_deltaSyncTableName; }
55 inline bool DeltaSyncTableNameHasBeenSet() const { return m_deltaSyncTableNameHasBeenSet; }
56 inline void SetDeltaSyncTableName(const Aws::String& value) { m_deltaSyncTableNameHasBeenSet = true; m_deltaSyncTableName = value; }
57 inline void SetDeltaSyncTableName(Aws::String&& value) { m_deltaSyncTableNameHasBeenSet = true; m_deltaSyncTableName = std::move(value); }
58 inline void SetDeltaSyncTableName(const char* value) { m_deltaSyncTableNameHasBeenSet = true; m_deltaSyncTableName.assign(value); }
59 inline DeltaSyncConfig& WithDeltaSyncTableName(const Aws::String& value) { SetDeltaSyncTableName(value); return *this;}
60 inline DeltaSyncConfig& WithDeltaSyncTableName(Aws::String&& value) { SetDeltaSyncTableName(std::move(value)); return *this;}
61 inline DeltaSyncConfig& WithDeltaSyncTableName(const char* value) { SetDeltaSyncTableName(value); return *this;}
63
65
69 inline long long GetDeltaSyncTableTTL() const{ return m_deltaSyncTableTTL; }
70 inline bool DeltaSyncTableTTLHasBeenSet() const { return m_deltaSyncTableTTLHasBeenSet; }
71 inline void SetDeltaSyncTableTTL(long long value) { m_deltaSyncTableTTLHasBeenSet = true; m_deltaSyncTableTTL = value; }
72 inline DeltaSyncConfig& WithDeltaSyncTableTTL(long long value) { SetDeltaSyncTableTTL(value); return *this;}
74 private:
75
76 long long m_baseTableTTL;
77 bool m_baseTableTTLHasBeenSet = false;
78
79 Aws::String m_deltaSyncTableName;
80 bool m_deltaSyncTableNameHasBeenSet = false;
81
82 long long m_deltaSyncTableTTL;
83 bool m_deltaSyncTableTTLHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace AppSync
88} // namespace Aws
void SetDeltaSyncTableName(const Aws::String &value)
DeltaSyncConfig & WithBaseTableTTL(long long value)
DeltaSyncConfig & WithDeltaSyncTableTTL(long long value)
DeltaSyncConfig & WithDeltaSyncTableName(const char *value)
void SetDeltaSyncTableName(Aws::String &&value)
void SetDeltaSyncTableName(const char *value)
AWS_APPSYNC_API DeltaSyncConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API DeltaSyncConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DeltaSyncConfig & WithDeltaSyncTableName(const Aws::String &value)
DeltaSyncConfig & WithDeltaSyncTableName(Aws::String &&value)
const Aws::String & GetDeltaSyncTableName() const
void SetDeltaSyncTableTTL(long long value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue