AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentDescription.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/DocumentHashType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ssm/model/DocumentStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ssm/model/DocumentType.h>
14#include <aws/ssm/model/DocumentFormat.h>
15#include <aws/ssm/model/ReviewStatus.h>
16#include <aws/ssm/model/DocumentParameter.h>
17#include <aws/ssm/model/PlatformType.h>
18#include <aws/ssm/model/Tag.h>
19#include <aws/ssm/model/AttachmentInformation.h>
20#include <aws/ssm/model/DocumentRequires.h>
21#include <aws/ssm/model/ReviewInformation.h>
22#include <utility>
23
24namespace Aws
25{
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31 class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace SSM
35{
36namespace Model
37{
38
46 {
47 public:
48 AWS_SSM_API DocumentDescription();
52
53
55
58 inline const Aws::String& GetSha1() const{ return m_sha1; }
59 inline bool Sha1HasBeenSet() const { return m_sha1HasBeenSet; }
60 inline void SetSha1(const Aws::String& value) { m_sha1HasBeenSet = true; m_sha1 = value; }
61 inline void SetSha1(Aws::String&& value) { m_sha1HasBeenSet = true; m_sha1 = std::move(value); }
62 inline void SetSha1(const char* value) { m_sha1HasBeenSet = true; m_sha1.assign(value); }
63 inline DocumentDescription& WithSha1(const Aws::String& value) { SetSha1(value); return *this;}
64 inline DocumentDescription& WithSha1(Aws::String&& value) { SetSha1(std::move(value)); return *this;}
65 inline DocumentDescription& WithSha1(const char* value) { SetSha1(value); return *this;}
67
69
73 inline const Aws::String& GetHash() const{ return m_hash; }
74 inline bool HashHasBeenSet() const { return m_hashHasBeenSet; }
75 inline void SetHash(const Aws::String& value) { m_hashHasBeenSet = true; m_hash = value; }
76 inline void SetHash(Aws::String&& value) { m_hashHasBeenSet = true; m_hash = std::move(value); }
77 inline void SetHash(const char* value) { m_hashHasBeenSet = true; m_hash.assign(value); }
78 inline DocumentDescription& WithHash(const Aws::String& value) { SetHash(value); return *this;}
79 inline DocumentDescription& WithHash(Aws::String&& value) { SetHash(std::move(value)); return *this;}
80 inline DocumentDescription& WithHash(const char* value) { SetHash(value); return *this;}
82
84
88 inline const DocumentHashType& GetHashType() const{ return m_hashType; }
89 inline bool HashTypeHasBeenSet() const { return m_hashTypeHasBeenSet; }
90 inline void SetHashType(const DocumentHashType& value) { m_hashTypeHasBeenSet = true; m_hashType = value; }
91 inline void SetHashType(DocumentHashType&& value) { m_hashTypeHasBeenSet = true; m_hashType = std::move(value); }
92 inline DocumentDescription& WithHashType(const DocumentHashType& value) { SetHashType(value); return *this;}
93 inline DocumentDescription& WithHashType(DocumentHashType&& value) { SetHashType(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetName() const{ return m_name; }
101 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
102 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
103 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
104 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
105 inline DocumentDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
106 inline DocumentDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
107 inline DocumentDescription& WithName(const char* value) { SetName(value); return *this;}
109
111
116 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
117 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
118 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
119 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
120 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
121 inline DocumentDescription& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
122 inline DocumentDescription& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
123 inline DocumentDescription& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
125
127
130 inline const Aws::String& GetVersionName() const{ return m_versionName; }
131 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
132 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
133 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
134 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
135 inline DocumentDescription& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
136 inline DocumentDescription& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
137 inline DocumentDescription& WithVersionName(const char* value) { SetVersionName(value); return *this;}
139
141
144 inline const Aws::String& GetOwner() const{ return m_owner; }
145 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
146 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
147 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
148 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
149 inline DocumentDescription& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
150 inline DocumentDescription& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
151 inline DocumentDescription& WithOwner(const char* value) { SetOwner(value); return *this;}
153
155
158 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
159 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
160 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
161 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
162 inline DocumentDescription& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
163 inline DocumentDescription& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
165
167
170 inline const DocumentStatus& GetStatus() const{ return m_status; }
171 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
172 inline void SetStatus(const DocumentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
173 inline void SetStatus(DocumentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
174 inline DocumentDescription& WithStatus(const DocumentStatus& value) { SetStatus(value); return *this;}
175 inline DocumentDescription& WithStatus(DocumentStatus&& value) { SetStatus(std::move(value)); return *this;}
177
179
185 inline const Aws::String& GetStatusInformation() const{ return m_statusInformation; }
186 inline bool StatusInformationHasBeenSet() const { return m_statusInformationHasBeenSet; }
187 inline void SetStatusInformation(const Aws::String& value) { m_statusInformationHasBeenSet = true; m_statusInformation = value; }
188 inline void SetStatusInformation(Aws::String&& value) { m_statusInformationHasBeenSet = true; m_statusInformation = std::move(value); }
189 inline void SetStatusInformation(const char* value) { m_statusInformationHasBeenSet = true; m_statusInformation.assign(value); }
190 inline DocumentDescription& WithStatusInformation(const Aws::String& value) { SetStatusInformation(value); return *this;}
191 inline DocumentDescription& WithStatusInformation(Aws::String&& value) { SetStatusInformation(std::move(value)); return *this;}
192 inline DocumentDescription& WithStatusInformation(const char* value) { SetStatusInformation(value); return *this;}
194
196
199 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
200 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
201 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
202 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
203 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
204 inline DocumentDescription& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;}
205 inline DocumentDescription& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
206 inline DocumentDescription& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
208
210
213 inline const Aws::String& GetDescription() const{ return m_description; }
214 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
215 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
216 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
217 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
218 inline DocumentDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
219 inline DocumentDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
220 inline DocumentDescription& WithDescription(const char* value) { SetDescription(value); return *this;}
222
224
227 inline const Aws::Vector<DocumentParameter>& GetParameters() const{ return m_parameters; }
228 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
229 inline void SetParameters(const Aws::Vector<DocumentParameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
230 inline void SetParameters(Aws::Vector<DocumentParameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
232 inline DocumentDescription& WithParameters(Aws::Vector<DocumentParameter>&& value) { SetParameters(std::move(value)); return *this;}
233 inline DocumentDescription& AddParameters(const DocumentParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
234 inline DocumentDescription& AddParameters(DocumentParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
236
238
242 inline const Aws::Vector<PlatformType>& GetPlatformTypes() const{ return m_platformTypes; }
243 inline bool PlatformTypesHasBeenSet() const { return m_platformTypesHasBeenSet; }
244 inline void SetPlatformTypes(const Aws::Vector<PlatformType>& value) { m_platformTypesHasBeenSet = true; m_platformTypes = value; }
245 inline void SetPlatformTypes(Aws::Vector<PlatformType>&& value) { m_platformTypesHasBeenSet = true; m_platformTypes = std::move(value); }
247 inline DocumentDescription& WithPlatformTypes(Aws::Vector<PlatformType>&& value) { SetPlatformTypes(std::move(value)); return *this;}
248 inline DocumentDescription& AddPlatformTypes(const PlatformType& value) { m_platformTypesHasBeenSet = true; m_platformTypes.push_back(value); return *this; }
249 inline DocumentDescription& AddPlatformTypes(PlatformType&& value) { m_platformTypesHasBeenSet = true; m_platformTypes.push_back(std::move(value)); return *this; }
251
253
256 inline const DocumentType& GetDocumentType() const{ return m_documentType; }
257 inline bool DocumentTypeHasBeenSet() const { return m_documentTypeHasBeenSet; }
258 inline void SetDocumentType(const DocumentType& value) { m_documentTypeHasBeenSet = true; m_documentType = value; }
259 inline void SetDocumentType(DocumentType&& value) { m_documentTypeHasBeenSet = true; m_documentType = std::move(value); }
260 inline DocumentDescription& WithDocumentType(const DocumentType& value) { SetDocumentType(value); return *this;}
261 inline DocumentDescription& WithDocumentType(DocumentType&& value) { SetDocumentType(std::move(value)); return *this;}
263
265
268 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
269 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
270 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
271 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
272 inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
273 inline DocumentDescription& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
274 inline DocumentDescription& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
275 inline DocumentDescription& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
277
279
282 inline const Aws::String& GetLatestVersion() const{ return m_latestVersion; }
283 inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; }
284 inline void SetLatestVersion(const Aws::String& value) { m_latestVersionHasBeenSet = true; m_latestVersion = value; }
285 inline void SetLatestVersion(Aws::String&& value) { m_latestVersionHasBeenSet = true; m_latestVersion = std::move(value); }
286 inline void SetLatestVersion(const char* value) { m_latestVersionHasBeenSet = true; m_latestVersion.assign(value); }
287 inline DocumentDescription& WithLatestVersion(const Aws::String& value) { SetLatestVersion(value); return *this;}
288 inline DocumentDescription& WithLatestVersion(Aws::String&& value) { SetLatestVersion(std::move(value)); return *this;}
289 inline DocumentDescription& WithLatestVersion(const char* value) { SetLatestVersion(value); return *this;}
291
293
296 inline const Aws::String& GetDefaultVersion() const{ return m_defaultVersion; }
297 inline bool DefaultVersionHasBeenSet() const { return m_defaultVersionHasBeenSet; }
298 inline void SetDefaultVersion(const Aws::String& value) { m_defaultVersionHasBeenSet = true; m_defaultVersion = value; }
299 inline void SetDefaultVersion(Aws::String&& value) { m_defaultVersionHasBeenSet = true; m_defaultVersion = std::move(value); }
300 inline void SetDefaultVersion(const char* value) { m_defaultVersionHasBeenSet = true; m_defaultVersion.assign(value); }
301 inline DocumentDescription& WithDefaultVersion(const Aws::String& value) { SetDefaultVersion(value); return *this;}
302 inline DocumentDescription& WithDefaultVersion(Aws::String&& value) { SetDefaultVersion(std::move(value)); return *this;}
303 inline DocumentDescription& WithDefaultVersion(const char* value) { SetDefaultVersion(value); return *this;}
305
307
310 inline const DocumentFormat& GetDocumentFormat() const{ return m_documentFormat; }
311 inline bool DocumentFormatHasBeenSet() const { return m_documentFormatHasBeenSet; }
312 inline void SetDocumentFormat(const DocumentFormat& value) { m_documentFormatHasBeenSet = true; m_documentFormat = value; }
313 inline void SetDocumentFormat(DocumentFormat&& value) { m_documentFormatHasBeenSet = true; m_documentFormat = std::move(value); }
314 inline DocumentDescription& WithDocumentFormat(const DocumentFormat& value) { SetDocumentFormat(value); return *this;}
315 inline DocumentDescription& WithDocumentFormat(DocumentFormat&& value) { SetDocumentFormat(std::move(value)); return *this;}
317
319
327 inline const Aws::String& GetTargetType() const{ return m_targetType; }
328 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
329 inline void SetTargetType(const Aws::String& value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
330 inline void SetTargetType(Aws::String&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); }
331 inline void SetTargetType(const char* value) { m_targetTypeHasBeenSet = true; m_targetType.assign(value); }
332 inline DocumentDescription& WithTargetType(const Aws::String& value) { SetTargetType(value); return *this;}
333 inline DocumentDescription& WithTargetType(Aws::String&& value) { SetTargetType(std::move(value)); return *this;}
334 inline DocumentDescription& WithTargetType(const char* value) { SetTargetType(value); return *this;}
336
338
341 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
342 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
343 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
344 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
345 inline DocumentDescription& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
346 inline DocumentDescription& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
347 inline DocumentDescription& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
348 inline DocumentDescription& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
350
352
356 inline const Aws::Vector<AttachmentInformation>& GetAttachmentsInformation() const{ return m_attachmentsInformation; }
357 inline bool AttachmentsInformationHasBeenSet() const { return m_attachmentsInformationHasBeenSet; }
358 inline void SetAttachmentsInformation(const Aws::Vector<AttachmentInformation>& value) { m_attachmentsInformationHasBeenSet = true; m_attachmentsInformation = value; }
359 inline void SetAttachmentsInformation(Aws::Vector<AttachmentInformation>&& value) { m_attachmentsInformationHasBeenSet = true; m_attachmentsInformation = std::move(value); }
362 inline DocumentDescription& AddAttachmentsInformation(const AttachmentInformation& value) { m_attachmentsInformationHasBeenSet = true; m_attachmentsInformation.push_back(value); return *this; }
363 inline DocumentDescription& AddAttachmentsInformation(AttachmentInformation&& value) { m_attachmentsInformationHasBeenSet = true; m_attachmentsInformation.push_back(std::move(value)); return *this; }
365
367
372 inline const Aws::Vector<DocumentRequires>& GetRequires() const{ return m_requires; }
373 inline bool RequiresHasBeenSet() const { return m_requiresHasBeenSet; }
374 inline void SetRequires(const Aws::Vector<DocumentRequires>& value) { m_requiresHasBeenSet = true; m_requires = value; }
375 inline void SetRequires(Aws::Vector<DocumentRequires>&& value) { m_requiresHasBeenSet = true; m_requires = std::move(value); }
376 inline DocumentDescription& WithRequires(const Aws::Vector<DocumentRequires>& value) { SetRequires(value); return *this;}
377 inline DocumentDescription& WithRequires(Aws::Vector<DocumentRequires>&& value) { SetRequires(std::move(value)); return *this;}
378 inline DocumentDescription& AddRequires(const DocumentRequires& value) { m_requiresHasBeenSet = true; m_requires.push_back(value); return *this; }
379 inline DocumentDescription& AddRequires(DocumentRequires&& value) { m_requiresHasBeenSet = true; m_requires.push_back(std::move(value)); return *this; }
381
383
386 inline const Aws::String& GetAuthor() const{ return m_author; }
387 inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; }
388 inline void SetAuthor(const Aws::String& value) { m_authorHasBeenSet = true; m_author = value; }
389 inline void SetAuthor(Aws::String&& value) { m_authorHasBeenSet = true; m_author = std::move(value); }
390 inline void SetAuthor(const char* value) { m_authorHasBeenSet = true; m_author.assign(value); }
391 inline DocumentDescription& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;}
392 inline DocumentDescription& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;}
393 inline DocumentDescription& WithAuthor(const char* value) { SetAuthor(value); return *this;}
395
397
400 inline const Aws::Vector<ReviewInformation>& GetReviewInformation() const{ return m_reviewInformation; }
401 inline bool ReviewInformationHasBeenSet() const { return m_reviewInformationHasBeenSet; }
402 inline void SetReviewInformation(const Aws::Vector<ReviewInformation>& value) { m_reviewInformationHasBeenSet = true; m_reviewInformation = value; }
403 inline void SetReviewInformation(Aws::Vector<ReviewInformation>&& value) { m_reviewInformationHasBeenSet = true; m_reviewInformation = std::move(value); }
406 inline DocumentDescription& AddReviewInformation(const ReviewInformation& value) { m_reviewInformationHasBeenSet = true; m_reviewInformation.push_back(value); return *this; }
407 inline DocumentDescription& AddReviewInformation(ReviewInformation&& value) { m_reviewInformationHasBeenSet = true; m_reviewInformation.push_back(std::move(value)); return *this; }
409
411
415 inline const Aws::String& GetApprovedVersion() const{ return m_approvedVersion; }
416 inline bool ApprovedVersionHasBeenSet() const { return m_approvedVersionHasBeenSet; }
417 inline void SetApprovedVersion(const Aws::String& value) { m_approvedVersionHasBeenSet = true; m_approvedVersion = value; }
418 inline void SetApprovedVersion(Aws::String&& value) { m_approvedVersionHasBeenSet = true; m_approvedVersion = std::move(value); }
419 inline void SetApprovedVersion(const char* value) { m_approvedVersionHasBeenSet = true; m_approvedVersion.assign(value); }
420 inline DocumentDescription& WithApprovedVersion(const Aws::String& value) { SetApprovedVersion(value); return *this;}
421 inline DocumentDescription& WithApprovedVersion(Aws::String&& value) { SetApprovedVersion(std::move(value)); return *this;}
422 inline DocumentDescription& WithApprovedVersion(const char* value) { SetApprovedVersion(value); return *this;}
424
426
429 inline const Aws::String& GetPendingReviewVersion() const{ return m_pendingReviewVersion; }
430 inline bool PendingReviewVersionHasBeenSet() const { return m_pendingReviewVersionHasBeenSet; }
431 inline void SetPendingReviewVersion(const Aws::String& value) { m_pendingReviewVersionHasBeenSet = true; m_pendingReviewVersion = value; }
432 inline void SetPendingReviewVersion(Aws::String&& value) { m_pendingReviewVersionHasBeenSet = true; m_pendingReviewVersion = std::move(value); }
433 inline void SetPendingReviewVersion(const char* value) { m_pendingReviewVersionHasBeenSet = true; m_pendingReviewVersion.assign(value); }
435 inline DocumentDescription& WithPendingReviewVersion(Aws::String&& value) { SetPendingReviewVersion(std::move(value)); return *this;}
436 inline DocumentDescription& WithPendingReviewVersion(const char* value) { SetPendingReviewVersion(value); return *this;}
438
440
443 inline const ReviewStatus& GetReviewStatus() const{ return m_reviewStatus; }
444 inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; }
445 inline void SetReviewStatus(const ReviewStatus& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = value; }
446 inline void SetReviewStatus(ReviewStatus&& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = std::move(value); }
447 inline DocumentDescription& WithReviewStatus(const ReviewStatus& value) { SetReviewStatus(value); return *this;}
448 inline DocumentDescription& WithReviewStatus(ReviewStatus&& value) { SetReviewStatus(std::move(value)); return *this;}
450
452
456 inline const Aws::Vector<Aws::String>& GetCategory() const{ return m_category; }
457 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
458 inline void SetCategory(const Aws::Vector<Aws::String>& value) { m_categoryHasBeenSet = true; m_category = value; }
459 inline void SetCategory(Aws::Vector<Aws::String>&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
460 inline DocumentDescription& WithCategory(const Aws::Vector<Aws::String>& value) { SetCategory(value); return *this;}
461 inline DocumentDescription& WithCategory(Aws::Vector<Aws::String>&& value) { SetCategory(std::move(value)); return *this;}
462 inline DocumentDescription& AddCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category.push_back(value); return *this; }
463 inline DocumentDescription& AddCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category.push_back(std::move(value)); return *this; }
464 inline DocumentDescription& AddCategory(const char* value) { m_categoryHasBeenSet = true; m_category.push_back(value); return *this; }
466
468
471 inline const Aws::Vector<Aws::String>& GetCategoryEnum() const{ return m_categoryEnum; }
472 inline bool CategoryEnumHasBeenSet() const { return m_categoryEnumHasBeenSet; }
473 inline void SetCategoryEnum(const Aws::Vector<Aws::String>& value) { m_categoryEnumHasBeenSet = true; m_categoryEnum = value; }
474 inline void SetCategoryEnum(Aws::Vector<Aws::String>&& value) { m_categoryEnumHasBeenSet = true; m_categoryEnum = std::move(value); }
476 inline DocumentDescription& WithCategoryEnum(Aws::Vector<Aws::String>&& value) { SetCategoryEnum(std::move(value)); return *this;}
477 inline DocumentDescription& AddCategoryEnum(const Aws::String& value) { m_categoryEnumHasBeenSet = true; m_categoryEnum.push_back(value); return *this; }
478 inline DocumentDescription& AddCategoryEnum(Aws::String&& value) { m_categoryEnumHasBeenSet = true; m_categoryEnum.push_back(std::move(value)); return *this; }
479 inline DocumentDescription& AddCategoryEnum(const char* value) { m_categoryEnumHasBeenSet = true; m_categoryEnum.push_back(value); return *this; }
481 private:
482
483 Aws::String m_sha1;
484 bool m_sha1HasBeenSet = false;
485
486 Aws::String m_hash;
487 bool m_hashHasBeenSet = false;
488
489 DocumentHashType m_hashType;
490 bool m_hashTypeHasBeenSet = false;
491
492 Aws::String m_name;
493 bool m_nameHasBeenSet = false;
494
495 Aws::String m_displayName;
496 bool m_displayNameHasBeenSet = false;
497
498 Aws::String m_versionName;
499 bool m_versionNameHasBeenSet = false;
500
501 Aws::String m_owner;
502 bool m_ownerHasBeenSet = false;
503
504 Aws::Utils::DateTime m_createdDate;
505 bool m_createdDateHasBeenSet = false;
506
507 DocumentStatus m_status;
508 bool m_statusHasBeenSet = false;
509
510 Aws::String m_statusInformation;
511 bool m_statusInformationHasBeenSet = false;
512
513 Aws::String m_documentVersion;
514 bool m_documentVersionHasBeenSet = false;
515
516 Aws::String m_description;
517 bool m_descriptionHasBeenSet = false;
518
520 bool m_parametersHasBeenSet = false;
521
522 Aws::Vector<PlatformType> m_platformTypes;
523 bool m_platformTypesHasBeenSet = false;
524
525 DocumentType m_documentType;
526 bool m_documentTypeHasBeenSet = false;
527
528 Aws::String m_schemaVersion;
529 bool m_schemaVersionHasBeenSet = false;
530
531 Aws::String m_latestVersion;
532 bool m_latestVersionHasBeenSet = false;
533
534 Aws::String m_defaultVersion;
535 bool m_defaultVersionHasBeenSet = false;
536
537 DocumentFormat m_documentFormat;
538 bool m_documentFormatHasBeenSet = false;
539
540 Aws::String m_targetType;
541 bool m_targetTypeHasBeenSet = false;
542
543 Aws::Vector<Tag> m_tags;
544 bool m_tagsHasBeenSet = false;
545
546 Aws::Vector<AttachmentInformation> m_attachmentsInformation;
547 bool m_attachmentsInformationHasBeenSet = false;
548
550 bool m_requiresHasBeenSet = false;
551
552 Aws::String m_author;
553 bool m_authorHasBeenSet = false;
554
555 Aws::Vector<ReviewInformation> m_reviewInformation;
556 bool m_reviewInformationHasBeenSet = false;
557
558 Aws::String m_approvedVersion;
559 bool m_approvedVersionHasBeenSet = false;
560
561 Aws::String m_pendingReviewVersion;
562 bool m_pendingReviewVersionHasBeenSet = false;
563
564 ReviewStatus m_reviewStatus;
565 bool m_reviewStatusHasBeenSet = false;
566
567 Aws::Vector<Aws::String> m_category;
568 bool m_categoryHasBeenSet = false;
569
570 Aws::Vector<Aws::String> m_categoryEnum;
571 bool m_categoryEnumHasBeenSet = false;
572 };
573
574} // namespace Model
575} // namespace SSM
576} // namespace Aws
void SetPlatformTypes(const Aws::Vector< PlatformType > &value)
DocumentDescription & WithSha1(Aws::String &&value)
void SetRequires(Aws::Vector< DocumentRequires > &&value)
DocumentDescription & AddReviewInformation(ReviewInformation &&value)
void SetReviewInformation(Aws::Vector< ReviewInformation > &&value)
DocumentDescription & WithApprovedVersion(const char *value)
void SetOwner(const Aws::String &value)
void SetRequires(const Aws::Vector< DocumentRequires > &value)
void SetDocumentFormat(DocumentFormat &&value)
DocumentDescription & WithStatusInformation(const char *value)
DocumentDescription & AddCategory(const Aws::String &value)
DocumentDescription & WithAttachmentsInformation(const Aws::Vector< AttachmentInformation > &value)
DocumentDescription & AddParameters(const DocumentParameter &value)
void SetDocumentVersion(Aws::String &&value)
DocumentDescription & WithReviewStatus(ReviewStatus &&value)
void SetApprovedVersion(const Aws::String &value)
void SetDocumentFormat(const DocumentFormat &value)
const Aws::String & GetSchemaVersion() const
const Aws::Vector< Aws::String > & GetCategory() const
DocumentDescription & WithDefaultVersion(const Aws::String &value)
void SetCategoryEnum(const Aws::Vector< Aws::String > &value)
DocumentDescription & WithDescription(const Aws::String &value)
const DocumentFormat & GetDocumentFormat() const
DocumentDescription & WithDocumentVersion(const Aws::String &value)
DocumentDescription & WithDescription(Aws::String &&value)
void SetPendingReviewVersion(Aws::String &&value)
const Aws::Vector< PlatformType > & GetPlatformTypes() const
DocumentDescription & WithReviewInformation(const Aws::Vector< ReviewInformation > &value)
void SetDocumentType(const DocumentType &value)
void SetVersionName(const Aws::String &value)
DocumentDescription & WithSha1(const char *value)
const Aws::Vector< ReviewInformation > & GetReviewInformation() const
DocumentDescription & WithRequires(const Aws::Vector< DocumentRequires > &value)
DocumentDescription & WithHash(const Aws::String &value)
DocumentDescription & AddRequires(DocumentRequires &&value)
DocumentDescription & WithLatestVersion(const Aws::String &value)
DocumentDescription & WithStatusInformation(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
DocumentDescription & WithDescription(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentDescription & AddCategoryEnum(const Aws::String &value)
const Aws::Vector< AttachmentInformation > & GetAttachmentsInformation() const
void SetDocumentVersion(const Aws::String &value)
DocumentDescription & WithCategory(Aws::Vector< Aws::String > &&value)
DocumentDescription & WithOwner(const char *value)
DocumentDescription & WithStatus(const DocumentStatus &value)
DocumentDescription & WithDisplayName(Aws::String &&value)
DocumentDescription & WithParameters(Aws::Vector< DocumentParameter > &&value)
DocumentDescription & WithPendingReviewVersion(const char *value)
DocumentDescription & WithAuthor(Aws::String &&value)
void SetSchemaVersion(Aws::String &&value)
void SetAttachmentsInformation(const Aws::Vector< AttachmentInformation > &value)
DocumentDescription & WithTargetType(const Aws::String &value)
DocumentDescription & WithTargetType(const char *value)
DocumentDescription & WithDisplayName(const char *value)
DocumentDescription & WithLatestVersion(const char *value)
DocumentDescription & WithPendingReviewVersion(const Aws::String &value)
const Aws::String & GetTargetType() const
DocumentDescription & WithDocumentType(const DocumentType &value)
DocumentDescription & WithApprovedVersion(const Aws::String &value)
DocumentDescription & WithSchemaVersion(const char *value)
DocumentDescription & AddPlatformTypes(PlatformType &&value)
DocumentDescription & WithSchemaVersion(Aws::String &&value)
void SetHashType(DocumentHashType &&value)
DocumentDescription & AddCategoryEnum(const char *value)
void SetStatusInformation(const Aws::String &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
DocumentDescription & WithLatestVersion(Aws::String &&value)
void SetParameters(Aws::Vector< DocumentParameter > &&value)
DocumentDescription & WithDefaultVersion(const char *value)
DocumentDescription & WithHashType(const DocumentHashType &value)
DocumentDescription & AddTags(const Tag &value)
DocumentDescription & WithOwner(const Aws::String &value)
DocumentDescription & WithHashType(DocumentHashType &&value)
DocumentDescription & WithSchemaVersion(const Aws::String &value)
void SetAttachmentsInformation(Aws::Vector< AttachmentInformation > &&value)
DocumentDescription & AddParameters(DocumentParameter &&value)
const DocumentType & GetDocumentType() const
DocumentDescription & AddCategoryEnum(Aws::String &&value)
DocumentDescription & WithCategory(const Aws::Vector< Aws::String > &value)
DocumentDescription & WithPendingReviewVersion(Aws::String &&value)
DocumentDescription & AddAttachmentsInformation(AttachmentInformation &&value)
DocumentDescription & AddTags(Tag &&value)
DocumentDescription & WithPlatformTypes(Aws::Vector< PlatformType > &&value)
DocumentDescription & AddCategory(const char *value)
void SetDocumentType(DocumentType &&value)
DocumentDescription & WithAuthor(const char *value)
void SetStatusInformation(Aws::String &&value)
DocumentDescription & WithTags(const Aws::Vector< Tag > &value)
DocumentDescription & WithHash(Aws::String &&value)
void SetPendingReviewVersion(const Aws::String &value)
DocumentDescription & WithApprovedVersion(Aws::String &&value)
DocumentDescription & WithDefaultVersion(Aws::String &&value)
void SetApprovedVersion(Aws::String &&value)
AWS_SSM_API DocumentDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentDescription & WithDocumentVersion(const char *value)
DocumentDescription & AddPlatformTypes(const PlatformType &value)
DocumentDescription & AddAttachmentsInformation(const AttachmentInformation &value)
DocumentDescription & WithSha1(const Aws::String &value)
DocumentDescription & WithDocumentFormat(DocumentFormat &&value)
const Aws::String & GetDefaultVersion() const
void SetDefaultVersion(Aws::String &&value)
DocumentDescription & WithOwner(Aws::String &&value)
void SetStatus(const DocumentStatus &value)
const Aws::Vector< DocumentRequires > & GetRequires() const
const Aws::String & GetHash() const
DocumentDescription & WithDocumentVersion(Aws::String &&value)
void SetAuthor(const Aws::String &value)
DocumentDescription & WithRequires(Aws::Vector< DocumentRequires > &&value)
DocumentDescription & AddReviewInformation(const ReviewInformation &value)
void SetLatestVersion(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetAuthor() const
const Aws::String & GetDisplayName() const
DocumentDescription & WithCreatedDate(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
void SetStatus(DocumentStatus &&value)
void SetSchemaVersion(const Aws::String &value)
DocumentDescription & WithTargetType(Aws::String &&value)
DocumentDescription & WithVersionName(Aws::String &&value)
DocumentDescription & WithReviewStatus(const ReviewStatus &value)
DocumentDescription & WithName(Aws::String &&value)
DocumentDescription & WithDisplayName(const Aws::String &value)
void SetParameters(const Aws::Vector< DocumentParameter > &value)
const Aws::String & GetVersionName() const
const DocumentHashType & GetHashType() const
void SetCategory(Aws::Vector< Aws::String > &&value)
DocumentDescription & WithVersionName(const char *value)
void SetPlatformTypes(Aws::Vector< PlatformType > &&value)
const Aws::String & GetApprovedVersion() const
DocumentDescription & WithParameters(const Aws::Vector< DocumentParameter > &value)
const Aws::Vector< Tag > & GetTags() const
void SetDefaultVersion(const Aws::String &value)
DocumentDescription & WithHash(const char *value)
DocumentDescription & AddCategory(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
DocumentDescription & WithCategoryEnum(Aws::Vector< Aws::String > &&value)
const Aws::String & GetSha1() const
DocumentDescription & WithStatusInformation(Aws::String &&value)
const Aws::Vector< Aws::String > & GetCategoryEnum() const
DocumentDescription & AddRequires(const DocumentRequires &value)
void SetHash(const Aws::String &value)
DocumentDescription & WithTags(Aws::Vector< Tag > &&value)
void SetSha1(const Aws::String &value)
DocumentDescription & WithAuthor(const Aws::String &value)
const DocumentStatus & GetStatus() const
void SetPendingReviewVersion(const char *value)
void SetTargetType(const Aws::String &value)
DocumentDescription & WithStatus(DocumentStatus &&value)
void SetHashType(const DocumentHashType &value)
DocumentDescription & WithName(const Aws::String &value)
void SetReviewStatus(ReviewStatus &&value)
DocumentDescription & WithCreatedDate(Aws::Utils::DateTime &&value)
void SetReviewInformation(const Aws::Vector< ReviewInformation > &value)
const Aws::Vector< DocumentParameter > & GetParameters() const
DocumentDescription & WithDocumentType(DocumentType &&value)
void SetCategoryEnum(Aws::Vector< Aws::String > &&value)
void SetLatestVersion(Aws::String &&value)
void SetDisplayName(const Aws::String &value)
DocumentDescription & WithCategoryEnum(const Aws::Vector< Aws::String > &value)
AWS_SSM_API DocumentDescription(Aws::Utils::Json::JsonView jsonValue)
void SetCategory(const Aws::Vector< Aws::String > &value)
DocumentDescription & WithPlatformTypes(const Aws::Vector< PlatformType > &value)
DocumentDescription & WithName(const char *value)
void SetReviewStatus(const ReviewStatus &value)
const Aws::String & GetDocumentVersion() const
DocumentDescription & WithDocumentFormat(const DocumentFormat &value)
const Aws::String & GetStatusInformation() const
DocumentDescription & WithVersionName(const Aws::String &value)
const ReviewStatus & GetReviewStatus() const
const Aws::String & GetDescription() const
DocumentDescription & WithAttachmentsInformation(Aws::Vector< AttachmentInformation > &&value)
const Aws::String & GetLatestVersion() const
void SetDescription(const Aws::String &value)
DocumentDescription & WithReviewInformation(Aws::Vector< ReviewInformation > &&value)
const Aws::String & GetPendingReviewVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue