AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DynamoDBTarget.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
28 public:
29 AWS_GLUE_API DynamoDBTarget() = default;
33
35
38 inline const Aws::String& GetPath() const { return m_path; }
39 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
40 template <typename PathT = Aws::String>
41 void SetPath(PathT&& value) {
42 m_pathHasBeenSet = true;
43 m_path = std::forward<PathT>(value);
44 }
45 template <typename PathT = Aws::String>
46 DynamoDBTarget& WithPath(PathT&& value) {
47 SetPath(std::forward<PathT>(value));
48 return *this;
49 }
51
53
60 inline bool GetScanAll() const { return m_scanAll; }
61 inline bool ScanAllHasBeenSet() const { return m_scanAllHasBeenSet; }
62 inline void SetScanAll(bool value) {
63 m_scanAllHasBeenSet = true;
64 m_scanAll = value;
65 }
66 inline DynamoDBTarget& WithScanAll(bool value) {
67 SetScanAll(value);
68 return *this;
69 }
71
73
82 inline double GetScanRate() const { return m_scanRate; }
83 inline bool ScanRateHasBeenSet() const { return m_scanRateHasBeenSet; }
84 inline void SetScanRate(double value) {
85 m_scanRateHasBeenSet = true;
86 m_scanRate = value;
87 }
88 inline DynamoDBTarget& WithScanRate(double value) {
89 SetScanRate(value);
90 return *this;
91 }
93 private:
94 Aws::String m_path;
95
96 bool m_scanAll{false};
97
98 double m_scanRate{0.0};
99 bool m_pathHasBeenSet = false;
100 bool m_scanAllHasBeenSet = false;
101 bool m_scanRateHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Glue
106} // namespace Aws
AWS_GLUE_API DynamoDBTarget()=default
AWS_GLUE_API DynamoDBTarget(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPath() const
DynamoDBTarget & WithScanRate(double value)
DynamoDBTarget & WithScanAll(bool value)
AWS_GLUE_API DynamoDBTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
DynamoDBTarget & WithPath(PathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue