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>
13#include <aws/ssm/model/DocumentRequires.h>
14#include <aws/ssm/model/DocumentType.h>
15#include <aws/ssm/model/Tag.h>
56 template <
typename ContentT = Aws::String>
58 m_contentHasBeenSet =
true;
59 m_content = std::forward<ContentT>(value);
61 template <
typename ContentT = Aws::String>
81 template <
typename RequiresT = Aws::Vector<DocumentRequires>>
83 m_requiresHasBeenSet =
true;
84 m_requires = std::forward<RequiresT>(value);
86 template <
typename RequiresT = Aws::Vector<DocumentRequires>>
91 template <
typename RequiresT = DocumentRequires>
93 m_requiresHasBeenSet =
true;
94 m_requires.emplace_back(std::forward<RequiresT>(value));
106 template <
typename AttachmentsT = Aws::Vector<AttachmentsSource>>
108 m_attachmentsHasBeenSet =
true;
109 m_attachments = std::forward<AttachmentsT>(value);
111 template <
typename AttachmentsT = Aws::Vector<AttachmentsSource>>
116 template <
typename AttachmentsT = AttachmentsSource>
118 m_attachmentsHasBeenSet =
true;
119 m_attachments.emplace_back(std::forward<AttachmentsT>(value));
136 template <
typename NameT = Aws::String>
138 m_nameHasBeenSet =
true;
139 m_name = std::forward<NameT>(value);
141 template <
typename NameT = Aws::String>
143 SetName(std::forward<NameT>(value));
156 template <
typename DisplayNameT = Aws::String>
158 m_displayNameHasBeenSet =
true;
159 m_displayName = std::forward<DisplayNameT>(value);
161 template <
typename DisplayNameT = Aws::String>
176 template <
typename VersionNameT = Aws::String>
178 m_versionNameHasBeenSet =
true;
179 m_versionName = std::forward<VersionNameT>(value);
181 template <
typename VersionNameT = Aws::String>
197 m_documentTypeHasBeenSet =
true;
198 m_documentType = value;
214 m_documentFormatHasBeenSet =
true;
215 m_documentFormat = value;
236 template <
typename TargetTypeT = Aws::String>
238 m_targetTypeHasBeenSet =
true;
239 m_targetType = std::forward<TargetTypeT>(value);
241 template <
typename TargetTypeT = Aws::String>
262 template <
typename TagsT = Aws::Vector<Tag>>
264 m_tagsHasBeenSet =
true;
265 m_tags = std::forward<TagsT>(value);
267 template <
typename TagsT = Aws::Vector<Tag>>
269 SetTags(std::forward<TagsT>(value));
272 template <
typename TagsT = Tag>
274 m_tagsHasBeenSet =
true;
275 m_tags.emplace_back(std::forward<TagsT>(value));
299 bool m_contentHasBeenSet =
false;
300 bool m_requiresHasBeenSet =
false;
301 bool m_attachmentsHasBeenSet =
false;
302 bool m_nameHasBeenSet =
false;
303 bool m_displayNameHasBeenSet =
false;
304 bool m_versionNameHasBeenSet =
false;
305 bool m_documentTypeHasBeenSet =
false;
306 bool m_documentFormatHasBeenSet =
false;
307 bool m_targetTypeHasBeenSet =
false;
308 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