7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/GlueRequest.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/ConnectionsList.h>
12#include <aws/glue/model/SessionCommand.h>
13#include <aws/glue/model/WorkerType.h>
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
82 template <
typename RoleT = Aws::String>
84 m_roleHasBeenSet =
true;
85 m_role = std::forward<RoleT>(value);
87 template <
typename RoleT = Aws::String>
89 SetRole(std::forward<RoleT>(value));
100 template <
typename CommandT = SessionCommand>
102 m_commandHasBeenSet =
true;
103 m_command = std::forward<CommandT>(value);
105 template <
typename CommandT = SessionCommand>
120 m_timeoutHasBeenSet =
true;
138 m_idleTimeoutHasBeenSet =
true;
139 m_idleTimeout = value;
153 template <
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
155 m_defaultArgumentsHasBeenSet =
true;
156 m_defaultArguments = std::forward<DefaultArgumentsT>(value);
158 template <
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
163 template <
typename DefaultArgumentsKeyT = Aws::String,
typename DefaultArgumentsValueT = Aws::String>
165 m_defaultArgumentsHasBeenSet =
true;
166 m_defaultArguments.emplace(std::forward<DefaultArgumentsKeyT>(key), std::forward<DefaultArgumentsValueT>(value));
177 template <
typename ConnectionsT = ConnectionsList>
179 m_connectionsHasBeenSet =
true;
180 m_connections = std::forward<ConnectionsT>(value);
182 template <
typename ConnectionsT = ConnectionsList>
198 m_maxCapacityHasBeenSet =
true;
199 m_maxCapacity = value;
215 m_numberOfWorkersHasBeenSet =
true;
216 m_numberOfWorkers = value;
257 m_workerTypeHasBeenSet =
true;
258 m_workerType = value;
273 template <
typename SecurityConfigurationT = Aws::String>
275 m_securityConfigurationHasBeenSet =
true;
276 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
278 template <
typename SecurityConfigurationT = Aws::String>
292 template <
typename GlueVersionT = Aws::String>
294 m_glueVersionHasBeenSet =
true;
295 m_glueVersion = std::forward<GlueVersionT>(value);
297 template <
typename GlueVersionT = Aws::String>
310 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
312 m_tagsHasBeenSet =
true;
313 m_tags = std::forward<TagsT>(value);
315 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
317 SetTags(std::forward<TagsT>(value));
320 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
322 m_tagsHasBeenSet =
true;
323 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
334 template <
typename RequestOriginT = Aws::String>
336 m_requestOriginHasBeenSet =
true;
337 m_requestOrigin = std::forward<RequestOriginT>(value);
339 template <
typename RequestOriginT = Aws::String>
356 int m_idleTimeout{0};
360 ConnectionsList m_connections;
362 double m_maxCapacity{0.0};
364 int m_numberOfWorkers{0};
375 bool m_idHasBeenSet =
false;
376 bool m_descriptionHasBeenSet =
false;
377 bool m_roleHasBeenSet =
false;
378 bool m_commandHasBeenSet =
false;
379 bool m_timeoutHasBeenSet =
false;
380 bool m_idleTimeoutHasBeenSet =
false;
381 bool m_defaultArgumentsHasBeenSet =
false;
382 bool m_connectionsHasBeenSet =
false;
383 bool m_maxCapacityHasBeenSet =
false;
384 bool m_numberOfWorkersHasBeenSet =
false;
385 bool m_workerTypeHasBeenSet =
false;
386 bool m_securityConfigurationHasBeenSet =
false;
387 bool m_glueVersionHasBeenSet =
false;
388 bool m_tagsHasBeenSet =
false;
389 bool m_requestOriginHasBeenSet =
false;
bool SecurityConfigurationHasBeenSet() const
const ConnectionsList & GetConnections() const
bool RequestOriginHasBeenSet() const
void SetTags(TagsT &&value)
CreateSessionRequest & WithTimeout(int value)
AWS_GLUE_API Aws::String SerializePayload() const override
CreateSessionRequest & WithDefaultArguments(DefaultArgumentsT &&value)
CreateSessionRequest & WithCommand(CommandT &&value)
CreateSessionRequest & WithMaxCapacity(double value)
void SetMaxCapacity(double value)
void SetConnections(ConnectionsT &&value)
double GetMaxCapacity() const
CreateSessionRequest & WithDescription(DescriptionT &&value)
CreateSessionRequest & WithWorkerType(WorkerType value)
void SetTimeout(int value)
void SetCommand(CommandT &&value)
bool WorkerTypeHasBeenSet() const
bool TagsHasBeenSet() const
CreateSessionRequest & WithIdleTimeout(int value)
bool DefaultArgumentsHasBeenSet() const
void SetIdleTimeout(int value)
bool IdHasBeenSet() const
CreateSessionRequest & WithId(IdT &&value)
CreateSessionRequest & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDefaultArguments() const
void SetWorkerType(WorkerType value)
CreateSessionRequest & WithConnections(ConnectionsT &&value)
WorkerType GetWorkerType() const
CreateSessionRequest & AddDefaultArguments(DefaultArgumentsKeyT &&key, DefaultArgumentsValueT &&value)
bool MaxCapacityHasBeenSet() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateSessionRequest & WithRole(RoleT &&value)
int GetIdleTimeout() const
void SetGlueVersion(GlueVersionT &&value)
bool ConnectionsHasBeenSet() const
bool CommandHasBeenSet() const
const Aws::String & GetRequestOrigin() const
void SetDescription(DescriptionT &&value)
const SessionCommand & GetCommand() const
CreateSessionRequest & WithSecurityConfiguration(SecurityConfigurationT &&value)
void SetSecurityConfiguration(SecurityConfigurationT &&value)
bool RoleHasBeenSet() const
bool IdleTimeoutHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetRequestOrigin(RequestOriginT &&value)
void SetNumberOfWorkers(int value)
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API CreateSessionRequest()=default
const Aws::String & GetGlueVersion() const
void SetRole(RoleT &&value)
CreateSessionRequest & WithRequestOrigin(RequestOriginT &&value)
void SetDefaultArguments(DefaultArgumentsT &&value)
const Aws::String & GetSecurityConfiguration() const
CreateSessionRequest & WithGlueVersion(GlueVersionT &&value)
int GetNumberOfWorkers() const
const Aws::String & GetDescription() const
bool GlueVersionHasBeenSet() const
CreateSessionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool TimeoutHasBeenSet() const
bool NumberOfWorkersHasBeenSet() const
const Aws::String & GetId() const
CreateSessionRequest & WithNumberOfWorkers(int value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetRole() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String