7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ssm/model/DocumentFormat.h>
11#include <aws/ssm/model/DocumentStatus.h>
12#include <aws/ssm/model/ReviewStatus.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
64 template<
typename DisplayNameT = Aws::String>
65 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
66 template<
typename DisplayNameT = Aws::String>
76 template<
typename DocumentVersionT = Aws::String>
77 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet =
true; m_documentVersion = std::forward<DocumentVersionT>(value); }
78 template<
typename DocumentVersionT = Aws::String>
90 template<
typename VersionNameT = Aws::String>
91 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet =
true; m_versionName = std::forward<VersionNameT>(value); }
92 template<
typename VersionNameT = Aws::String>
102 template<
typename CreatedDateT = Aws::Utils::DateTime>
103 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
104 template<
typename CreatedDateT = Aws::Utils::DateTime>
114 inline void SetIsDefaultVersion(
bool value) { m_isDefaultVersionHasBeenSet =
true; m_isDefaultVersion = value; }
148 template<
typename StatusInformationT = Aws::String>
149 void SetStatusInformation(StatusInformationT&& value) { m_statusInformationHasBeenSet =
true; m_statusInformation = std::forward<StatusInformationT>(value); }
150 template<
typename StatusInformationT = Aws::String>
167 bool m_nameHasBeenSet =
false;
170 bool m_displayNameHasBeenSet =
false;
173 bool m_documentVersionHasBeenSet =
false;
176 bool m_versionNameHasBeenSet =
false;
179 bool m_createdDateHasBeenSet =
false;
181 bool m_isDefaultVersion{
false};
182 bool m_isDefaultVersionHasBeenSet =
false;
185 bool m_documentFormatHasBeenSet =
false;
188 bool m_statusHasBeenSet =
false;
191 bool m_statusInformationHasBeenSet =
false;
194 bool m_reviewStatusHasBeenSet =
false;
void SetDocumentFormat(DocumentFormat value)
bool GetIsDefaultVersion() const
bool DocumentVersionHasBeenSet() const
const Aws::String & GetVersionName() const
DocumentVersionInfo & WithStatusInformation(StatusInformationT &&value)
AWS_SSM_API DocumentVersionInfo()=default
void SetReviewStatus(ReviewStatus value)
DocumentVersionInfo & WithDocumentFormat(DocumentFormat value)
DocumentVersionInfo & WithCreatedDate(CreatedDateT &&value)
bool ReviewStatusHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedDate() const
DocumentFormat GetDocumentFormat() const
void SetDocumentVersion(DocumentVersionT &&value)
const Aws::String & GetName() const
DocumentStatus GetStatus() const
DocumentVersionInfo & WithName(NameT &&value)
const Aws::String & GetDisplayName() const
void SetStatusInformation(StatusInformationT &&value)
DocumentVersionInfo & WithVersionName(VersionNameT &&value)
bool StatusInformationHasBeenSet() const
ReviewStatus GetReviewStatus() const
bool CreatedDateHasBeenSet() const
DocumentVersionInfo & WithStatus(DocumentStatus value)
bool IsDefaultVersionHasBeenSet() const
void SetName(NameT &&value)
void SetVersionName(VersionNameT &&value)
bool StatusHasBeenSet() const
DocumentVersionInfo & WithIsDefaultVersion(bool value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentVersionInfo & WithReviewStatus(ReviewStatus value)
const Aws::String & GetDocumentVersion() const
bool VersionNameHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
DocumentVersionInfo & WithDisplayName(DisplayNameT &&value)
bool NameHasBeenSet() const
const Aws::String & GetStatusInformation() const
AWS_SSM_API DocumentVersionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIsDefaultVersion(bool value)
DocumentVersionInfo & WithDocumentVersion(DocumentVersionT &&value)
bool DisplayNameHasBeenSet() const
void SetCreatedDate(CreatedDateT &&value)
bool DocumentFormatHasBeenSet() const
void SetStatus(DocumentStatus value)
AWS_SSM_API DocumentVersionInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue