7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticmapreduce/EMRRequest.h>
10#include <aws/elasticmapreduce/EMR_EXPORTS.h>
11#include <aws/elasticmapreduce/model/Configuration.h>
12#include <aws/elasticmapreduce/model/SessionMonitoringConfiguration.h>
13#include <aws/elasticmapreduce/model/Tag.h>
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
65 template <
typename ClusterIdT = Aws::String>
67 m_clusterIdHasBeenSet =
true;
68 m_clusterId = std::forward<ClusterIdT>(value);
70 template <
typename ClusterIdT = Aws::String>
84 template <
typename ExecutionRoleArnT = Aws::String>
86 m_executionRoleArnHasBeenSet =
true;
87 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
89 template <
typename ExecutionRoleArnT = Aws::String>
103 template <
typename EngineConfigurationsT = Aws::Vector<Configuration>>
105 m_engineConfigurationsHasBeenSet =
true;
106 m_engineConfigurations = std::forward<EngineConfigurationsT>(value);
108 template <
typename EngineConfigurationsT = Aws::Vector<Configuration>>
113 template <
typename EngineConfigurationsT = Configuration>
115 m_engineConfigurationsHasBeenSet =
true;
116 m_engineConfigurations.emplace_back(std::forward<EngineConfigurationsT>(value));
128 template <
typename MonitoringConfigurationT = SessionMonitoringConfiguration>
130 m_monitoringConfigurationHasBeenSet =
true;
131 m_monitoringConfiguration = std::forward<MonitoringConfigurationT>(value);
133 template <
typename MonitoringConfigurationT = SessionMonitoringConfiguration>
148 m_sessionIdleTimeoutInMinutesHasBeenSet =
true;
149 m_sessionIdleTimeoutInMinutes = value;
166 template <
typename ClientRequestTokenT = Aws::String>
168 m_clientRequestTokenHasBeenSet =
true;
169 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
171 template <
typename ClientRequestTokenT = Aws::String>
184 template <
typename TagsT = Aws::Vector<Tag>>
186 m_tagsHasBeenSet =
true;
187 m_tags = std::forward<TagsT>(value);
189 template <
typename TagsT = Aws::Vector<Tag>>
191 SetTags(std::forward<TagsT>(value));
194 template <
typename TagsT = Tag>
196 m_tagsHasBeenSet =
true;
197 m_tags.emplace_back(std::forward<TagsT>(value));
212 long long m_sessionIdleTimeoutInMinutes{0};
217 bool m_nameHasBeenSet =
false;
218 bool m_clusterIdHasBeenSet =
false;
219 bool m_executionRoleArnHasBeenSet =
false;
220 bool m_engineConfigurationsHasBeenSet =
false;
221 bool m_monitoringConfigurationHasBeenSet =
false;
222 bool m_sessionIdleTimeoutInMinutesHasBeenSet =
false;
223 bool m_clientRequestTokenHasBeenSet =
false;
224 bool m_tagsHasBeenSet =
false;
const Aws::Vector< Configuration > & GetEngineConfigurations() const
StartSessionRequest & AddEngineConfigurations(EngineConfigurationsT &&value)
void SetMonitoringConfiguration(MonitoringConfigurationT &&value)
bool SessionIdleTimeoutInMinutesHasBeenSet() const
bool ClusterIdHasBeenSet() const
const SessionMonitoringConfiguration & GetMonitoringConfiguration() const
StartSessionRequest & AddTags(TagsT &&value)
void SetName(NameT &&value)
bool ExecutionRoleArnHasBeenSet() const
StartSessionRequest & WithClientRequestToken(ClientRequestTokenT &&value)
StartSessionRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
void SetTags(TagsT &&value)
void SetSessionIdleTimeoutInMinutes(long long value)
long long GetSessionIdleTimeoutInMinutes() const
AWS_EMR_API StartSessionRequest()=default
bool NameHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetClientRequestToken(ClientRequestTokenT &&value)
const Aws::String & GetExecutionRoleArn() const
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetClusterId() const
StartSessionRequest & WithTags(TagsT &&value)
AWS_EMR_API Aws::String SerializePayload() const override
bool ClientRequestTokenHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool MonitoringConfigurationHasBeenSet() const
void SetEngineConfigurations(EngineConfigurationsT &&value)
StartSessionRequest & WithMonitoringConfiguration(MonitoringConfigurationT &&value)
const Aws::String & GetName() const
bool EngineConfigurationsHasBeenSet() const
const Aws::String & GetClientRequestToken() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
StartSessionRequest & WithEngineConfigurations(EngineConfigurationsT &&value)
void SetClusterId(ClusterIdT &&value)
StartSessionRequest & WithSessionIdleTimeoutInMinutes(long long value)
StartSessionRequest & WithName(NameT &&value)
StartSessionRequest & WithClusterId(ClusterIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector