AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DataMigrationSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DatabaseMigrationService {
20namespace Model {
21
30 public:
31 AWS_DATABASEMIGRATIONSERVICE_API DataMigrationSettings() = default;
32 AWS_DATABASEMIGRATIONSERVICE_API DataMigrationSettings(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DATABASEMIGRATIONSERVICE_API DataMigrationSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline int GetNumberOfJobs() const { return m_numberOfJobs; }
42 inline bool NumberOfJobsHasBeenSet() const { return m_numberOfJobsHasBeenSet; }
43 inline void SetNumberOfJobs(int value) {
44 m_numberOfJobsHasBeenSet = true;
45 m_numberOfJobs = value;
46 }
48 SetNumberOfJobs(value);
49 return *this;
50 }
52
54
57 inline bool GetCloudwatchLogsEnabled() const { return m_cloudwatchLogsEnabled; }
58 inline bool CloudwatchLogsEnabledHasBeenSet() const { return m_cloudwatchLogsEnabledHasBeenSet; }
59 inline void SetCloudwatchLogsEnabled(bool value) {
60 m_cloudwatchLogsEnabledHasBeenSet = true;
61 m_cloudwatchLogsEnabled = value;
62 }
65 return *this;
66 }
68
70
74 inline const Aws::String& GetSelectionRules() const { return m_selectionRules; }
75 inline bool SelectionRulesHasBeenSet() const { return m_selectionRulesHasBeenSet; }
76 template <typename SelectionRulesT = Aws::String>
77 void SetSelectionRules(SelectionRulesT&& value) {
78 m_selectionRulesHasBeenSet = true;
79 m_selectionRules = std::forward<SelectionRulesT>(value);
80 }
81 template <typename SelectionRulesT = Aws::String>
82 DataMigrationSettings& WithSelectionRules(SelectionRulesT&& value) {
83 SetSelectionRules(std::forward<SelectionRulesT>(value));
84 return *this;
85 }
87 private:
88 int m_numberOfJobs{0};
89
90 bool m_cloudwatchLogsEnabled{false};
91
92 Aws::String m_selectionRules;
93 bool m_numberOfJobsHasBeenSet = false;
94 bool m_cloudwatchLogsEnabledHasBeenSet = false;
95 bool m_selectionRulesHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DatabaseMigrationService
100} // 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