AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DynamodbDataSourceConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/DeltaSyncConfig.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 AppSync
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPSYNC_API DynamodbDataSourceConfig();
39 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetTableName() const{ return m_tableName; }
47 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
48 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
49 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
50 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
51 inline DynamodbDataSourceConfig& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
52 inline DynamodbDataSourceConfig& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
53 inline DynamodbDataSourceConfig& WithTableName(const char* value) { SetTableName(value); return *this;}
55
57
60 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
61 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
62 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
63 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
64 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
65 inline DynamodbDataSourceConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
66 inline DynamodbDataSourceConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
67 inline DynamodbDataSourceConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
69
71
74 inline bool GetUseCallerCredentials() const{ return m_useCallerCredentials; }
75 inline bool UseCallerCredentialsHasBeenSet() const { return m_useCallerCredentialsHasBeenSet; }
76 inline void SetUseCallerCredentials(bool value) { m_useCallerCredentialsHasBeenSet = true; m_useCallerCredentials = value; }
79
81
84 inline const DeltaSyncConfig& GetDeltaSyncConfig() const{ return m_deltaSyncConfig; }
85 inline bool DeltaSyncConfigHasBeenSet() const { return m_deltaSyncConfigHasBeenSet; }
86 inline void SetDeltaSyncConfig(const DeltaSyncConfig& value) { m_deltaSyncConfigHasBeenSet = true; m_deltaSyncConfig = value; }
87 inline void SetDeltaSyncConfig(DeltaSyncConfig&& value) { m_deltaSyncConfigHasBeenSet = true; m_deltaSyncConfig = std::move(value); }
89 inline DynamodbDataSourceConfig& WithDeltaSyncConfig(DeltaSyncConfig&& value) { SetDeltaSyncConfig(std::move(value)); return *this;}
91
93
97 inline bool GetVersioned() const{ return m_versioned; }
98 inline bool VersionedHasBeenSet() const { return m_versionedHasBeenSet; }
99 inline void SetVersioned(bool value) { m_versionedHasBeenSet = true; m_versioned = value; }
100 inline DynamodbDataSourceConfig& WithVersioned(bool value) { SetVersioned(value); return *this;}
102 private:
103
104 Aws::String m_tableName;
105 bool m_tableNameHasBeenSet = false;
106
107 Aws::String m_awsRegion;
108 bool m_awsRegionHasBeenSet = false;
109
110 bool m_useCallerCredentials;
111 bool m_useCallerCredentialsHasBeenSet = false;
112
113 DeltaSyncConfig m_deltaSyncConfig;
114 bool m_deltaSyncConfigHasBeenSet = false;
115
116 bool m_versioned;
117 bool m_versionedHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace AppSync
122} // namespace Aws
DynamodbDataSourceConfig & WithAwsRegion(const Aws::String &value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeltaSyncConfig(const DeltaSyncConfig &value)
DynamodbDataSourceConfig & WithAwsRegion(Aws::String &&value)
AWS_APPSYNC_API DynamodbDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
DynamodbDataSourceConfig & WithTableName(const Aws::String &value)
DynamodbDataSourceConfig & WithTableName(Aws::String &&value)
DynamodbDataSourceConfig & WithUseCallerCredentials(bool value)
DynamodbDataSourceConfig & WithDeltaSyncConfig(DeltaSyncConfig &&value)
DynamodbDataSourceConfig & WithAwsRegion(const char *value)
DynamodbDataSourceConfig & WithDeltaSyncConfig(const DeltaSyncConfig &value)
AWS_APPSYNC_API DynamodbDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DynamodbDataSourceConfig & WithVersioned(bool value)
DynamodbDataSourceConfig & WithTableName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue