7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/AccessType.h>
11#include <aws/ssm/model/SessionManagerOutputUrl.h>
12#include <aws/ssm/model/SessionStatus.h>
45 template <
typename SessionIdT = Aws::String>
47 m_sessionIdHasBeenSet =
true;
48 m_sessionId = std::forward<SessionIdT>(value);
50 template <
typename SessionIdT = Aws::String>
63 template <
typename TargetT = Aws::String>
65 m_targetHasBeenSet =
true;
66 m_target = std::forward<TargetT>(value);
68 template <
typename TargetT = Aws::String>
82 m_statusHasBeenSet =
true;
97 template <
typename StartDateT = Aws::Utils::DateTime>
99 m_startDateHasBeenSet =
true;
100 m_startDate = std::forward<StartDateT>(value);
102 template <
typename StartDateT = Aws::Utils::DateTime>
116 template <
typename EndDateT = Aws::Utils::DateTime>
118 m_endDateHasBeenSet =
true;
119 m_endDate = std::forward<EndDateT>(value);
121 template <
typename EndDateT = Aws::Utils::DateTime>
136 template <
typename DocumentNameT = Aws::String>
138 m_documentNameHasBeenSet =
true;
139 m_documentName = std::forward<DocumentNameT>(value);
141 template <
typename DocumentNameT = Aws::String>
154 template <
typename OwnerT = Aws::String>
156 m_ownerHasBeenSet =
true;
157 m_owner = std::forward<OwnerT>(value);
159 template <
typename OwnerT = Aws::String>
161 SetOwner(std::forward<OwnerT>(value));
172 template <
typename ReasonT = Aws::String>
174 m_reasonHasBeenSet =
true;
175 m_reason = std::forward<ReasonT>(value);
177 template <
typename ReasonT = Aws::String>
190 template <
typename DetailsT = Aws::String>
192 m_detailsHasBeenSet =
true;
193 m_details = std::forward<DetailsT>(value);
195 template <
typename DetailsT = Aws::String>
208 template <
typename OutputUrlT = SessionManagerOutputUrl>
210 m_outputUrlHasBeenSet =
true;
211 m_outputUrl = std::forward<OutputUrlT>(value);
213 template <
typename OutputUrlT = SessionManagerOutputUrl>
226 template <
typename MaxSessionDurationT = Aws::String>
228 m_maxSessionDurationHasBeenSet =
true;
229 m_maxSessionDuration = std::forward<MaxSessionDurationT>(value);
231 template <
typename MaxSessionDurationT = Aws::String>
248 m_accessTypeHasBeenSet =
true;
249 m_accessType = value;
275 SessionManagerOutputUrl m_outputUrl;
280 bool m_sessionIdHasBeenSet =
false;
281 bool m_targetHasBeenSet =
false;
282 bool m_statusHasBeenSet =
false;
283 bool m_startDateHasBeenSet =
false;
284 bool m_endDateHasBeenSet =
false;
285 bool m_documentNameHasBeenSet =
false;
286 bool m_ownerHasBeenSet =
false;
287 bool m_reasonHasBeenSet =
false;
288 bool m_detailsHasBeenSet =
false;
289 bool m_outputUrlHasBeenSet =
false;
290 bool m_maxSessionDurationHasBeenSet =
false;
291 bool m_accessTypeHasBeenSet =
false;
AWS_SSM_API Session & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDocumentName(DocumentNameT &&value)
const Aws::String & GetDetails() const
Session & WithAccessType(AccessType value)
bool StartDateHasBeenSet() const
void SetSessionId(SessionIdT &&value)
const SessionManagerOutputUrl & GetOutputUrl() const
const Aws::String & GetMaxSessionDuration() const
bool TargetHasBeenSet() const
Session & WithEndDate(EndDateT &&value)
void SetOwner(OwnerT &&value)
bool OwnerHasBeenSet() const
const Aws::Utils::DateTime & GetStartDate() const
void SetAccessType(AccessType value)
SessionStatus GetStatus() const
void SetDetails(DetailsT &&value)
bool ReasonHasBeenSet() const
Session & WithOutputUrl(OutputUrlT &&value)
void SetStatus(SessionStatus value)
Session & WithDocumentName(DocumentNameT &&value)
void SetTarget(TargetT &&value)
AccessType GetAccessType() const
const Aws::String & GetSessionId() const
void SetOutputUrl(OutputUrlT &&value)
void SetReason(ReasonT &&value)
void SetEndDate(EndDateT &&value)
AWS_SSM_API Session()=default
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
bool SessionIdHasBeenSet() const
bool StatusHasBeenSet() const
Session & WithReason(ReasonT &&value)
void SetMaxSessionDuration(MaxSessionDurationT &&value)
Session & WithStatus(SessionStatus value)
const Aws::String & GetDocumentName() const
Session & WithDetails(DetailsT &&value)
const Aws::String & GetOwner() const
bool AccessTypeHasBeenSet() const
bool OutputUrlHasBeenSet() const
Session & WithTarget(TargetT &&value)
bool MaxSessionDurationHasBeenSet() const
bool EndDateHasBeenSet() const
void SetStartDate(StartDateT &&value)
Session & WithStartDate(StartDateT &&value)
const Aws::Utils::DateTime & GetEndDate() const
const Aws::String & GetTarget() const
Session & WithOwner(OwnerT &&value)
const Aws::String & GetReason() const
Session & WithSessionId(SessionIdT &&value)
bool DetailsHasBeenSet() const
bool DocumentNameHasBeenSet() const
AWS_SSM_API Session(Aws::Utils::Json::JsonView jsonValue)
Session & WithMaxSessionDuration(MaxSessionDurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue