7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ssm/SSMRequest.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11#include <aws/ssm/model/AttachmentsSource.h>
12#include <aws/ssm/model/DocumentFormat.h>
42 template <
typename ContentT = Aws::String>
44 m_contentHasBeenSet =
true;
45 m_content = std::forward<ContentT>(value);
47 template <
typename ContentT = Aws::String>
61 template <
typename AttachmentsT = Aws::Vector<AttachmentsSource>>
63 m_attachmentsHasBeenSet =
true;
64 m_attachments = std::forward<AttachmentsT>(value);
66 template <
typename AttachmentsT = Aws::Vector<AttachmentsSource>>
71 template <
typename AttachmentsT = AttachmentsSource>
73 m_attachmentsHasBeenSet =
true;
74 m_attachments.emplace_back(std::forward<AttachmentsT>(value));
85 template <
typename NameT = Aws::String>
87 m_nameHasBeenSet =
true;
88 m_name = std::forward<NameT>(value);
90 template <
typename NameT = Aws::String>
92 SetName(std::forward<NameT>(value));
106 template <
typename DisplayNameT = Aws::String>
108 m_displayNameHasBeenSet =
true;
109 m_displayName = std::forward<DisplayNameT>(value);
111 template <
typename DisplayNameT = Aws::String>
126 template <
typename VersionNameT = Aws::String>
128 m_versionNameHasBeenSet =
true;
129 m_versionName = std::forward<VersionNameT>(value);
131 template <
typename VersionNameT = Aws::String>
150 template <
typename DocumentVersionT = Aws::String>
152 m_documentVersionHasBeenSet =
true;
153 m_documentVersion = std::forward<DocumentVersionT>(value);
155 template <
typename DocumentVersionT = Aws::String>
170 m_documentFormatHasBeenSet =
true;
171 m_documentFormat = value;
185 template <
typename TargetTypeT = Aws::String>
187 m_targetTypeHasBeenSet =
true;
188 m_targetType = std::forward<TargetTypeT>(value);
190 template <
typename TargetTypeT = Aws::String>
212 bool m_contentHasBeenSet =
false;
213 bool m_attachmentsHasBeenSet =
false;
214 bool m_nameHasBeenSet =
false;
215 bool m_displayNameHasBeenSet =
false;
216 bool m_versionNameHasBeenSet =
false;
217 bool m_documentVersionHasBeenSet =
false;
218 bool m_documentFormatHasBeenSet =
false;
219 bool m_targetTypeHasBeenSet =
false;
DocumentFormat GetDocumentFormat() const
void SetAttachments(AttachmentsT &&value)
bool DisplayNameHasBeenSet() const
UpdateDocumentRequest & WithContent(ContentT &&value)
UpdateDocumentRequest & WithTargetType(TargetTypeT &&value)
bool NameHasBeenSet() const
AWS_SSM_API UpdateDocumentRequest()=default
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDocumentRequest & WithDocumentFormat(DocumentFormat value)
virtual const char * GetServiceRequestName() const override
void SetContent(ContentT &&value)
UpdateDocumentRequest & WithVersionName(VersionNameT &&value)
void SetDocumentFormat(DocumentFormat value)
UpdateDocumentRequest & AddAttachments(AttachmentsT &&value)
void SetVersionName(VersionNameT &&value)
const Aws::String & GetContent() const
const Aws::String & GetDisplayName() const
void SetName(NameT &&value)
bool DocumentFormatHasBeenSet() const
bool VersionNameHasBeenSet() const
bool TargetTypeHasBeenSet() const
UpdateDocumentRequest & WithAttachments(AttachmentsT &&value)
bool DocumentVersionHasBeenSet() const
AWS_SSM_API Aws::String SerializePayload() const override
UpdateDocumentRequest & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetVersionName() const
const Aws::String & GetTargetType() const
void SetDocumentVersion(DocumentVersionT &&value)
const Aws::String & GetName() const
const Aws::Vector< AttachmentsSource > & GetAttachments() const
UpdateDocumentRequest & WithName(NameT &&value)
UpdateDocumentRequest & WithDocumentVersion(DocumentVersionT &&value)
void SetTargetType(TargetTypeT &&value)
bool AttachmentsHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetDocumentVersion() const
bool ContentHasBeenSet() const
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