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;
258 m_workerTypeHasBeenSet =
true;
259 m_workerType = value;
274 template <
typename SecurityConfigurationT = Aws::String>
276 m_securityConfigurationHasBeenSet =
true;
277 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
279 template <
typename SecurityConfigurationT = Aws::String>
293 template <
typename GlueVersionT = Aws::String>
295 m_glueVersionHasBeenSet =
true;
296 m_glueVersion = std::forward<GlueVersionT>(value);
298 template <
typename GlueVersionT = Aws::String>
311 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
313 m_tagsHasBeenSet =
true;
314 m_tags = std::forward<TagsT>(value);
316 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
318 SetTags(std::forward<TagsT>(value));
321 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
323 m_tagsHasBeenSet =
true;
324 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
335 template <
typename RequestOriginT = Aws::String>
337 m_requestOriginHasBeenSet =
true;
338 m_requestOrigin = std::forward<RequestOriginT>(value);
340 template <
typename RequestOriginT = Aws::String>
354 m_sessionTypeHasBeenSet =
true;
355 m_sessionType = value;
373 int m_idleTimeout{0};
377 ConnectionsList m_connections;
379 double m_maxCapacity{0.0};
381 int m_numberOfWorkers{0};
394 bool m_idHasBeenSet =
false;
395 bool m_descriptionHasBeenSet =
false;
396 bool m_roleHasBeenSet =
false;
397 bool m_commandHasBeenSet =
false;
398 bool m_timeoutHasBeenSet =
false;
399 bool m_idleTimeoutHasBeenSet =
false;
400 bool m_defaultArgumentsHasBeenSet =
false;
401 bool m_connectionsHasBeenSet =
false;
402 bool m_maxCapacityHasBeenSet =
false;
403 bool m_numberOfWorkersHasBeenSet =
false;
404 bool m_workerTypeHasBeenSet =
false;
405 bool m_securityConfigurationHasBeenSet =
false;
406 bool m_glueVersionHasBeenSet =
false;
407 bool m_tagsHasBeenSet =
false;
408 bool m_requestOriginHasBeenSet =
false;
409 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