7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/model/DocumentFormat.h>
12#include <aws/ssm/model/AttachmentsSource.h>
46 template<
typename ContentT = Aws::String>
47 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
48 template<
typename ContentT = Aws::String>
59 template<
typename AttachmentsT = Aws::Vector<AttachmentsSource>>
60 void SetAttachments(AttachmentsT&& value) { m_attachmentsHasBeenSet =
true; m_attachments = std::forward<AttachmentsT>(value); }
61 template<
typename AttachmentsT = Aws::Vector<AttachmentsSource>>
63 template<
typename AttachmentsT = AttachmentsSource>
73 template<
typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
75 template<
typename NameT = Aws::String>
88 template<
typename DisplayNameT = Aws::String>
89 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
90 template<
typename DisplayNameT = Aws::String>
102 template<
typename VersionNameT = Aws::String>
103 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet =
true; m_versionName = std::forward<VersionNameT>(value); }
104 template<
typename VersionNameT = Aws::String>
120 template<
typename DocumentVersionT = Aws::String>
121 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet =
true; m_documentVersion = std::forward<DocumentVersionT>(value); }
122 template<
typename DocumentVersionT = Aws::String>
143 template<
typename TargetTypeT = Aws::String>
144 void SetTargetType(TargetTypeT&& value) { m_targetTypeHasBeenSet =
true; m_targetType = std::forward<TargetTypeT>(value); }
145 template<
typename TargetTypeT = Aws::String>
151 bool m_contentHasBeenSet =
false;
154 bool m_attachmentsHasBeenSet =
false;
157 bool m_nameHasBeenSet =
false;
160 bool m_displayNameHasBeenSet =
false;
163 bool m_versionNameHasBeenSet =
false;
166 bool m_documentVersionHasBeenSet =
false;
169 bool m_documentFormatHasBeenSet =
false;
172 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