AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataMigrationSettings.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DatabaseMigrationService
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_DATABASEMIGRATIONSERVICE_API DataMigrationSettings();
37 AWS_DATABASEMIGRATIONSERVICE_API DataMigrationSettings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API DataMigrationSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline int GetNumberOfJobs() const{ return m_numberOfJobs; }
48 inline bool NumberOfJobsHasBeenSet() const { return m_numberOfJobsHasBeenSet; }
49 inline void SetNumberOfJobs(int value) { m_numberOfJobsHasBeenSet = true; m_numberOfJobs = value; }
50 inline DataMigrationSettings& WithNumberOfJobs(int value) { SetNumberOfJobs(value); return *this;}
52
54
57 inline bool GetCloudwatchLogsEnabled() const{ return m_cloudwatchLogsEnabled; }
58 inline bool CloudwatchLogsEnabledHasBeenSet() const { return m_cloudwatchLogsEnabledHasBeenSet; }
59 inline void SetCloudwatchLogsEnabled(bool value) { m_cloudwatchLogsEnabledHasBeenSet = true; m_cloudwatchLogsEnabled = value; }
62
64
68 inline const Aws::String& GetSelectionRules() const{ return m_selectionRules; }
69 inline bool SelectionRulesHasBeenSet() const { return m_selectionRulesHasBeenSet; }
70 inline void SetSelectionRules(const Aws::String& value) { m_selectionRulesHasBeenSet = true; m_selectionRules = value; }
71 inline void SetSelectionRules(Aws::String&& value) { m_selectionRulesHasBeenSet = true; m_selectionRules = std::move(value); }
72 inline void SetSelectionRules(const char* value) { m_selectionRulesHasBeenSet = true; m_selectionRules.assign(value); }
73 inline DataMigrationSettings& WithSelectionRules(const Aws::String& value) { SetSelectionRules(value); return *this;}
74 inline DataMigrationSettings& WithSelectionRules(Aws::String&& value) { SetSelectionRules(std::move(value)); return *this;}
75 inline DataMigrationSettings& WithSelectionRules(const char* value) { SetSelectionRules(value); return *this;}
77 private:
78
79 int m_numberOfJobs;
80 bool m_numberOfJobsHasBeenSet = false;
81
82 bool m_cloudwatchLogsEnabled;
83 bool m_cloudwatchLogsEnabledHasBeenSet = false;
84
85 Aws::String m_selectionRules;
86 bool m_selectionRulesHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace DatabaseMigrationService
91} // namespace Aws
DataMigrationSettings & WithSelectionRules(const Aws::String &value)
DataMigrationSettings & WithSelectionRules(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationSettings()
DataMigrationSettings & WithSelectionRules(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationSettings(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue