7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
10#include <aws/emr-serverless/model/SessionState.h>
21namespace EMRServerless {
43 template <
typename ApplicationIdT = Aws::String>
45 m_applicationIdHasBeenSet =
true;
46 m_applicationId = std::forward<ApplicationIdT>(value);
48 template <
typename ApplicationIdT = Aws::String>
61 template <
typename SessionIdT = Aws::String>
63 m_sessionIdHasBeenSet =
true;
64 m_sessionId = std::forward<SessionIdT>(value);
66 template <
typename SessionIdT = Aws::String>
79 template <
typename ArnT = Aws::String>
81 m_arnHasBeenSet =
true;
82 m_arn = std::forward<ArnT>(value);
84 template <
typename ArnT = Aws::String>
86 SetArn(std::forward<ArnT>(value));
97 template <
typename NameT = Aws::String>
99 m_nameHasBeenSet =
true;
100 m_name = std::forward<NameT>(value);
102 template <
typename NameT = Aws::String>
104 SetName(std::forward<NameT>(value));
116 m_stateHasBeenSet =
true;
131 template <
typename StateDetailsT = Aws::String>
133 m_stateDetailsHasBeenSet =
true;
134 m_stateDetails = std::forward<StateDetailsT>(value);
136 template <
typename StateDetailsT = Aws::String>
149 template <
typename ReleaseLabelT = Aws::String>
151 m_releaseLabelHasBeenSet =
true;
152 m_releaseLabel = std::forward<ReleaseLabelT>(value);
154 template <
typename ReleaseLabelT = Aws::String>
167 template <
typename ExecutionRoleArnT = Aws::String>
169 m_executionRoleArnHasBeenSet =
true;
170 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
172 template <
typename ExecutionRoleArnT = Aws::String>
185 template <
typename CreatedByT = Aws::String>
187 m_createdByHasBeenSet =
true;
188 m_createdBy = std::forward<CreatedByT>(value);
190 template <
typename CreatedByT = Aws::String>
203 template <
typename CreatedAtT = Aws::Utils::DateTime>
205 m_createdAtHasBeenSet =
true;
206 m_createdAt = std::forward<CreatedAtT>(value);
208 template <
typename CreatedAtT = Aws::Utils::DateTime>
221 template <
typename UpdatedAtT = Aws::Utils::DateTime>
223 m_updatedAtHasBeenSet =
true;
224 m_updatedAt = std::forward<UpdatedAtT>(value);
226 template <
typename UpdatedAtT = Aws::Utils::DateTime>
254 bool m_applicationIdHasBeenSet =
false;
255 bool m_sessionIdHasBeenSet =
false;
256 bool m_arnHasBeenSet =
false;
257 bool m_nameHasBeenSet =
false;
258 bool m_stateHasBeenSet =
false;
259 bool m_stateDetailsHasBeenSet =
false;
260 bool m_releaseLabelHasBeenSet =
false;
261 bool m_executionRoleArnHasBeenSet =
false;
262 bool m_createdByHasBeenSet =
false;
263 bool m_createdAtHasBeenSet =
false;
264 bool m_updatedAtHasBeenSet =
false;
void SetCreatedBy(CreatedByT &&value)
bool NameHasBeenSet() const
AWS_EMRSERVERLESS_API SessionSummary(Aws::Utils::Json::JsonView jsonValue)
SessionSummary & WithReleaseLabel(ReleaseLabelT &&value)
SessionSummary & WithArn(ArnT &&value)
SessionSummary & WithSessionId(SessionIdT &&value)
AWS_EMRSERVERLESS_API SessionSummary()=default
void SetReleaseLabel(ReleaseLabelT &&value)
void SetStateDetails(StateDetailsT &&value)
bool ArnHasBeenSet() const
bool UpdatedAtHasBeenSet() const
SessionSummary & WithCreatedBy(CreatedByT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_EMRSERVERLESS_API SessionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreatedByHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetSessionId() const
void SetArn(ArnT &&value)
SessionSummary & WithCreatedAt(CreatedAtT &&value)
void SetSessionId(SessionIdT &&value)
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
SessionSummary & WithUpdatedAt(UpdatedAtT &&value)
bool CreatedAtHasBeenSet() const
const Aws::String & GetReleaseLabel() const
bool ReleaseLabelHasBeenSet() const
bool StateDetailsHasBeenSet() const
void SetApplicationId(ApplicationIdT &&value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool SessionIdHasBeenSet() const
const Aws::String & GetCreatedBy() const
void SetState(SessionState value)
SessionSummary & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetExecutionRoleArn() const
const Aws::String & GetStateDetails() const
SessionSummary & WithApplicationId(ApplicationIdT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
bool StateHasBeenSet() const
const Aws::String & GetApplicationId() const
SessionSummary & WithStateDetails(StateDetailsT &&value)
bool ExecutionRoleArnHasBeenSet() const
SessionSummary & WithState(SessionState value)
SessionState GetState() const
SessionSummary & WithName(NameT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
bool ApplicationIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue