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/DocumentType.h>
12#include <aws/ssm/model/DocumentFormat.h>
13#include <aws/ssm/model/DocumentRequires.h>
14#include <aws/ssm/model/AttachmentsSource.h>
15#include <aws/ssm/model/Tag.h>
62 inline void SetContent(
const char* value) { m_contentHasBeenSet =
true; m_content.assign(value); }
118 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
134 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
150 inline void SetVersionName(
const char* value) { m_versionNameHasBeenSet =
true; m_versionName.assign(value); }
198 inline void SetTargetType(
const char* value) { m_targetTypeHasBeenSet =
true; m_targetType.assign(value); }
228 bool m_contentHasBeenSet =
false;
231 bool m_requiresHasBeenSet =
false;
234 bool m_attachmentsHasBeenSet =
false;
237 bool m_nameHasBeenSet =
false;
240 bool m_displayNameHasBeenSet =
false;
243 bool m_versionNameHasBeenSet =
false;
246 bool m_documentTypeHasBeenSet =
false;
249 bool m_documentFormatHasBeenSet =
false;
252 bool m_targetTypeHasBeenSet =
false;
255 bool m_tagsHasBeenSet =
false;
void SetTargetType(Aws::String &&value)
CreateDocumentRequest & WithContent(const char *value)
CreateDocumentRequest & AddAttachments(const AttachmentsSource &value)
bool NameHasBeenSet() const
const Aws::String & GetContent() const
CreateDocumentRequest & AddTags(const Tag &value)
CreateDocumentRequest & WithName(const Aws::String &value)
bool TagsHasBeenSet() const
CreateDocumentRequest & AddAttachments(AttachmentsSource &&value)
void SetAttachments(const Aws::Vector< AttachmentsSource > &value)
void SetTargetType(const char *value)
CreateDocumentRequest & WithContent(Aws::String &&value)
AWS_SSM_API Aws::String SerializePayload() const override
const DocumentFormat & GetDocumentFormat() const
CreateDocumentRequest & WithTargetType(const Aws::String &value)
CreateDocumentRequest & WithDocumentType(DocumentType &&value)
CreateDocumentRequest & WithName(Aws::String &&value)
void SetContent(const char *value)
void SetVersionName(Aws::String &&value)
void SetDisplayName(const char *value)
void SetContent(Aws::String &&value)
bool DocumentFormatHasBeenSet() const
void SetDisplayName(const Aws::String &value)
void SetDisplayName(Aws::String &&value)
void SetName(const Aws::String &value)
CreateDocumentRequest & WithDocumentFormat(DocumentFormat &&value)
bool TargetTypeHasBeenSet() const
void SetContent(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetRequires(Aws::Vector< DocumentRequires > &&value)
CreateDocumentRequest & WithDisplayName(const Aws::String &value)
bool ContentHasBeenSet() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDocumentRequest & AddRequires(DocumentRequires &&value)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
CreateDocumentRequest & WithDisplayName(Aws::String &&value)
void SetVersionName(const char *value)
const Aws::String & GetVersionName() const
void SetTags(const Aws::Vector< Tag > &value)
CreateDocumentRequest & WithVersionName(Aws::String &&value)
CreateDocumentRequest & WithRequires(const Aws::Vector< DocumentRequires > &value)
CreateDocumentRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDocumentRequest & WithDocumentType(const DocumentType &value)
bool DocumentTypeHasBeenSet() const
AWS_SSM_API CreateDocumentRequest()
void SetRequires(const Aws::Vector< DocumentRequires > &value)
void SetDocumentFormat(const DocumentFormat &value)
void SetName(const char *value)
void SetAttachments(Aws::Vector< AttachmentsSource > &&value)
void SetDocumentType(const DocumentType &value)
const Aws::Vector< Tag > & GetTags() const
CreateDocumentRequest & WithTargetType(const char *value)
CreateDocumentRequest & WithDocumentFormat(const DocumentFormat &value)
virtual const char * GetServiceRequestName() const override
CreateDocumentRequest & WithDisplayName(const char *value)
CreateDocumentRequest & AddTags(Tag &&value)
CreateDocumentRequest & WithAttachments(const Aws::Vector< AttachmentsSource > &value)
const Aws::String & GetTargetType() const
bool RequiresHasBeenSet() const
CreateDocumentRequest & WithTargetType(Aws::String &&value)
CreateDocumentRequest & WithAttachments(Aws::Vector< AttachmentsSource > &&value)
CreateDocumentRequest & WithRequires(Aws::Vector< DocumentRequires > &&value)
bool DisplayNameHasBeenSet() const
void SetDocumentType(DocumentType &&value)
CreateDocumentRequest & WithContent(const Aws::String &value)
void SetVersionName(const Aws::String &value)
bool AttachmentsHasBeenSet() const
const Aws::String & GetDisplayName() const
CreateDocumentRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDocumentRequest & WithName(const char *value)
CreateDocumentRequest & AddRequires(const DocumentRequires &value)
CreateDocumentRequest & WithVersionName(const char *value)
void SetTargetType(const Aws::String &value)
const DocumentType & GetDocumentType() const
void SetDocumentFormat(DocumentFormat &&value)
CreateDocumentRequest & WithVersionName(const Aws::String &value)
const Aws::Vector< DocumentRequires > & GetRequires() const
const Aws::Vector< AttachmentsSource > & GetAttachments() const
bool VersionNameHasBeenSet() 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