AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentDBEventSourceConfig.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/model/FullDocument.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 Lambda
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
47 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
48 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
49 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
50 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
51 inline DocumentDBEventSourceConfig& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
52 inline DocumentDBEventSourceConfig& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
53 inline DocumentDBEventSourceConfig& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
55
57
61 inline const Aws::String& GetCollectionName() const{ return m_collectionName; }
62 inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
63 inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; }
64 inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); }
65 inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); }
66 inline DocumentDBEventSourceConfig& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;}
67 inline DocumentDBEventSourceConfig& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;}
68 inline DocumentDBEventSourceConfig& WithCollectionName(const char* value) { SetCollectionName(value); return *this;}
70
72
78 inline const FullDocument& GetFullDocument() const{ return m_fullDocument; }
79 inline bool FullDocumentHasBeenSet() const { return m_fullDocumentHasBeenSet; }
80 inline void SetFullDocument(const FullDocument& value) { m_fullDocumentHasBeenSet = true; m_fullDocument = value; }
81 inline void SetFullDocument(FullDocument&& value) { m_fullDocumentHasBeenSet = true; m_fullDocument = std::move(value); }
82 inline DocumentDBEventSourceConfig& WithFullDocument(const FullDocument& value) { SetFullDocument(value); return *this;}
83 inline DocumentDBEventSourceConfig& WithFullDocument(FullDocument&& value) { SetFullDocument(std::move(value)); return *this;}
85 private:
86
87 Aws::String m_databaseName;
88 bool m_databaseNameHasBeenSet = false;
89
90 Aws::String m_collectionName;
91 bool m_collectionNameHasBeenSet = false;
92
93 FullDocument m_fullDocument;
94 bool m_fullDocumentHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Lambda
99} // namespace Aws
DocumentDBEventSourceConfig & WithCollectionName(const char *value)
DocumentDBEventSourceConfig & WithCollectionName(Aws::String &&value)
DocumentDBEventSourceConfig & WithDatabaseName(const Aws::String &value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentDBEventSourceConfig & WithFullDocument(const FullDocument &value)
DocumentDBEventSourceConfig & WithDatabaseName(Aws::String &&value)
AWS_LAMBDA_API DocumentDBEventSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentDBEventSourceConfig & WithFullDocument(FullDocument &&value)
DocumentDBEventSourceConfig & WithDatabaseName(const char *value)
DocumentDBEventSourceConfig & WithCollectionName(const Aws::String &value)
AWS_LAMBDA_API DocumentDBEventSourceConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue