7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/SessionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ssm/model/SessionManagerOutputUrl.h>
12#include <aws/ssm/model/AccessType.h>
51 template<
typename SessionIdT = Aws::String>
52 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet =
true; m_sessionId = std::forward<SessionIdT>(value); }
53 template<
typename SessionIdT = Aws::String>
63 template<
typename TargetT = Aws::String>
64 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
65 template<
typename TargetT = Aws::String>
85 template<
typename StartDateT = Aws::Utils::DateTime>
86 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet =
true; m_startDate = std::forward<StartDateT>(value); }
87 template<
typename StartDateT = Aws::Utils::DateTime>
98 template<
typename EndDateT = Aws::Utils::DateTime>
99 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet =
true; m_endDate = std::forward<EndDateT>(value); }
100 template<
typename EndDateT = Aws::Utils::DateTime>
112 template<
typename DocumentNameT = Aws::String>
113 void SetDocumentName(DocumentNameT&& value) { m_documentNameHasBeenSet =
true; m_documentName = std::forward<DocumentNameT>(value); }
114 template<
typename DocumentNameT = Aws::String>
124 template<
typename OwnerT = Aws::String>
125 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
126 template<
typename OwnerT = Aws::String>
136 template<
typename ReasonT = Aws::String>
137 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
138 template<
typename ReasonT = Aws::String>
148 template<
typename DetailsT = Aws::String>
149 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet =
true; m_details = std::forward<DetailsT>(value); }
150 template<
typename DetailsT = Aws::String>
160 template<
typename OutputUrlT = SessionManagerOutputUrl>
161 void SetOutputUrl(OutputUrlT&& value) { m_outputUrlHasBeenSet =
true; m_outputUrl = std::forward<OutputUrlT>(value); }
162 template<
typename OutputUrlT = SessionManagerOutputUrl>
172 template<
typename MaxSessionDurationT = Aws::String>
173 void SetMaxSessionDuration(MaxSessionDurationT&& value) { m_maxSessionDurationHasBeenSet =
true; m_maxSessionDuration = std::forward<MaxSessionDurationT>(value); }
174 template<
typename MaxSessionDurationT = Aws::String>
193 bool m_sessionIdHasBeenSet =
false;
196 bool m_targetHasBeenSet =
false;
199 bool m_statusHasBeenSet =
false;
202 bool m_startDateHasBeenSet =
false;
205 bool m_endDateHasBeenSet =
false;
208 bool m_documentNameHasBeenSet =
false;
211 bool m_ownerHasBeenSet =
false;
214 bool m_reasonHasBeenSet =
false;
217 bool m_detailsHasBeenSet =
false;
219 SessionManagerOutputUrl m_outputUrl;
220 bool m_outputUrlHasBeenSet =
false;
223 bool m_maxSessionDurationHasBeenSet =
false;
226 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