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>
60 template<
typename ContentT = Aws::String>
61 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
62 template<
typename ContentT = Aws::String>
79 template<
typename RequiresT = Aws::Vector<DocumentRequires>>
80 void SetRequires(RequiresT&& value) { m_requiresHasBeenSet =
true; m_requires = std::forward<RequiresT>(value); }
81 template<
typename RequiresT = Aws::Vector<DocumentRequires>>
83 template<
typename RequiresT = DocumentRequires>
94 template<
typename AttachmentsT = Aws::Vector<AttachmentsSource>>
95 void SetAttachments(AttachmentsT&& value) { m_attachmentsHasBeenSet =
true; m_attachments = std::forward<AttachmentsT>(value); }
96 template<
typename AttachmentsT = Aws::Vector<AttachmentsSource>>
98 template<
typename AttachmentsT = AttachmentsSource>
114 template<
typename NameT = Aws::String>
115 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
116 template<
typename NameT = Aws::String>
128 template<
typename DisplayNameT = Aws::String>
129 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
130 template<
typename DisplayNameT = Aws::String>
142 template<
typename VersionNameT = Aws::String>
143 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet =
true; m_versionName = std::forward<VersionNameT>(value); }
144 template<
typename VersionNameT = Aws::String>
184 template<
typename TargetTypeT = Aws::String>
185 void SetTargetType(TargetTypeT&& value) { m_targetTypeHasBeenSet =
true; m_targetType = std::forward<TargetTypeT>(value); }
186 template<
typename TargetTypeT = Aws::String>
204 template<
typename TagsT = Aws::Vector<Tag>>
205 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
206 template<
typename TagsT = Aws::Vector<Tag>>
208 template<
typename TagsT = Tag>
214 bool m_contentHasBeenSet =
false;
217 bool m_requiresHasBeenSet =
false;
220 bool m_attachmentsHasBeenSet =
false;
223 bool m_nameHasBeenSet =
false;
226 bool m_displayNameHasBeenSet =
false;
229 bool m_versionNameHasBeenSet =
false;
232 bool m_documentTypeHasBeenSet =
false;
235 bool m_documentFormatHasBeenSet =
false;
238 bool m_targetTypeHasBeenSet =
false;
241 bool m_tagsHasBeenSet =
false;
void SetName(NameT &&value)
CreateDocumentRequest & AddRequires(RequiresT &&value)
CreateDocumentRequest & WithRequires(RequiresT &&value)
DocumentFormat GetDocumentFormat() const
bool NameHasBeenSet() const
CreateDocumentRequest & WithAttachments(AttachmentsT &&value)
const Aws::String & GetContent() const
CreateDocumentRequest & WithDisplayName(DisplayNameT &&value)
bool TagsHasBeenSet() const
CreateDocumentRequest & AddTags(TagsT &&value)
void SetDocumentFormat(DocumentFormat value)
AWS_SSM_API Aws::String SerializePayload() const override
void SetRequires(RequiresT &&value)
bool DocumentFormatHasBeenSet() const
void SetTags(TagsT &&value)
CreateDocumentRequest & WithDocumentType(DocumentType value)
bool TargetTypeHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
void SetVersionName(VersionNameT &&value)
bool ContentHasBeenSet() const
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetName() const
const Aws::String & GetVersionName() const
CreateDocumentRequest & WithTags(TagsT &&value)
CreateDocumentRequest & WithTargetType(TargetTypeT &&value)
bool DocumentTypeHasBeenSet() const
void SetDocumentType(DocumentType value)
CreateDocumentRequest & WithContent(ContentT &&value)
CreateDocumentRequest & AddAttachments(AttachmentsT &&value)
const Aws::Vector< Tag > & GetTags() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetTargetType() const
bool RequiresHasBeenSet() const
CreateDocumentRequest & WithName(NameT &&value)
bool DisplayNameHasBeenSet() const
CreateDocumentRequest & WithDocumentFormat(DocumentFormat value)
bool AttachmentsHasBeenSet() const
const Aws::String & GetDisplayName() const
void SetContent(ContentT &&value)
void SetAttachments(AttachmentsT &&value)
AWS_SSM_API CreateDocumentRequest()=default
CreateDocumentRequest & WithVersionName(VersionNameT &&value)
void SetTargetType(TargetTypeT &&value)
DocumentType GetDocumentType() const
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