7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.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/SessionStatus.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 CreatedOnT = Aws::Utils::DateTime>
67 m_createdOnHasBeenSet =
true;
68 m_createdOn = std::forward<CreatedOnT>(value);
70 template <
typename CreatedOnT = Aws::Utils::DateTime>
84 m_statusHasBeenSet =
true;
99 template <
typename ErrorMessageT = Aws::String>
101 m_errorMessageHasBeenSet =
true;
102 m_errorMessage = std::forward<ErrorMessageT>(value);
104 template <
typename ErrorMessageT = Aws::String>
117 template <
typename DescriptionT = Aws::String>
119 m_descriptionHasBeenSet =
true;
120 m_description = std::forward<DescriptionT>(value);
122 template <
typename DescriptionT = Aws::String>
136 template <
typename RoleT = Aws::String>
138 m_roleHasBeenSet =
true;
139 m_role = std::forward<RoleT>(value);
141 template <
typename RoleT = Aws::String>
143 SetRole(std::forward<RoleT>(value));
154 template <
typename CommandT = SessionCommand>
156 m_commandHasBeenSet =
true;
157 m_command = std::forward<CommandT>(value);
159 template <
typename CommandT = SessionCommand>
172 template <
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
174 m_defaultArgumentsHasBeenSet =
true;
175 m_defaultArguments = std::forward<DefaultArgumentsT>(value);
177 template <
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
182 template <
typename DefaultArgumentsKeyT = Aws::String,
typename DefaultArgumentsValueT = Aws::String>
184 m_defaultArgumentsHasBeenSet =
true;
185 m_defaultArguments.emplace(std::forward<DefaultArgumentsKeyT>(key), std::forward<DefaultArgumentsValueT>(value));
196 template <
typename ConnectionsT = ConnectionsList>
198 m_connectionsHasBeenSet =
true;
199 m_connections = std::forward<ConnectionsT>(value);
201 template <
typename ConnectionsT = ConnectionsList>
215 m_progressHasBeenSet =
true;
233 m_maxCapacityHasBeenSet =
true;
234 m_maxCapacity = value;
249 template <
typename SecurityConfigurationT = Aws::String>
251 m_securityConfigurationHasBeenSet =
true;
252 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
254 template <
typename SecurityConfigurationT = Aws::String>
268 template <
typename GlueVersionT = Aws::String>
270 m_glueVersionHasBeenSet =
true;
271 m_glueVersion = std::forward<GlueVersionT>(value);
273 template <
typename GlueVersionT = Aws::String>
288 m_numberOfWorkersHasBeenSet =
true;
289 m_numberOfWorkers = value;
307 m_workerTypeHasBeenSet =
true;
308 m_workerType = value;
322 template <
typename CompletedOnT = Aws::Utils::DateTime>
324 m_completedOnHasBeenSet =
true;
325 m_completedOn = std::forward<CompletedOnT>(value);
327 template <
typename CompletedOnT = Aws::Utils::DateTime>
341 m_executionTimeHasBeenSet =
true;
342 m_executionTime = value;
357 m_dPUSecondsHasBeenSet =
true;
358 m_dPUSeconds = value;
373 m_idleTimeoutHasBeenSet =
true;
374 m_idleTimeout = value;
388 template <
typename ProfileNameT = Aws::String>
390 m_profileNameHasBeenSet =
true;
391 m_profileName = std::forward<ProfileNameT>(value);
393 template <
typename ProfileNameT = Aws::String>
412 SessionCommand m_command;
416 ConnectionsList m_connections;
418 double m_progress{0.0};
420 double m_maxCapacity{0.0};
426 int m_numberOfWorkers{0};
432 double m_executionTime{0.0};
434 double m_dPUSeconds{0.0};
436 int m_idleTimeout{0};
439 bool m_idHasBeenSet =
false;
440 bool m_createdOnHasBeenSet =
false;
441 bool m_statusHasBeenSet =
false;
442 bool m_errorMessageHasBeenSet =
false;
443 bool m_descriptionHasBeenSet =
false;
444 bool m_roleHasBeenSet =
false;
445 bool m_commandHasBeenSet =
false;
446 bool m_defaultArgumentsHasBeenSet =
false;
447 bool m_connectionsHasBeenSet =
false;
448 bool m_progressHasBeenSet =
false;
449 bool m_maxCapacityHasBeenSet =
false;
450 bool m_securityConfigurationHasBeenSet =
false;
451 bool m_glueVersionHasBeenSet =
false;
452 bool m_numberOfWorkersHasBeenSet =
false;
453 bool m_workerTypeHasBeenSet =
false;
454 bool m_completedOnHasBeenSet =
false;
455 bool m_executionTimeHasBeenSet =
false;
456 bool m_dPUSecondsHasBeenSet =
false;
457 bool m_idleTimeoutHasBeenSet =
false;
458 bool m_profileNameHasBeenSet =
false;
bool ProfileNameHasBeenSet() const
AWS_GLUE_API Session()=default
bool DefaultArgumentsHasBeenSet() const
void SetIdleTimeout(int value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
WorkerType GetWorkerType() const
const Aws::String & GetSecurityConfiguration() const
bool ConnectionsHasBeenSet() const
bool NumberOfWorkersHasBeenSet() const
void SetDefaultArguments(DefaultArgumentsT &&value)
bool ErrorMessageHasBeenSet() const
bool CommandHasBeenSet() const
void SetStatus(SessionStatus value)
bool CompletedOnHasBeenSet() const
int GetIdleTimeout() const
Session & WithWorkerType(WorkerType value)
double GetExecutionTime() const
void SetCommand(CommandT &&value)
Session & AddDefaultArguments(DefaultArgumentsKeyT &&key, DefaultArgumentsValueT &&value)
void SetConnections(ConnectionsT &&value)
Session & WithIdleTimeout(int value)
const Aws::String & GetId() const
Session & WithCreatedOn(CreatedOnT &&value)
void SetCreatedOn(CreatedOnT &&value)
void SetExecutionTime(double value)
const Aws::String & GetProfileName() const
void SetMaxCapacity(double value)
double GetMaxCapacity() const
Session & WithDefaultArguments(DefaultArgumentsT &&value)
bool RoleHasBeenSet() const
const ConnectionsList & GetConnections() const
void SetSecurityConfiguration(SecurityConfigurationT &&value)
const Aws::String & GetDescription() const
bool StatusHasBeenSet() const
Session & WithGlueVersion(GlueVersionT &&value)
void SetDPUSeconds(double value)
void SetErrorMessage(ErrorMessageT &&value)
const Aws::String & GetRole() const
const Aws::Utils::DateTime & GetCompletedOn() const
bool DPUSecondsHasBeenSet() const
void SetProgress(double value)
Session & WithConnections(ConnectionsT &&value)
void SetRole(RoleT &&value)
double GetProgress() const
Session & WithNumberOfWorkers(int value)
Session & WithDPUSeconds(double value)
Session & WithStatus(SessionStatus value)
const SessionCommand & GetCommand() const
Session & WithProfileName(ProfileNameT &&value)
double GetDPUSeconds() const
void SetGlueVersion(GlueVersionT &&value)
bool DescriptionHasBeenSet() const
int GetNumberOfWorkers() const
void SetWorkerType(WorkerType value)
const Aws::String & GetErrorMessage() const
bool ExecutionTimeHasBeenSet() const
bool MaxCapacityHasBeenSet() const
bool CreatedOnHasBeenSet() const
Session & WithExecutionTime(double value)
void SetProfileName(ProfileNameT &&value)
Session & WithMaxCapacity(double value)
bool ProgressHasBeenSet() const
bool SecurityConfigurationHasBeenSet() const
SessionStatus GetStatus() const
void SetNumberOfWorkers(int value)
Session & WithDescription(DescriptionT &&value)
Session & WithCommand(CommandT &&value)
Session & WithProgress(double value)
const Aws::Utils::DateTime & GetCreatedOn() const
const Aws::Map< Aws::String, Aws::String > & GetDefaultArguments() const
bool WorkerTypeHasBeenSet() const
Session & WithId(IdT &&value)
void SetCompletedOn(CompletedOnT &&value)
Session & WithSecurityConfiguration(SecurityConfigurationT &&value)
Session & WithCompletedOn(CompletedOnT &&value)
bool IdleTimeoutHasBeenSet() const
const Aws::String & GetGlueVersion() const
void SetDescription(DescriptionT &&value)
bool IdHasBeenSet() const
AWS_GLUE_API Session(Aws::Utils::Json::JsonView jsonValue)
Session & WithErrorMessage(ErrorMessageT &&value)
AWS_GLUE_API Session & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GlueVersionHasBeenSet() const
Session & WithRole(RoleT &&value)
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
Aws::Utils::Json::JsonValue JsonValue