7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/SessionCommand.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/glue/model/ConnectionsList.h>
13#include <aws/glue/model/WorkerType.h>
50 template<
typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
52 template<
typename IdT = Aws::String>
62 template<
typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
64 template<
typename DescriptionT = Aws::String>
74 template<
typename RoleT = Aws::String>
75 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
76 template<
typename RoleT = Aws::String>
86 template<
typename CommandT = SessionCommand>
87 void SetCommand(CommandT&& value) { m_commandHasBeenSet =
true; m_command = std::forward<CommandT>(value); }
88 template<
typename CommandT = SessionCommand>
99 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
111 inline void SetIdleTimeout(
int value) { m_idleTimeoutHasBeenSet =
true; m_idleTimeout = value; }
121 template<
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
122 void SetDefaultArguments(DefaultArgumentsT&& value) { m_defaultArgumentsHasBeenSet =
true; m_defaultArguments = std::forward<DefaultArgumentsT>(value); }
123 template<
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
125 template<
typename DefaultArgumentsKeyT = Aws::String,
typename DefaultArgumentsValueT = Aws::String>
127 m_defaultArgumentsHasBeenSet =
true; m_defaultArguments.emplace(std::forward<DefaultArgumentsKeyT>(key), std::forward<DefaultArgumentsValueT>(value));
return *
this;
137 template<
typename ConnectionsT = ConnectionsList>
138 void SetConnections(ConnectionsT&& value) { m_connectionsHasBeenSet =
true; m_connections = std::forward<ConnectionsT>(value); }
139 template<
typename ConnectionsT = ConnectionsList>
151 inline void SetMaxCapacity(
double value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
162 inline void SetNumberOfWorkers(
int value) { m_numberOfWorkersHasBeenSet =
true; m_numberOfWorkers = value; }
209 template<
typename SecurityConfigurationT = Aws::String>
210 void SetSecurityConfiguration(SecurityConfigurationT&& value) { m_securityConfigurationHasBeenSet =
true; m_securityConfiguration = std::forward<SecurityConfigurationT>(value); }
211 template<
typename SecurityConfigurationT = Aws::String>
222 template<
typename GlueVersionT = Aws::String>
223 void SetGlueVersion(GlueVersionT&& value) { m_glueVersionHasBeenSet =
true; m_glueVersion = std::forward<GlueVersionT>(value); }
224 template<
typename GlueVersionT = Aws::String>
234 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
235 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
236 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
238 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
240 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
250 template<
typename RequestOriginT = Aws::String>
251 void SetRequestOrigin(RequestOriginT&& value) { m_requestOriginHasBeenSet =
true; m_requestOrigin = std::forward<RequestOriginT>(value); }
252 template<
typename RequestOriginT = Aws::String>
258 bool m_idHasBeenSet =
false;
261 bool m_descriptionHasBeenSet =
false;
264 bool m_roleHasBeenSet =
false;
267 bool m_commandHasBeenSet =
false;
270 bool m_timeoutHasBeenSet =
false;
272 int m_idleTimeout{0};
273 bool m_idleTimeoutHasBeenSet =
false;
276 bool m_defaultArgumentsHasBeenSet =
false;
278 ConnectionsList m_connections;
279 bool m_connectionsHasBeenSet =
false;
281 double m_maxCapacity{0.0};
282 bool m_maxCapacityHasBeenSet =
false;
284 int m_numberOfWorkers{0};
285 bool m_numberOfWorkersHasBeenSet =
false;
288 bool m_workerTypeHasBeenSet =
false;
291 bool m_securityConfigurationHasBeenSet =
false;
294 bool m_glueVersionHasBeenSet =
false;
297 bool m_tagsHasBeenSet =
false;
300 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