AWS SDK for C++  1.9.3
AWS SDK for C++
DeltaSyncConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppSync
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline long long GetBaseTableTTL() const{ return m_baseTableTTL; }
44 
48  inline bool BaseTableTTLHasBeenSet() const { return m_baseTableTTLHasBeenSet; }
49 
53  inline void SetBaseTableTTL(long long value) { m_baseTableTTLHasBeenSet = true; m_baseTableTTL = value; }
54 
58  inline DeltaSyncConfig& WithBaseTableTTL(long long value) { SetBaseTableTTL(value); return *this;}
59 
60 
64  inline const Aws::String& GetDeltaSyncTableName() const{ return m_deltaSyncTableName; }
65 
69  inline bool DeltaSyncTableNameHasBeenSet() const { return m_deltaSyncTableNameHasBeenSet; }
70 
74  inline void SetDeltaSyncTableName(const Aws::String& value) { m_deltaSyncTableNameHasBeenSet = true; m_deltaSyncTableName = value; }
75 
79  inline void SetDeltaSyncTableName(Aws::String&& value) { m_deltaSyncTableNameHasBeenSet = true; m_deltaSyncTableName = std::move(value); }
80 
84  inline void SetDeltaSyncTableName(const char* value) { m_deltaSyncTableNameHasBeenSet = true; m_deltaSyncTableName.assign(value); }
85 
89  inline DeltaSyncConfig& WithDeltaSyncTableName(const Aws::String& value) { SetDeltaSyncTableName(value); return *this;}
90 
94  inline DeltaSyncConfig& WithDeltaSyncTableName(Aws::String&& value) { SetDeltaSyncTableName(std::move(value)); return *this;}
95 
99  inline DeltaSyncConfig& WithDeltaSyncTableName(const char* value) { SetDeltaSyncTableName(value); return *this;}
100 
101 
106  inline long long GetDeltaSyncTableTTL() const{ return m_deltaSyncTableTTL; }
107 
112  inline bool DeltaSyncTableTTLHasBeenSet() const { return m_deltaSyncTableTTLHasBeenSet; }
113 
118  inline void SetDeltaSyncTableTTL(long long value) { m_deltaSyncTableTTLHasBeenSet = true; m_deltaSyncTableTTL = value; }
119 
124  inline DeltaSyncConfig& WithDeltaSyncTableTTL(long long value) { SetDeltaSyncTableTTL(value); return *this;}
125 
126  private:
127 
128  long long m_baseTableTTL;
129  bool m_baseTableTTLHasBeenSet;
130 
131  Aws::String m_deltaSyncTableName;
132  bool m_deltaSyncTableNameHasBeenSet;
133 
134  long long m_deltaSyncTableTTL;
135  bool m_deltaSyncTableTTLHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace AppSync
140 } // namespace Aws
Aws::AppSync::Model::DeltaSyncConfig::SetDeltaSyncTableTTL
void SetDeltaSyncTableTTL(long long value)
Definition: DeltaSyncConfig.h:118
Aws::AppSync::Model::DeltaSyncConfig::DeltaSyncConfig
DeltaSyncConfig()
Aws::AppSync::Model::DeltaSyncConfig::DeltaSyncTableTTLHasBeenSet
bool DeltaSyncTableTTLHasBeenSet() const
Definition: DeltaSyncConfig.h:112
Aws::AppSync::Model::DeltaSyncConfig
Definition: DeltaSyncConfig.h:32
Aws::AppSync::Model::DeltaSyncConfig::GetDeltaSyncTableTTL
long long GetDeltaSyncTableTTL() const
Definition: DeltaSyncConfig.h:106
Aws::AppSync::Model::DeltaSyncConfig::WithDeltaSyncTableTTL
DeltaSyncConfig & WithDeltaSyncTableTTL(long long value)
Definition: DeltaSyncConfig.h:124
Aws::AppSync::Model::DeltaSyncConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppSync::Model::DeltaSyncConfig::SetDeltaSyncTableName
void SetDeltaSyncTableName(const char *value)
Definition: DeltaSyncConfig.h:84
Aws::AppSync::Model::DeltaSyncConfig::DeltaSyncTableNameHasBeenSet
bool DeltaSyncTableNameHasBeenSet() const
Definition: DeltaSyncConfig.h:69
AppSync_EXPORTS.h
Aws::AppSync::Model::DeltaSyncConfig::GetDeltaSyncTableName
const Aws::String & GetDeltaSyncTableName() const
Definition: DeltaSyncConfig.h:64
Aws::AppSync::Model::DeltaSyncConfig::SetBaseTableTTL
void SetBaseTableTTL(long long value)
Definition: DeltaSyncConfig.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppSync::Model::DeltaSyncConfig::DeltaSyncConfig
DeltaSyncConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::DeltaSyncConfig::operator=
DeltaSyncConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::DeltaSyncConfig::WithDeltaSyncTableName
DeltaSyncConfig & WithDeltaSyncTableName(const char *value)
Definition: DeltaSyncConfig.h:99
Aws::AppSync::Model::DeltaSyncConfig::SetDeltaSyncTableName
void SetDeltaSyncTableName(Aws::String &&value)
Definition: DeltaSyncConfig.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::DeltaSyncConfig::WithBaseTableTTL
DeltaSyncConfig & WithBaseTableTTL(long long value)
Definition: DeltaSyncConfig.h:58
Aws::AppSync::Model::DeltaSyncConfig::BaseTableTTLHasBeenSet
bool BaseTableTTLHasBeenSet() const
Definition: DeltaSyncConfig.h:48
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::DeltaSyncConfig::WithDeltaSyncTableName
DeltaSyncConfig & WithDeltaSyncTableName(Aws::String &&value)
Definition: DeltaSyncConfig.h:94
Aws::AppSync::Model::DeltaSyncConfig::GetBaseTableTTL
long long GetBaseTableTTL() const
Definition: DeltaSyncConfig.h:43
Aws::AppSync::Model::DeltaSyncConfig::SetDeltaSyncTableName
void SetDeltaSyncTableName(const Aws::String &value)
Definition: DeltaSyncConfig.h:74
Aws::AppSync::Model::DeltaSyncConfig::WithDeltaSyncTableName
DeltaSyncConfig & WithDeltaSyncTableName(const Aws::String &value)
Definition: DeltaSyncConfig.h:89