AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyDataProviderRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dms/model/DataProviderSettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DatabaseMigrationService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATABASEMIGRATIONSERVICE_API ModifyDataProviderRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ModifyDataProvider"; }
32
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
44 inline const Aws::String& GetDataProviderIdentifier() const{ return m_dataProviderIdentifier; }
45 inline bool DataProviderIdentifierHasBeenSet() const { return m_dataProviderIdentifierHasBeenSet; }
46 inline void SetDataProviderIdentifier(const Aws::String& value) { m_dataProviderIdentifierHasBeenSet = true; m_dataProviderIdentifier = value; }
47 inline void SetDataProviderIdentifier(Aws::String&& value) { m_dataProviderIdentifierHasBeenSet = true; m_dataProviderIdentifier = std::move(value); }
48 inline void SetDataProviderIdentifier(const char* value) { m_dataProviderIdentifierHasBeenSet = true; m_dataProviderIdentifier.assign(value); }
51 inline ModifyDataProviderRequest& WithDataProviderIdentifier(const char* value) { SetDataProviderIdentifier(value); return *this;}
53
55
58 inline const Aws::String& GetDataProviderName() const{ return m_dataProviderName; }
59 inline bool DataProviderNameHasBeenSet() const { return m_dataProviderNameHasBeenSet; }
60 inline void SetDataProviderName(const Aws::String& value) { m_dataProviderNameHasBeenSet = true; m_dataProviderName = value; }
61 inline void SetDataProviderName(Aws::String&& value) { m_dataProviderNameHasBeenSet = true; m_dataProviderName = std::move(value); }
62 inline void SetDataProviderName(const char* value) { m_dataProviderNameHasBeenSet = true; m_dataProviderName.assign(value); }
64 inline ModifyDataProviderRequest& WithDataProviderName(Aws::String&& value) { SetDataProviderName(std::move(value)); return *this;}
65 inline ModifyDataProviderRequest& WithDataProviderName(const char* value) { SetDataProviderName(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline ModifyDataProviderRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline ModifyDataProviderRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline ModifyDataProviderRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
91 inline const Aws::String& GetEngine() const{ return m_engine; }
92 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
93 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
94 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
95 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
96 inline ModifyDataProviderRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
97 inline ModifyDataProviderRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
98 inline ModifyDataProviderRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
100
102
111 inline bool GetExactSettings() const{ return m_exactSettings; }
112 inline bool ExactSettingsHasBeenSet() const { return m_exactSettingsHasBeenSet; }
113 inline void SetExactSettings(bool value) { m_exactSettingsHasBeenSet = true; m_exactSettings = value; }
114 inline ModifyDataProviderRequest& WithExactSettings(bool value) { SetExactSettings(value); return *this;}
116
118
121 inline const DataProviderSettings& GetSettings() const{ return m_settings; }
122 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
123 inline void SetSettings(const DataProviderSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
124 inline void SetSettings(DataProviderSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
125 inline ModifyDataProviderRequest& WithSettings(const DataProviderSettings& value) { SetSettings(value); return *this;}
126 inline ModifyDataProviderRequest& WithSettings(DataProviderSettings&& value) { SetSettings(std::move(value)); return *this;}
128 private:
129
130 Aws::String m_dataProviderIdentifier;
131 bool m_dataProviderIdentifierHasBeenSet = false;
132
133 Aws::String m_dataProviderName;
134 bool m_dataProviderNameHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138
139 Aws::String m_engine;
140 bool m_engineHasBeenSet = false;
141
142 bool m_exactSettings;
143 bool m_exactSettingsHasBeenSet = false;
144
145 DataProviderSettings m_settings;
146 bool m_settingsHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace DatabaseMigrationService
151} // namespace Aws
ModifyDataProviderRequest & WithDataProviderIdentifier(Aws::String &&value)
ModifyDataProviderRequest & WithDataProviderIdentifier(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
ModifyDataProviderRequest & WithEngine(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API ModifyDataProviderRequest()
ModifyDataProviderRequest & WithEngine(Aws::String &&value)
ModifyDataProviderRequest & WithDataProviderName(const Aws::String &value)
ModifyDataProviderRequest & WithDescription(const Aws::String &value)
ModifyDataProviderRequest & WithSettings(DataProviderSettings &&value)
ModifyDataProviderRequest & WithDataProviderName(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ModifyDataProviderRequest & WithDataProviderIdentifier(const Aws::String &value)
ModifyDataProviderRequest & WithDescription(Aws::String &&value)
ModifyDataProviderRequest & WithDataProviderName(Aws::String &&value)
ModifyDataProviderRequest & WithSettings(const DataProviderSettings &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String