AWS SDK for C++  1.9.155
AWS SDK for C++
DynamodbDataSourceConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppSync
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetTableName() const{ return m_tableName; }
46 
50  inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
51 
55  inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
56 
60  inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
61 
65  inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
66 
70  inline DynamodbDataSourceConfig& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
71 
75  inline DynamodbDataSourceConfig& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
76 
80  inline DynamodbDataSourceConfig& WithTableName(const char* value) { SetTableName(value); return *this;}
81 
82 
86  inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
87 
91  inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
92 
96  inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
97 
101  inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
102 
106  inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
107 
111  inline DynamodbDataSourceConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
112 
116  inline DynamodbDataSourceConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
117 
121  inline DynamodbDataSourceConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
122 
123 
127  inline bool GetUseCallerCredentials() const{ return m_useCallerCredentials; }
128 
132  inline bool UseCallerCredentialsHasBeenSet() const { return m_useCallerCredentialsHasBeenSet; }
133 
137  inline void SetUseCallerCredentials(bool value) { m_useCallerCredentialsHasBeenSet = true; m_useCallerCredentials = value; }
138 
142  inline DynamodbDataSourceConfig& WithUseCallerCredentials(bool value) { SetUseCallerCredentials(value); return *this;}
143 
144 
148  inline const DeltaSyncConfig& GetDeltaSyncConfig() const{ return m_deltaSyncConfig; }
149 
153  inline bool DeltaSyncConfigHasBeenSet() const { return m_deltaSyncConfigHasBeenSet; }
154 
158  inline void SetDeltaSyncConfig(const DeltaSyncConfig& value) { m_deltaSyncConfigHasBeenSet = true; m_deltaSyncConfig = value; }
159 
163  inline void SetDeltaSyncConfig(DeltaSyncConfig&& value) { m_deltaSyncConfigHasBeenSet = true; m_deltaSyncConfig = std::move(value); }
164 
168  inline DynamodbDataSourceConfig& WithDeltaSyncConfig(const DeltaSyncConfig& value) { SetDeltaSyncConfig(value); return *this;}
169 
173  inline DynamodbDataSourceConfig& WithDeltaSyncConfig(DeltaSyncConfig&& value) { SetDeltaSyncConfig(std::move(value)); return *this;}
174 
175 
180  inline bool GetVersioned() const{ return m_versioned; }
181 
186  inline bool VersionedHasBeenSet() const { return m_versionedHasBeenSet; }
187 
192  inline void SetVersioned(bool value) { m_versionedHasBeenSet = true; m_versioned = value; }
193 
198  inline DynamodbDataSourceConfig& WithVersioned(bool value) { SetVersioned(value); return *this;}
199 
200  private:
201 
202  Aws::String m_tableName;
203  bool m_tableNameHasBeenSet;
204 
205  Aws::String m_awsRegion;
206  bool m_awsRegionHasBeenSet;
207 
208  bool m_useCallerCredentials;
209  bool m_useCallerCredentialsHasBeenSet;
210 
211  DeltaSyncConfig m_deltaSyncConfig;
212  bool m_deltaSyncConfigHasBeenSet;
213 
214  bool m_versioned;
215  bool m_versionedHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace AppSync
220 } // namespace Aws
Aws::AppSync::Model::DynamodbDataSourceConfig::WithDeltaSyncConfig
DynamodbDataSourceConfig & WithDeltaSyncConfig(const DeltaSyncConfig &value)
Definition: DynamodbDataSourceConfig.h:168
Aws::AppSync::Model::DynamodbDataSourceConfig::SetTableName
void SetTableName(const Aws::String &value)
Definition: DynamodbDataSourceConfig.h:55
Aws::AppSync::Model::DeltaSyncConfig
Definition: DeltaSyncConfig.h:32
Aws::AppSync::Model::DynamodbDataSourceConfig::WithTableName
DynamodbDataSourceConfig & WithTableName(const Aws::String &value)
Definition: DynamodbDataSourceConfig.h:70
Aws::AppSync::Model::DynamodbDataSourceConfig::SetAwsRegion
void SetAwsRegion(Aws::String &&value)
Definition: DynamodbDataSourceConfig.h:101
Aws::AppSync::Model::DynamodbDataSourceConfig::WithTableName
DynamodbDataSourceConfig & WithTableName(Aws::String &&value)
Definition: DynamodbDataSourceConfig.h:75
Aws::AppSync::Model::DynamodbDataSourceConfig::SetUseCallerCredentials
void SetUseCallerCredentials(bool value)
Definition: DynamodbDataSourceConfig.h:137
Aws::AppSync::Model::DynamodbDataSourceConfig::operator=
DynamodbDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DeltaSyncConfig.h
AppSync_EXPORTS.h
Aws::AppSync::Model::DynamodbDataSourceConfig::WithAwsRegion
DynamodbDataSourceConfig & WithAwsRegion(Aws::String &&value)
Definition: DynamodbDataSourceConfig.h:116
Aws::AppSync::Model::DynamodbDataSourceConfig::SetAwsRegion
void SetAwsRegion(const Aws::String &value)
Definition: DynamodbDataSourceConfig.h:96
Aws::AppSync::Model::DynamodbDataSourceConfig::SetTableName
void SetTableName(Aws::String &&value)
Definition: DynamodbDataSourceConfig.h:60
Aws::AppSync::Model::DynamodbDataSourceConfig::GetTableName
const Aws::String & GetTableName() const
Definition: DynamodbDataSourceConfig.h:45
Aws::AppSync::Model::DynamodbDataSourceConfig::SetAwsRegion
void SetAwsRegion(const char *value)
Definition: DynamodbDataSourceConfig.h:106
Aws::AppSync::Model::DynamodbDataSourceConfig::SetDeltaSyncConfig
void SetDeltaSyncConfig(DeltaSyncConfig &&value)
Definition: DynamodbDataSourceConfig.h:163
Aws::AppSync::Model::DynamodbDataSourceConfig::DynamodbDataSourceConfig
DynamodbDataSourceConfig()
Aws::AppSync::Model::DynamodbDataSourceConfig::SetTableName
void SetTableName(const char *value)
Definition: DynamodbDataSourceConfig.h:65
Aws::AppSync::Model::DynamodbDataSourceConfig::DeltaSyncConfigHasBeenSet
bool DeltaSyncConfigHasBeenSet() const
Definition: DynamodbDataSourceConfig.h:153
Aws::AppSync::Model::DynamodbDataSourceConfig::WithAwsRegion
DynamodbDataSourceConfig & WithAwsRegion(const Aws::String &value)
Definition: DynamodbDataSourceConfig.h:111
Aws::AppSync::Model::DynamodbDataSourceConfig::GetVersioned
bool GetVersioned() const
Definition: DynamodbDataSourceConfig.h:180
Aws::AppSync::Model::DynamodbDataSourceConfig::GetDeltaSyncConfig
const DeltaSyncConfig & GetDeltaSyncConfig() const
Definition: DynamodbDataSourceConfig.h:148
Aws::AppSync::Model::DynamodbDataSourceConfig
Definition: DynamodbDataSourceConfig.h:34
Aws::AppSync::Model::DynamodbDataSourceConfig::GetAwsRegion
const Aws::String & GetAwsRegion() const
Definition: DynamodbDataSourceConfig.h:86
Aws::AppSync::Model::DynamodbDataSourceConfig::VersionedHasBeenSet
bool VersionedHasBeenSet() const
Definition: DynamodbDataSourceConfig.h:186
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AppSync::Model::DynamodbDataSourceConfig::AwsRegionHasBeenSet
bool AwsRegionHasBeenSet() const
Definition: DynamodbDataSourceConfig.h:91
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppSync::Model::DynamodbDataSourceConfig::WithDeltaSyncConfig
DynamodbDataSourceConfig & WithDeltaSyncConfig(DeltaSyncConfig &&value)
Definition: DynamodbDataSourceConfig.h:173
Aws::AppSync::Model::DynamodbDataSourceConfig::SetVersioned
void SetVersioned(bool value)
Definition: DynamodbDataSourceConfig.h:192
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::DynamodbDataSourceConfig::SetDeltaSyncConfig
void SetDeltaSyncConfig(const DeltaSyncConfig &value)
Definition: DynamodbDataSourceConfig.h:158
Aws::AppSync::Model::DynamodbDataSourceConfig::DynamodbDataSourceConfig
DynamodbDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
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::DynamodbDataSourceConfig::WithVersioned
DynamodbDataSourceConfig & WithVersioned(bool value)
Definition: DynamodbDataSourceConfig.h:198
Aws::AppSync::Model::DynamodbDataSourceConfig::WithUseCallerCredentials
DynamodbDataSourceConfig & WithUseCallerCredentials(bool value)
Definition: DynamodbDataSourceConfig.h:142
Aws::AppSync::Model::DynamodbDataSourceConfig::WithTableName
DynamodbDataSourceConfig & WithTableName(const char *value)
Definition: DynamodbDataSourceConfig.h:80
Aws::AppSync::Model::DynamodbDataSourceConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppSync::Model::DynamodbDataSourceConfig::WithAwsRegion
DynamodbDataSourceConfig & WithAwsRegion(const char *value)
Definition: DynamodbDataSourceConfig.h:121
Aws::AppSync::Model::DynamodbDataSourceConfig::TableNameHasBeenSet
bool TableNameHasBeenSet() const
Definition: DynamodbDataSourceConfig.h:50
Aws::AppSync::Model::DynamodbDataSourceConfig::UseCallerCredentialsHasBeenSet
bool UseCallerCredentialsHasBeenSet() const
Definition: DynamodbDataSourceConfig.h:132
Aws::AppSync::Model::DynamodbDataSourceConfig::GetUseCallerCredentials
bool GetUseCallerCredentials() const
Definition: DynamodbDataSourceConfig.h:127