AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename SelectionRulesT = Aws::String>
71 void SetSelectionRules(SelectionRulesT&& value) { m_selectionRulesHasBeenSet = true; m_selectionRules = std::forward<SelectionRulesT>(value); }
72 template<typename SelectionRulesT = Aws::String>
73 DataMigrationSettings& WithSelectionRules(SelectionRulesT&& value) { SetSelectionRules(std::forward<SelectionRulesT>(value)); return *this;}
75 private:
76
77 int m_numberOfJobs{0};
78 bool m_numberOfJobsHasBeenSet = false;
79
80 bool m_cloudwatchLogsEnabled{false};
81 bool m_cloudwatchLogsEnabledHasBeenSet = false;
82
83 Aws::String m_selectionRules;
84 bool m_selectionRulesHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace DatabaseMigrationService
89} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
DataMigrationSettings & WithSelectionRules(SelectionRulesT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API DataMigrationSettings()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue