7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/glue/model/SessionStatus.h>
11#include <aws/glue/model/SessionCommand.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/glue/model/ConnectionsList.h>
14#include <aws/glue/model/WorkerType.h>
54 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
55 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
93 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
107 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
122 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
156 inline Session&
AddDefaultArguments(
const char* key,
const char* value) { m_defaultArgumentsHasBeenSet =
true; m_defaultArguments.emplace(key, value);
return *
this; }
177 inline void SetProgress(
double value) { m_progressHasBeenSet =
true; m_progress = value; }
189 inline void SetMaxCapacity(
double value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
202 inline void SetSecurityConfiguration(
const char* value) { m_securityConfigurationHasBeenSet =
true; m_securityConfiguration.assign(value); }
217 inline void SetGlueVersion(
const char* value) { m_glueVersionHasBeenSet =
true; m_glueVersion.assign(value); }
230 inline void SetNumberOfWorkers(
int value) { m_numberOfWorkersHasBeenSet =
true; m_numberOfWorkers = value; }
267 inline void SetExecutionTime(
double value) { m_executionTimeHasBeenSet =
true; m_executionTime = value; }
277 inline void SetDPUSeconds(
double value) { m_dPUSecondsHasBeenSet =
true; m_dPUSeconds = value; }
287 inline void SetIdleTimeout(
int value) { m_idleTimeoutHasBeenSet =
true; m_idleTimeout = value; }
299 inline void SetProfileName(
const char* value) { m_profileNameHasBeenSet =
true; m_profileName.assign(value); }
307 bool m_idHasBeenSet =
false;
310 bool m_createdOnHasBeenSet =
false;
313 bool m_statusHasBeenSet =
false;
316 bool m_errorMessageHasBeenSet =
false;
319 bool m_descriptionHasBeenSet =
false;
322 bool m_roleHasBeenSet =
false;
325 bool m_commandHasBeenSet =
false;
328 bool m_defaultArgumentsHasBeenSet =
false;
331 bool m_connectionsHasBeenSet =
false;
334 bool m_progressHasBeenSet =
false;
336 double m_maxCapacity;
337 bool m_maxCapacityHasBeenSet =
false;
340 bool m_securityConfigurationHasBeenSet =
false;
343 bool m_glueVersionHasBeenSet =
false;
345 int m_numberOfWorkers;
346 bool m_numberOfWorkersHasBeenSet =
false;
349 bool m_workerTypeHasBeenSet =
false;
352 bool m_completedOnHasBeenSet =
false;
354 double m_executionTime;
355 bool m_executionTimeHasBeenSet =
false;
358 bool m_dPUSecondsHasBeenSet =
false;
361 bool m_idleTimeoutHasBeenSet =
false;
364 bool m_profileNameHasBeenSet =
false;
bool ProfileNameHasBeenSet() const
Session & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
Session & WithCreatedOn(const Aws::Utils::DateTime &value)
Session & WithErrorMessage(Aws::String &&value)
void SetCompletedOn(const Aws::Utils::DateTime &value)
bool DefaultArgumentsHasBeenSet() const
void SetIdleTimeout(int value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Session & WithCommand(SessionCommand &&value)
void SetCreatedOn(const Aws::Utils::DateTime &value)
const SessionStatus & GetStatus() const
const Aws::String & GetSecurityConfiguration() const
void SetCreatedOn(Aws::Utils::DateTime &&value)
Session & WithRole(const char *value)
void SetCommand(const SessionCommand &value)
void SetRole(const char *value)
bool ConnectionsHasBeenSet() const
bool NumberOfWorkersHasBeenSet() const
Session & WithCompletedOn(const Aws::Utils::DateTime &value)
bool ErrorMessageHasBeenSet() const
bool CommandHasBeenSet() const
bool CompletedOnHasBeenSet() const
int GetIdleTimeout() const
void SetSecurityConfiguration(Aws::String &&value)
Session & WithGlueVersion(Aws::String &&value)
void SetErrorMessage(const char *value)
Session & WithSecurityConfiguration(const char *value)
double GetExecutionTime() const
Session & WithProfileName(Aws::String &&value)
void SetGlueVersion(Aws::String &&value)
Session & WithDefaultArguments(const Aws::Map< Aws::String, Aws::String > &value)
void SetId(Aws::String &&value)
Session & WithId(Aws::String &&value)
Session & WithDefaultArguments(Aws::Map< Aws::String, Aws::String > &&value)
Session & WithProfileName(const Aws::String &value)
Session & WithDescription(Aws::String &&value)
void SetDefaultArguments(Aws::Map< Aws::String, Aws::String > &&value)
Session & WithCommand(const SessionCommand &value)
Session & AddDefaultArguments(Aws::String &&key, const char *value)
Session & AddDefaultArguments(const Aws::String &key, Aws::String &&value)
Session & WithIdleTimeout(int value)
const Aws::String & GetId() const
void SetDefaultArguments(const Aws::Map< Aws::String, Aws::String > &value)
Session & WithSecurityConfiguration(const Aws::String &value)
Session & WithErrorMessage(const Aws::String &value)
Session & WithProfileName(const char *value)
Session & WithConnections(const ConnectionsList &value)
void SetExecutionTime(double value)
void SetWorkerType(WorkerType &&value)
void SetStatus(const SessionStatus &value)
const Aws::String & GetProfileName() const
void SetDescription(const char *value)
void SetMaxCapacity(double value)
double GetMaxCapacity() const
bool RoleHasBeenSet() const
Session & WithErrorMessage(const char *value)
const ConnectionsList & GetConnections() const
const Aws::String & GetDescription() const
bool StatusHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
void SetErrorMessage(Aws::String &&value)
void SetConnections(const ConnectionsList &value)
void SetId(const char *value)
void SetDPUSeconds(double value)
Session & WithCompletedOn(Aws::Utils::DateTime &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetRole() const
const Aws::Utils::DateTime & GetCompletedOn() const
bool DPUSecondsHasBeenSet() const
void SetProgress(double value)
void SetGlueVersion(const char *value)
void SetGlueVersion(const Aws::String &value)
double GetProgress() const
Session & WithNumberOfWorkers(int value)
Session & WithDescription(const Aws::String &value)
Session & WithDPUSeconds(double value)
const SessionCommand & GetCommand() const
void SetId(const Aws::String &value)
double GetDPUSeconds() const
Session & WithCreatedOn(Aws::Utils::DateTime &&value)
bool DescriptionHasBeenSet() const
int GetNumberOfWorkers() const
Session & WithConnections(ConnectionsList &&value)
Session & AddDefaultArguments(const Aws::String &key, const Aws::String &value)
const WorkerType & GetWorkerType() const
void SetCompletedOn(Aws::Utils::DateTime &&value)
Session & AddDefaultArguments(const char *key, const char *value)
void SetSecurityConfiguration(const char *value)
const Aws::String & GetErrorMessage() const
void SetSecurityConfiguration(const Aws::String &value)
void SetWorkerType(const WorkerType &value)
bool ExecutionTimeHasBeenSet() const
bool MaxCapacityHasBeenSet() const
Session & WithGlueVersion(const Aws::String &value)
bool CreatedOnHasBeenSet() const
Session & WithExecutionTime(double value)
Session & WithMaxCapacity(double value)
void SetConnections(ConnectionsList &&value)
void SetStatus(SessionStatus &&value)
void SetRole(const Aws::String &value)
bool ProgressHasBeenSet() const
bool SecurityConfigurationHasBeenSet() const
Session & WithWorkerType(const WorkerType &value)
void SetNumberOfWorkers(int value)
void SetProfileName(const char *value)
void SetProfileName(Aws::String &&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(const char *value)
Session & AddDefaultArguments(Aws::String &&key, Aws::String &&value)
void SetProfileName(const Aws::String &value)
Session & WithId(const Aws::String &value)
Session & WithWorkerType(WorkerType &&value)
Session & WithRole(Aws::String &&value)
Session & AddDefaultArguments(const char *key, Aws::String &&value)
void SetRole(Aws::String &&value)
Session & AddDefaultArguments(Aws::String &&key, const Aws::String &value)
Session & WithRole(const Aws::String &value)
bool IdleTimeoutHasBeenSet() const
Session & WithGlueVersion(const char *value)
Session & WithStatus(const SessionStatus &value)
void SetCommand(SessionCommand &&value)
const Aws::String & GetGlueVersion() const
bool IdHasBeenSet() const
AWS_GLUE_API Session(Aws::Utils::Json::JsonView jsonValue)
Session & WithSecurityConfiguration(Aws::String &&value)
Session & WithStatus(SessionStatus &&value)
AWS_GLUE_API Session & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GlueVersionHasBeenSet() const
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