AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataProviderRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/dms/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace DatabaseMigrationService
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_DATABASEMIGRATIONSERVICE_API CreateDataProviderRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateDataProvider"; }
34
35 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
36
37 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetDataProviderName() const{ return m_dataProviderName; }
45 inline bool DataProviderNameHasBeenSet() const { return m_dataProviderNameHasBeenSet; }
46 inline void SetDataProviderName(const Aws::String& value) { m_dataProviderNameHasBeenSet = true; m_dataProviderName = value; }
47 inline void SetDataProviderName(Aws::String&& value) { m_dataProviderNameHasBeenSet = true; m_dataProviderName = std::move(value); }
48 inline void SetDataProviderName(const char* value) { m_dataProviderNameHasBeenSet = true; m_dataProviderName.assign(value); }
50 inline CreateDataProviderRequest& WithDataProviderName(Aws::String&& value) { SetDataProviderName(std::move(value)); return *this;}
51 inline CreateDataProviderRequest& WithDataProviderName(const char* value) { SetDataProviderName(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline CreateDataProviderRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline CreateDataProviderRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline CreateDataProviderRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
77 inline const Aws::String& GetEngine() const{ return m_engine; }
78 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
79 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
80 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
81 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
82 inline CreateDataProviderRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
83 inline CreateDataProviderRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
84 inline CreateDataProviderRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
86
88
91 inline const DataProviderSettings& GetSettings() const{ return m_settings; }
92 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
93 inline void SetSettings(const DataProviderSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
94 inline void SetSettings(DataProviderSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
95 inline CreateDataProviderRequest& WithSettings(const DataProviderSettings& value) { SetSettings(value); return *this;}
96 inline CreateDataProviderRequest& WithSettings(DataProviderSettings&& value) { SetSettings(std::move(value)); return *this;}
98
100
103 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
104 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
105 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
106 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
107 inline CreateDataProviderRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
108 inline CreateDataProviderRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
109 inline CreateDataProviderRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
110 inline CreateDataProviderRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
112 private:
113
114 Aws::String m_dataProviderName;
115 bool m_dataProviderNameHasBeenSet = false;
116
117 Aws::String m_description;
118 bool m_descriptionHasBeenSet = false;
119
120 Aws::String m_engine;
121 bool m_engineHasBeenSet = false;
122
123 DataProviderSettings m_settings;
124 bool m_settingsHasBeenSet = false;
125
126 Aws::Vector<Tag> m_tags;
127 bool m_tagsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace DatabaseMigrationService
132} // namespace Aws
CreateDataProviderRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDataProviderRequest & WithDescription(Aws::String &&value)
CreateDataProviderRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDataProviderRequest & WithDataProviderName(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDataProviderRequest & WithDataProviderName(Aws::String &&value)
CreateDataProviderRequest & WithDataProviderName(const char *value)
CreateDataProviderRequest & WithEngine(const Aws::String &value)
CreateDataProviderRequest & WithSettings(const DataProviderSettings &value)
AWS_DATABASEMIGRATIONSERVICE_API CreateDataProviderRequest()
CreateDataProviderRequest & WithSettings(DataProviderSettings &&value)
CreateDataProviderRequest & WithEngine(Aws::String &&value)
CreateDataProviderRequest & WithDescription(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector