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/SessionType.h>
14#include <aws/glue/model/WorkerType.h>
47 template <
typename IdT = Aws::String>
49 m_idHasBeenSet =
true;
50 m_id = std::forward<IdT>(value);
52 template <
typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
65 template <
typename DescriptionT = Aws::String>
67 m_descriptionHasBeenSet =
true;
68 m_description = std::forward<DescriptionT>(value);
70 template <
typename DescriptionT = Aws::String>
83 template <
typename RoleT = Aws::String>
85 m_roleHasBeenSet =
true;
86 m_role = std::forward<RoleT>(value);
88 template <
typename RoleT = Aws::String>
90 SetRole(std::forward<RoleT>(value));
101 template <
typename CommandT = SessionCommand>
103 m_commandHasBeenSet =
true;
104 m_command = std::forward<CommandT>(value);
106 template <
typename CommandT = SessionCommand>
121 m_timeoutHasBeenSet =
true;
139 m_idleTimeoutHasBeenSet =
true;
140 m_idleTimeout = value;
154 template <
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
156 m_defaultArgumentsHasBeenSet =
true;
157 m_defaultArguments = std::forward<DefaultArgumentsT>(value);
159 template <
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
164 template <
typename DefaultArgumentsKeyT = Aws::String,
typename DefaultArgumentsValueT = Aws::String>
166 m_defaultArgumentsHasBeenSet =
true;
167 m_defaultArguments.emplace(std::forward<DefaultArgumentsKeyT>(key), std::forward<DefaultArgumentsValueT>(value));
178 template <
typename ConnectionsT = ConnectionsList>
180 m_connectionsHasBeenSet =
true;
181 m_connections = std::forward<ConnectionsT>(value);
183 template <
typename ConnectionsT = ConnectionsList>
199 m_maxCapacityHasBeenSet =
true;
200 m_maxCapacity = value;
216 m_numberOfWorkersHasBeenSet =
true;
217 m_numberOfWorkers = value;
303 m_workerTypeHasBeenSet =
true;
304 m_workerType = value;
319 template <
typename SecurityConfigurationT = Aws::String>
321 m_securityConfigurationHasBeenSet =
true;
322 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
324 template <
typename SecurityConfigurationT = Aws::String>
338 template <
typename GlueVersionT = Aws::String>
340 m_glueVersionHasBeenSet =
true;
341 m_glueVersion = std::forward<GlueVersionT>(value);
343 template <
typename GlueVersionT = Aws::String>
356 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
358 m_tagsHasBeenSet =
true;
359 m_tags = std::forward<TagsT>(value);
361 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
363 SetTags(std::forward<TagsT>(value));
366 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
368 m_tagsHasBeenSet =
true;
369 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
380 template <
typename RequestOriginT = Aws::String>
382 m_requestOriginHasBeenSet =
true;
383 m_requestOrigin = std::forward<RequestOriginT>(value);
385 template <
typename RequestOriginT = Aws::String>
399 m_sessionTypeHasBeenSet =
true;
400 m_sessionType = value;
418 int m_idleTimeout{0};
422 ConnectionsList m_connections;
424 double m_maxCapacity{0.0};
426 int m_numberOfWorkers{0};
439 bool m_idHasBeenSet =
false;
440 bool m_descriptionHasBeenSet =
false;
441 bool m_roleHasBeenSet =
false;
442 bool m_commandHasBeenSet =
false;
443 bool m_timeoutHasBeenSet =
false;
444 bool m_idleTimeoutHasBeenSet =
false;
445 bool m_defaultArgumentsHasBeenSet =
false;
446 bool m_connectionsHasBeenSet =
false;
447 bool m_maxCapacityHasBeenSet =
false;
448 bool m_numberOfWorkersHasBeenSet =
false;
449 bool m_workerTypeHasBeenSet =
false;
450 bool m_securityConfigurationHasBeenSet =
false;
451 bool m_glueVersionHasBeenSet =
false;
452 bool m_tagsHasBeenSet =
false;
453 bool m_requestOriginHasBeenSet =
false;
454 bool m_sessionTypeHasBeenSet =
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)
SessionType GetSessionType() const
bool DefaultArgumentsHasBeenSet() const
void SetIdleTimeout(int value)
CreateSessionRequest & WithSessionType(SessionType 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
bool SessionTypeHasBeenSet() 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
void SetSessionType(SessionType value)
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