AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentIdentifier.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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/ReviewStatus.h>
14#include <aws/ssm/model/PlatformType.h>
15#include <aws/ssm/model/Tag.h>
16#include <aws/ssm/model/DocumentRequires.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace SSM
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_SSM_API DocumentIdentifier();
46
47
49
52 inline const Aws::String& GetName() const{ return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
57 inline DocumentIdentifier& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline DocumentIdentifier& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline DocumentIdentifier& WithName(const char* value) { SetName(value); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
67 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
68 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
69 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
70 inline DocumentIdentifier& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
71 inline DocumentIdentifier& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
73
75
80 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
81 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
82 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
83 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
84 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
85 inline DocumentIdentifier& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
86 inline DocumentIdentifier& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
87 inline DocumentIdentifier& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
89
91
94 inline const Aws::String& GetOwner() const{ return m_owner; }
95 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
96 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
97 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
98 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
99 inline DocumentIdentifier& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
100 inline DocumentIdentifier& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
101 inline DocumentIdentifier& WithOwner(const char* value) { SetOwner(value); return *this;}
103
105
110 inline const Aws::String& GetVersionName() const{ return m_versionName; }
111 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
112 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
113 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
114 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
115 inline DocumentIdentifier& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
116 inline DocumentIdentifier& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
117 inline DocumentIdentifier& WithVersionName(const char* value) { SetVersionName(value); return *this;}
119
121
124 inline const Aws::Vector<PlatformType>& GetPlatformTypes() const{ return m_platformTypes; }
125 inline bool PlatformTypesHasBeenSet() const { return m_platformTypesHasBeenSet; }
126 inline void SetPlatformTypes(const Aws::Vector<PlatformType>& value) { m_platformTypesHasBeenSet = true; m_platformTypes = value; }
127 inline void SetPlatformTypes(Aws::Vector<PlatformType>&& value) { m_platformTypesHasBeenSet = true; m_platformTypes = std::move(value); }
129 inline DocumentIdentifier& WithPlatformTypes(Aws::Vector<PlatformType>&& value) { SetPlatformTypes(std::move(value)); return *this;}
130 inline DocumentIdentifier& AddPlatformTypes(const PlatformType& value) { m_platformTypesHasBeenSet = true; m_platformTypes.push_back(value); return *this; }
131 inline DocumentIdentifier& AddPlatformTypes(PlatformType&& value) { m_platformTypesHasBeenSet = true; m_platformTypes.push_back(std::move(value)); return *this; }
133
135
138 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
139 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
140 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
141 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
142 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
143 inline DocumentIdentifier& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;}
144 inline DocumentIdentifier& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
145 inline DocumentIdentifier& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
147
149
152 inline const DocumentType& GetDocumentType() const{ return m_documentType; }
153 inline bool DocumentTypeHasBeenSet() const { return m_documentTypeHasBeenSet; }
154 inline void SetDocumentType(const DocumentType& value) { m_documentTypeHasBeenSet = true; m_documentType = value; }
155 inline void SetDocumentType(DocumentType&& value) { m_documentTypeHasBeenSet = true; m_documentType = std::move(value); }
156 inline DocumentIdentifier& WithDocumentType(const DocumentType& value) { SetDocumentType(value); return *this;}
157 inline DocumentIdentifier& WithDocumentType(DocumentType&& value) { SetDocumentType(std::move(value)); return *this;}
159
161
164 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
165 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
166 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
167 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
168 inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
169 inline DocumentIdentifier& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
170 inline DocumentIdentifier& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
171 inline DocumentIdentifier& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
173
175
178 inline const DocumentFormat& GetDocumentFormat() const{ return m_documentFormat; }
179 inline bool DocumentFormatHasBeenSet() const { return m_documentFormatHasBeenSet; }
180 inline void SetDocumentFormat(const DocumentFormat& value) { m_documentFormatHasBeenSet = true; m_documentFormat = value; }
181 inline void SetDocumentFormat(DocumentFormat&& value) { m_documentFormatHasBeenSet = true; m_documentFormat = std::move(value); }
182 inline DocumentIdentifier& WithDocumentFormat(const DocumentFormat& value) { SetDocumentFormat(value); return *this;}
183 inline DocumentIdentifier& WithDocumentFormat(DocumentFormat&& value) { SetDocumentFormat(std::move(value)); return *this;}
185
187
195 inline const Aws::String& GetTargetType() const{ return m_targetType; }
196 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
197 inline void SetTargetType(const Aws::String& value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
198 inline void SetTargetType(Aws::String&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); }
199 inline void SetTargetType(const char* value) { m_targetTypeHasBeenSet = true; m_targetType.assign(value); }
200 inline DocumentIdentifier& WithTargetType(const Aws::String& value) { SetTargetType(value); return *this;}
201 inline DocumentIdentifier& WithTargetType(Aws::String&& value) { SetTargetType(std::move(value)); return *this;}
202 inline DocumentIdentifier& WithTargetType(const char* value) { SetTargetType(value); return *this;}
204
206
209 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
210 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
211 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
212 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
213 inline DocumentIdentifier& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
214 inline DocumentIdentifier& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
215 inline DocumentIdentifier& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
216 inline DocumentIdentifier& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
218
220
225 inline const Aws::Vector<DocumentRequires>& GetRequires() const{ return m_requires; }
226 inline bool RequiresHasBeenSet() const { return m_requiresHasBeenSet; }
227 inline void SetRequires(const Aws::Vector<DocumentRequires>& value) { m_requiresHasBeenSet = true; m_requires = value; }
228 inline void SetRequires(Aws::Vector<DocumentRequires>&& value) { m_requiresHasBeenSet = true; m_requires = std::move(value); }
229 inline DocumentIdentifier& WithRequires(const Aws::Vector<DocumentRequires>& value) { SetRequires(value); return *this;}
230 inline DocumentIdentifier& WithRequires(Aws::Vector<DocumentRequires>&& value) { SetRequires(std::move(value)); return *this;}
231 inline DocumentIdentifier& AddRequires(const DocumentRequires& value) { m_requiresHasBeenSet = true; m_requires.push_back(value); return *this; }
232 inline DocumentIdentifier& AddRequires(DocumentRequires&& value) { m_requiresHasBeenSet = true; m_requires.push_back(std::move(value)); return *this; }
234
236
239 inline const ReviewStatus& GetReviewStatus() const{ return m_reviewStatus; }
240 inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; }
241 inline void SetReviewStatus(const ReviewStatus& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = value; }
242 inline void SetReviewStatus(ReviewStatus&& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = std::move(value); }
243 inline DocumentIdentifier& WithReviewStatus(const ReviewStatus& value) { SetReviewStatus(value); return *this;}
244 inline DocumentIdentifier& WithReviewStatus(ReviewStatus&& value) { SetReviewStatus(std::move(value)); return *this;}
246
248
251 inline const Aws::String& GetAuthor() const{ return m_author; }
252 inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; }
253 inline void SetAuthor(const Aws::String& value) { m_authorHasBeenSet = true; m_author = value; }
254 inline void SetAuthor(Aws::String&& value) { m_authorHasBeenSet = true; m_author = std::move(value); }
255 inline void SetAuthor(const char* value) { m_authorHasBeenSet = true; m_author.assign(value); }
256 inline DocumentIdentifier& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;}
257 inline DocumentIdentifier& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;}
258 inline DocumentIdentifier& WithAuthor(const char* value) { SetAuthor(value); return *this;}
260 private:
261
262 Aws::String m_name;
263 bool m_nameHasBeenSet = false;
264
265 Aws::Utils::DateTime m_createdDate;
266 bool m_createdDateHasBeenSet = false;
267
268 Aws::String m_displayName;
269 bool m_displayNameHasBeenSet = false;
270
271 Aws::String m_owner;
272 bool m_ownerHasBeenSet = false;
273
274 Aws::String m_versionName;
275 bool m_versionNameHasBeenSet = false;
276
277 Aws::Vector<PlatformType> m_platformTypes;
278 bool m_platformTypesHasBeenSet = false;
279
280 Aws::String m_documentVersion;
281 bool m_documentVersionHasBeenSet = false;
282
283 DocumentType m_documentType;
284 bool m_documentTypeHasBeenSet = false;
285
286 Aws::String m_schemaVersion;
287 bool m_schemaVersionHasBeenSet = false;
288
289 DocumentFormat m_documentFormat;
290 bool m_documentFormatHasBeenSet = false;
291
292 Aws::String m_targetType;
293 bool m_targetTypeHasBeenSet = false;
294
295 Aws::Vector<Tag> m_tags;
296 bool m_tagsHasBeenSet = false;
297
299 bool m_requiresHasBeenSet = false;
300
301 ReviewStatus m_reviewStatus;
302 bool m_reviewStatusHasBeenSet = false;
303
304 Aws::String m_author;
305 bool m_authorHasBeenSet = false;
306 };
307
308} // namespace Model
309} // namespace SSM
310} // namespace Aws
const Aws::String & GetVersionName() const
void SetCreatedDate(Aws::Utils::DateTime &&value)
DocumentIdentifier & WithDisplayName(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
DocumentIdentifier & AddRequires(DocumentRequires &&value)
void SetTargetType(const Aws::String &value)
void SetVersionName(const Aws::String &value)
DocumentIdentifier & WithDocumentVersion(Aws::String &&value)
void SetDocumentType(const DocumentType &value)
DocumentIdentifier & AddPlatformTypes(const PlatformType &value)
void SetDisplayName(const Aws::String &value)
void SetReviewStatus(ReviewStatus &&value)
const ReviewStatus & GetReviewStatus() const
DocumentIdentifier & WithAuthor(const char *value)
DocumentIdentifier & WithDocumentType(const DocumentType &value)
DocumentIdentifier & AddPlatformTypes(PlatformType &&value)
const Aws::Vector< PlatformType > & GetPlatformTypes() const
DocumentIdentifier & WithPlatformTypes(Aws::Vector< PlatformType > &&value)
DocumentIdentifier & WithDocumentType(DocumentType &&value)
void SetTags(const Aws::Vector< Tag > &value)
DocumentIdentifier & WithVersionName(const Aws::String &value)
void SetAuthor(const Aws::String &value)
DocumentIdentifier & WithCreatedDate(const Aws::Utils::DateTime &value)
DocumentIdentifier & WithReviewStatus(const ReviewStatus &value)
DocumentIdentifier & AddTags(const Tag &value)
const Aws::String & GetTargetType() const
AWS_SSM_API DocumentIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentIdentifier & WithTags(Aws::Vector< Tag > &&value)
DocumentIdentifier & WithTargetType(Aws::String &&value)
const DocumentType & GetDocumentType() const
void SetReviewStatus(const ReviewStatus &value)
const Aws::String & GetSchemaVersion() const
void SetTargetType(Aws::String &&value)
DocumentIdentifier & WithPlatformTypes(const Aws::Vector< PlatformType > &value)
AWS_SSM_API DocumentIdentifier(Aws::Utils::Json::JsonView jsonValue)
DocumentIdentifier & WithAuthor(Aws::String &&value)
void SetDocumentType(DocumentType &&value)
DocumentIdentifier & WithVersionName(Aws::String &&value)
const Aws::Vector< DocumentRequires > & GetRequires() const
DocumentIdentifier & WithOwner(Aws::String &&value)
void SetDocumentFormat(const DocumentFormat &value)
DocumentIdentifier & WithRequires(Aws::Vector< DocumentRequires > &&value)
const Aws::String & GetName() const
DocumentIdentifier & WithTargetType(const Aws::String &value)
void SetPlatformTypes(Aws::Vector< PlatformType > &&value)
void SetName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::String & GetAuthor() const
DocumentIdentifier & AddRequires(const DocumentRequires &value)
DocumentIdentifier & WithTargetType(const char *value)
DocumentIdentifier & WithSchemaVersion(const char *value)
const Aws::Vector< Tag > & GetTags() const
void SetDisplayName(Aws::String &&value)
DocumentIdentifier & WithName(Aws::String &&value)
DocumentIdentifier & WithDocumentVersion(const char *value)
DocumentIdentifier & WithReviewStatus(ReviewStatus &&value)
void SetDocumentVersion(const char *value)
const Aws::String & GetDisplayName() const
const Aws::String & GetOwner() const
void SetVersionName(Aws::String &&value)
DocumentIdentifier & WithVersionName(const char *value)
const Aws::String & GetDocumentVersion() const
void SetDocumentFormat(DocumentFormat &&value)
DocumentIdentifier & WithDocumentVersion(const Aws::String &value)
DocumentIdentifier & WithCreatedDate(Aws::Utils::DateTime &&value)
DocumentIdentifier & WithOwner(const char *value)
DocumentIdentifier & WithName(const Aws::String &value)
void SetSchemaVersion(const Aws::String &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentIdentifier & WithSchemaVersion(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
void SetRequires(Aws::Vector< DocumentRequires > &&value)
DocumentIdentifier & WithName(const char *value)
DocumentIdentifier & WithDisplayName(const Aws::String &value)
DocumentIdentifier & WithOwner(const Aws::String &value)
void SetRequires(const Aws::Vector< DocumentRequires > &value)
DocumentIdentifier & AddTags(Tag &&value)
DocumentIdentifier & WithAuthor(const Aws::String &value)
DocumentIdentifier & WithDocumentFormat(const DocumentFormat &value)
void SetSchemaVersion(Aws::String &&value)
DocumentIdentifier & WithDisplayName(Aws::String &&value)
void SetDocumentVersion(Aws::String &&value)
DocumentIdentifier & WithTags(const Aws::Vector< Tag > &value)
DocumentIdentifier & WithSchemaVersion(Aws::String &&value)
void SetOwner(const Aws::String &value)
DocumentIdentifier & WithDocumentFormat(DocumentFormat &&value)
void SetDocumentVersion(const Aws::String &value)
const DocumentFormat & GetDocumentFormat() const
DocumentIdentifier & WithRequires(const Aws::Vector< DocumentRequires > &value)
void SetPlatformTypes(const Aws::Vector< PlatformType > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue