AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentVersionInfo.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/ssm/model/DocumentFormat.h>
11#include <aws/ssm/model/DocumentStatus.h>
12#include <aws/ssm/model/ReviewStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SSM
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_SSM_API DocumentVersionInfo();
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline DocumentVersionInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline DocumentVersionInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline DocumentVersionInfo& WithName(const char* value) { SetName(value); return *this;}
57
59
64 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
65 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
66 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
67 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
68 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
69 inline DocumentVersionInfo& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
70 inline DocumentVersionInfo& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
71 inline DocumentVersionInfo& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
73
75
78 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
79 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
80 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
81 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
82 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
83 inline DocumentVersionInfo& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;}
84 inline DocumentVersionInfo& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
85 inline DocumentVersionInfo& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
87
89
94 inline const Aws::String& GetVersionName() const{ return m_versionName; }
95 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
96 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
97 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
98 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
99 inline DocumentVersionInfo& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
100 inline DocumentVersionInfo& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
101 inline DocumentVersionInfo& WithVersionName(const char* value) { SetVersionName(value); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
109 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
110 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
111 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
112 inline DocumentVersionInfo& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
113 inline DocumentVersionInfo& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
115
117
120 inline bool GetIsDefaultVersion() const{ return m_isDefaultVersion; }
121 inline bool IsDefaultVersionHasBeenSet() const { return m_isDefaultVersionHasBeenSet; }
122 inline void SetIsDefaultVersion(bool value) { m_isDefaultVersionHasBeenSet = true; m_isDefaultVersion = value; }
123 inline DocumentVersionInfo& WithIsDefaultVersion(bool value) { SetIsDefaultVersion(value); return *this;}
125
127
130 inline const DocumentFormat& GetDocumentFormat() const{ return m_documentFormat; }
131 inline bool DocumentFormatHasBeenSet() const { return m_documentFormatHasBeenSet; }
132 inline void SetDocumentFormat(const DocumentFormat& value) { m_documentFormatHasBeenSet = true; m_documentFormat = value; }
133 inline void SetDocumentFormat(DocumentFormat&& value) { m_documentFormatHasBeenSet = true; m_documentFormat = std::move(value); }
134 inline DocumentVersionInfo& WithDocumentFormat(const DocumentFormat& value) { SetDocumentFormat(value); return *this;}
135 inline DocumentVersionInfo& WithDocumentFormat(DocumentFormat&& value) { SetDocumentFormat(std::move(value)); return *this;}
137
139
143 inline const DocumentStatus& GetStatus() const{ return m_status; }
144 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
145 inline void SetStatus(const DocumentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
146 inline void SetStatus(DocumentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
147 inline DocumentVersionInfo& WithStatus(const DocumentStatus& value) { SetStatus(value); return *this;}
148 inline DocumentVersionInfo& WithStatus(DocumentStatus&& value) { SetStatus(std::move(value)); return *this;}
150
152
158 inline const Aws::String& GetStatusInformation() const{ return m_statusInformation; }
159 inline bool StatusInformationHasBeenSet() const { return m_statusInformationHasBeenSet; }
160 inline void SetStatusInformation(const Aws::String& value) { m_statusInformationHasBeenSet = true; m_statusInformation = value; }
161 inline void SetStatusInformation(Aws::String&& value) { m_statusInformationHasBeenSet = true; m_statusInformation = std::move(value); }
162 inline void SetStatusInformation(const char* value) { m_statusInformationHasBeenSet = true; m_statusInformation.assign(value); }
163 inline DocumentVersionInfo& WithStatusInformation(const Aws::String& value) { SetStatusInformation(value); return *this;}
164 inline DocumentVersionInfo& WithStatusInformation(Aws::String&& value) { SetStatusInformation(std::move(value)); return *this;}
165 inline DocumentVersionInfo& WithStatusInformation(const char* value) { SetStatusInformation(value); return *this;}
167
169
173 inline const ReviewStatus& GetReviewStatus() const{ return m_reviewStatus; }
174 inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; }
175 inline void SetReviewStatus(const ReviewStatus& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = value; }
176 inline void SetReviewStatus(ReviewStatus&& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = std::move(value); }
177 inline DocumentVersionInfo& WithReviewStatus(const ReviewStatus& value) { SetReviewStatus(value); return *this;}
178 inline DocumentVersionInfo& WithReviewStatus(ReviewStatus&& value) { SetReviewStatus(std::move(value)); return *this;}
180 private:
181
182 Aws::String m_name;
183 bool m_nameHasBeenSet = false;
184
185 Aws::String m_displayName;
186 bool m_displayNameHasBeenSet = false;
187
188 Aws::String m_documentVersion;
189 bool m_documentVersionHasBeenSet = false;
190
191 Aws::String m_versionName;
192 bool m_versionNameHasBeenSet = false;
193
194 Aws::Utils::DateTime m_createdDate;
195 bool m_createdDateHasBeenSet = false;
196
197 bool m_isDefaultVersion;
198 bool m_isDefaultVersionHasBeenSet = false;
199
200 DocumentFormat m_documentFormat;
201 bool m_documentFormatHasBeenSet = false;
202
203 DocumentStatus m_status;
204 bool m_statusHasBeenSet = false;
205
206 Aws::String m_statusInformation;
207 bool m_statusInformationHasBeenSet = false;
208
209 ReviewStatus m_reviewStatus;
210 bool m_reviewStatusHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace SSM
215} // namespace Aws
void SetName(const Aws::String &value)
void SetStatus(const DocumentStatus &value)
DocumentVersionInfo & WithName(Aws::String &&value)
const Aws::String & GetVersionName() const
const ReviewStatus & GetReviewStatus() const
void SetStatusInformation(Aws::String &&value)
void SetStatusInformation(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
DocumentVersionInfo & WithStatus(DocumentStatus &&value)
DocumentVersionInfo & WithDisplayName(const char *value)
void SetReviewStatus(const ReviewStatus &value)
const DocumentStatus & GetStatus() const
void SetDocumentFormat(const DocumentFormat &value)
DocumentVersionInfo & WithVersionName(Aws::String &&value)
DocumentVersionInfo & WithStatusInformation(const Aws::String &value)
DocumentVersionInfo & WithDocumentVersion(const char *value)
void SetDisplayName(Aws::String &&value)
const DocumentFormat & GetDocumentFormat() const
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::String & GetName() const
DocumentVersionInfo & WithStatus(const DocumentStatus &value)
void SetDisplayName(const Aws::String &value)
DocumentVersionInfo & WithCreatedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetDisplayName() const
void SetStatus(DocumentStatus &&value)
DocumentVersionInfo & WithDocumentFormat(DocumentFormat &&value)
DocumentVersionInfo & WithStatusInformation(Aws::String &&value)
void SetVersionName(const Aws::String &value)
DocumentVersionInfo & WithDocumentVersion(const Aws::String &value)
DocumentVersionInfo & WithDocumentVersion(Aws::String &&value)
DocumentVersionInfo & WithVersionName(const Aws::String &value)
DocumentVersionInfo & WithIsDefaultVersion(bool value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReviewStatus(ReviewStatus &&value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
void SetVersionName(Aws::String &&value)
void SetDocumentVersion(Aws::String &&value)
void SetDocumentFormat(DocumentFormat &&value)
const Aws::String & GetDocumentVersion() const
DocumentVersionInfo & WithReviewStatus(const ReviewStatus &value)
DocumentVersionInfo & WithStatusInformation(const char *value)
void SetDocumentVersion(const Aws::String &value)
DocumentVersionInfo & WithCreatedDate(Aws::Utils::DateTime &&value)
DocumentVersionInfo & WithName(const char *value)
DocumentVersionInfo & WithDisplayName(const Aws::String &value)
const Aws::String & GetStatusInformation() const
AWS_SSM_API DocumentVersionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentVersionInfo & WithVersionName(const char *value)
DocumentVersionInfo & WithDisplayName(Aws::String &&value)
DocumentVersionInfo & WithReviewStatus(ReviewStatus &&value)
DocumentVersionInfo & WithDocumentFormat(const DocumentFormat &value)
DocumentVersionInfo & WithName(const Aws::String &value)
AWS_SSM_API DocumentVersionInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue