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>
48 inline void SetContent(
const char* value) { m_contentHasBeenSet =
true; m_content.assign(value); }
77 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
94 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
110 inline void SetVersionName(
const char* value) { m_versionNameHasBeenSet =
true; m_versionName.assign(value); }
130 inline void SetDocumentVersion(
const char* value) { m_documentVersionHasBeenSet =
true; m_documentVersion.assign(value); }
157 inline void SetTargetType(
const char* value) { m_targetTypeHasBeenSet =
true; m_targetType.assign(value); }
165 bool m_contentHasBeenSet =
false;
168 bool m_attachmentsHasBeenSet =
false;
171 bool m_nameHasBeenSet =
false;
174 bool m_displayNameHasBeenSet =
false;
177 bool m_versionNameHasBeenSet =
false;
180 bool m_documentVersionHasBeenSet =
false;
183 bool m_documentFormatHasBeenSet =
false;
186 bool m_targetTypeHasBeenSet =
false;
UpdateDocumentRequest & WithAttachments(const Aws::Vector< AttachmentsSource > &value)
UpdateDocumentRequest & WithAttachments(Aws::Vector< AttachmentsSource > &&value)
void SetAttachments(const Aws::Vector< AttachmentsSource > &value)
void SetName(const Aws::String &value)
void SetTargetType(Aws::String &&value)
void SetDocumentFormat(DocumentFormat &&value)
void SetDisplayName(Aws::String &&value)
bool DisplayNameHasBeenSet() const
bool NameHasBeenSet() const
UpdateDocumentRequest & WithDocumentVersion(Aws::String &&value)
UpdateDocumentRequest & WithDisplayName(Aws::String &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
UpdateDocumentRequest & WithTargetType(Aws::String &&value)
UpdateDocumentRequest & WithName(const char *value)
UpdateDocumentRequest & WithName(const Aws::String &value)
UpdateDocumentRequest & AddAttachments(AttachmentsSource &&value)
void SetTargetType(const char *value)
void SetDisplayName(const char *value)
void SetDocumentVersion(const char *value)
UpdateDocumentRequest & WithContent(const Aws::String &value)
UpdateDocumentRequest & AddAttachments(const AttachmentsSource &value)
const Aws::String & GetContent() const
const Aws::String & GetDisplayName() const
UpdateDocumentRequest & WithTargetType(const Aws::String &value)
void SetVersionName(const Aws::String &value)
void SetContent(Aws::String &&value)
const DocumentFormat & GetDocumentFormat() const
bool DocumentFormatHasBeenSet() const
bool VersionNameHasBeenSet() const
bool TargetTypeHasBeenSet() const
void SetName(Aws::String &&value)
void SetDocumentVersion(Aws::String &&value)
void SetDocumentVersion(const Aws::String &value)
bool DocumentVersionHasBeenSet() const
void SetName(const char *value)
void SetVersionName(Aws::String &&value)
AWS_SSM_API Aws::String SerializePayload() const override
UpdateDocumentRequest & WithDocumentFormat(const DocumentFormat &value)
AWS_SSM_API UpdateDocumentRequest()
UpdateDocumentRequest & WithContent(const char *value)
const Aws::String & GetVersionName() const
const Aws::String & GetTargetType() const
UpdateDocumentRequest & WithVersionName(Aws::String &&value)
UpdateDocumentRequest & WithDocumentFormat(DocumentFormat &&value)
void SetDisplayName(const Aws::String &value)
const Aws::String & GetName() const
UpdateDocumentRequest & WithDocumentVersion(const Aws::String &value)
const Aws::Vector< AttachmentsSource > & GetAttachments() const
UpdateDocumentRequest & WithDisplayName(const Aws::String &value)
UpdateDocumentRequest & WithVersionName(const Aws::String &value)
void SetVersionName(const char *value)
bool AttachmentsHasBeenSet() const
UpdateDocumentRequest & WithName(Aws::String &&value)
void SetContent(const char *value)
UpdateDocumentRequest & WithDisplayName(const char *value)
UpdateDocumentRequest & WithVersionName(const char *value)
UpdateDocumentRequest & WithDocumentVersion(const char *value)
UpdateDocumentRequest & WithTargetType(const char *value)
void SetDocumentFormat(const DocumentFormat &value)
const Aws::String & GetDocumentVersion() const
bool ContentHasBeenSet() const
void SetContent(const Aws::String &value)
void SetAttachments(Aws::Vector< AttachmentsSource > &&value)
void SetTargetType(const Aws::String &value)
UpdateDocumentRequest & WithContent(Aws::String &&value)
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