7#include <aws/context/ContextRequest.h>
8#include <aws/context/Context_EXPORTS.h>
9#include <aws/context/model/AccessConfig.h>
10#include <aws/context/model/DataSourceScope.h>
11#include <aws/context/model/GlueConnectionMapping.h>
12#include <aws/context/model/IngestionConfig.h>
13#include <aws/context/model/SyncSchedule.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
46 template <
typename ConnectionIdT = Aws::String>
48 m_connectionIdHasBeenSet =
true;
49 m_connectionId = std::forward<ConnectionIdT>(value);
51 template <
typename ConnectionIdT = Aws::String>
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
92 template <
typename ScopeT = DataSourceScope>
94 m_scopeHasBeenSet =
true;
95 m_scope = std::forward<ScopeT>(value);
97 template <
typename ScopeT = DataSourceScope>
99 SetScope(std::forward<ScopeT>(value));
122 template <
typename AccessConfigT = AccessConfig>
124 m_accessConfigHasBeenSet =
true;
125 m_accessConfig = std::forward<AccessConfigT>(value);
127 template <
typename AccessConfigT = AccessConfig>
143 template <
typename SyncScheduleT = SyncSchedule>
145 m_syncScheduleHasBeenSet =
true;
146 m_syncSchedule = std::forward<SyncScheduleT>(value);
148 template <
typename SyncScheduleT = SyncSchedule>
165 template <
typename IngestionConfigT = IngestionConfig>
167 m_ingestionConfigHasBeenSet =
true;
168 m_ingestionConfig = std::forward<IngestionConfigT>(value);
170 template <
typename IngestionConfigT = IngestionConfig>
191 template <
typename GlueConnectionMappingsT = Aws::Vector<GlueConnectionMapping>>
193 m_glueConnectionMappingsHasBeenSet =
true;
194 m_glueConnectionMappings = std::forward<GlueConnectionMappingsT>(value);
196 template <
typename GlueConnectionMappingsT = Aws::Vector<GlueConnectionMapping>>
201 template <
typename GlueConnectionMappingsT = GlueConnectionMapping>
203 m_glueConnectionMappingsHasBeenSet =
true;
204 m_glueConnectionMappings.emplace_back(std::forward<GlueConnectionMappingsT>(value));
221 m_publishHasBeenSet =
true;
244 bool m_publish{
false};
245 bool m_connectionIdHasBeenSet =
false;
246 bool m_nameHasBeenSet =
false;
247 bool m_scopeHasBeenSet =
false;
248 bool m_accessConfigHasBeenSet =
false;
249 bool m_syncScheduleHasBeenSet =
false;
250 bool m_ingestionConfigHasBeenSet =
false;
251 bool m_glueConnectionMappingsHasBeenSet =
false;
252 bool m_publishHasBeenSet =
false;
const DataSourceScope & GetScope() const
UpdateConnectionRequest & WithSyncSchedule(SyncScheduleT &&value)
bool ConnectionIdHasBeenSet() const
bool PublishHasBeenSet() const
UpdateConnectionRequest & WithScope(ScopeT &&value)
UpdateConnectionRequest & WithAccessConfig(AccessConfigT &&value)
void SetScope(ScopeT &&value)
const Aws::String & GetConnectionId() const
void SetSyncSchedule(SyncScheduleT &&value)
const SyncSchedule & GetSyncSchedule() const
void SetAccessConfig(AccessConfigT &&value)
AWS_CONTEXT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const IngestionConfig & GetIngestionConfig() const
UpdateConnectionRequest & WithPublish(bool value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetName() const
bool GlueConnectionMappingsHasBeenSet() const
void SetIngestionConfig(IngestionConfigT &&value)
void SetConnectionId(ConnectionIdT &&value)
UpdateConnectionRequest & WithName(NameT &&value)
bool NameHasBeenSet() const
void SetPublish(bool value)
bool AccessConfigHasBeenSet() const
void SetGlueConnectionMappings(GlueConnectionMappingsT &&value)
bool SyncScheduleHasBeenSet() const
UpdateConnectionRequest & WithGlueConnectionMappings(GlueConnectionMappingsT &&value)
AWS_CONTEXT_API UpdateConnectionRequest()=default
bool IngestionConfigHasBeenSet() const
UpdateConnectionRequest & WithIngestionConfig(IngestionConfigT &&value)
AWS_CONTEXT_API Aws::String SerializePayload() const override
const AccessConfig & GetAccessConfig() const
UpdateConnectionRequest & WithConnectionId(ConnectionIdT &&value)
void SetName(NameT &&value)
const Aws::Vector< GlueConnectionMapping > & GetGlueConnectionMappings() const
bool ScopeHasBeenSet() const
UpdateConnectionRequest & AddGlueConnectionMappings(GlueConnectionMappingsT &&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