AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceAssociationStatusInfo.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/InstanceAssociationOutputUrl.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
27
34 {
35 public:
40
41
43
46 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
47 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
48 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
49 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
50 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
51 inline InstanceAssociationStatusInfo& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
52 inline InstanceAssociationStatusInfo& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
53 inline InstanceAssociationStatusInfo& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline InstanceAssociationStatusInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline InstanceAssociationStatusInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline InstanceAssociationStatusInfo& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
75 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
76 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
77 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
78 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
80 inline InstanceAssociationStatusInfo& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
81 inline InstanceAssociationStatusInfo& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
83
85
88 inline const Aws::String& GetAssociationVersion() const{ return m_associationVersion; }
89 inline bool AssociationVersionHasBeenSet() const { return m_associationVersionHasBeenSet; }
90 inline void SetAssociationVersion(const Aws::String& value) { m_associationVersionHasBeenSet = true; m_associationVersion = value; }
91 inline void SetAssociationVersion(Aws::String&& value) { m_associationVersionHasBeenSet = true; m_associationVersion = std::move(value); }
92 inline void SetAssociationVersion(const char* value) { m_associationVersionHasBeenSet = true; m_associationVersion.assign(value); }
95 inline InstanceAssociationStatusInfo& WithAssociationVersion(const char* value) { SetAssociationVersion(value); return *this;}
97
99
102 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
103 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
104 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
105 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
106 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
107 inline InstanceAssociationStatusInfo& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
108 inline InstanceAssociationStatusInfo& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
109 inline InstanceAssociationStatusInfo& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetExecutionDate() const{ return m_executionDate; }
117 inline bool ExecutionDateHasBeenSet() const { return m_executionDateHasBeenSet; }
118 inline void SetExecutionDate(const Aws::Utils::DateTime& value) { m_executionDateHasBeenSet = true; m_executionDate = value; }
119 inline void SetExecutionDate(Aws::Utils::DateTime&& value) { m_executionDateHasBeenSet = true; m_executionDate = std::move(value); }
123
125
128 inline const Aws::String& GetStatus() const{ return m_status; }
129 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
130 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
131 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
132 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
133 inline InstanceAssociationStatusInfo& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
134 inline InstanceAssociationStatusInfo& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
135 inline InstanceAssociationStatusInfo& WithStatus(const char* value) { SetStatus(value); return *this;}
137
139
142 inline const Aws::String& GetDetailedStatus() const{ return m_detailedStatus; }
143 inline bool DetailedStatusHasBeenSet() const { return m_detailedStatusHasBeenSet; }
144 inline void SetDetailedStatus(const Aws::String& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = value; }
145 inline void SetDetailedStatus(Aws::String&& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = std::move(value); }
146 inline void SetDetailedStatus(const char* value) { m_detailedStatusHasBeenSet = true; m_detailedStatus.assign(value); }
148 inline InstanceAssociationStatusInfo& WithDetailedStatus(Aws::String&& value) { SetDetailedStatus(std::move(value)); return *this;}
149 inline InstanceAssociationStatusInfo& WithDetailedStatus(const char* value) { SetDetailedStatus(value); return *this;}
151
153
156 inline const Aws::String& GetExecutionSummary() const{ return m_executionSummary; }
157 inline bool ExecutionSummaryHasBeenSet() const { return m_executionSummaryHasBeenSet; }
158 inline void SetExecutionSummary(const Aws::String& value) { m_executionSummaryHasBeenSet = true; m_executionSummary = value; }
159 inline void SetExecutionSummary(Aws::String&& value) { m_executionSummaryHasBeenSet = true; m_executionSummary = std::move(value); }
160 inline void SetExecutionSummary(const char* value) { m_executionSummaryHasBeenSet = true; m_executionSummary.assign(value); }
162 inline InstanceAssociationStatusInfo& WithExecutionSummary(Aws::String&& value) { SetExecutionSummary(std::move(value)); return *this;}
163 inline InstanceAssociationStatusInfo& WithExecutionSummary(const char* value) { SetExecutionSummary(value); return *this;}
165
167
170 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
171 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
172 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
173 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
174 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
175 inline InstanceAssociationStatusInfo& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
176 inline InstanceAssociationStatusInfo& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
177 inline InstanceAssociationStatusInfo& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
179
181
185 inline const InstanceAssociationOutputUrl& GetOutputUrl() const{ return m_outputUrl; }
186 inline bool OutputUrlHasBeenSet() const { return m_outputUrlHasBeenSet; }
187 inline void SetOutputUrl(const InstanceAssociationOutputUrl& value) { m_outputUrlHasBeenSet = true; m_outputUrl = value; }
188 inline void SetOutputUrl(InstanceAssociationOutputUrl&& value) { m_outputUrlHasBeenSet = true; m_outputUrl = std::move(value); }
192
194
197 inline const Aws::String& GetAssociationName() const{ return m_associationName; }
198 inline bool AssociationNameHasBeenSet() const { return m_associationNameHasBeenSet; }
199 inline void SetAssociationName(const Aws::String& value) { m_associationNameHasBeenSet = true; m_associationName = value; }
200 inline void SetAssociationName(Aws::String&& value) { m_associationNameHasBeenSet = true; m_associationName = std::move(value); }
201 inline void SetAssociationName(const char* value) { m_associationNameHasBeenSet = true; m_associationName.assign(value); }
203 inline InstanceAssociationStatusInfo& WithAssociationName(Aws::String&& value) { SetAssociationName(std::move(value)); return *this;}
204 inline InstanceAssociationStatusInfo& WithAssociationName(const char* value) { SetAssociationName(value); return *this;}
206 private:
207
208 Aws::String m_associationId;
209 bool m_associationIdHasBeenSet = false;
210
211 Aws::String m_name;
212 bool m_nameHasBeenSet = false;
213
214 Aws::String m_documentVersion;
215 bool m_documentVersionHasBeenSet = false;
216
217 Aws::String m_associationVersion;
218 bool m_associationVersionHasBeenSet = false;
219
220 Aws::String m_instanceId;
221 bool m_instanceIdHasBeenSet = false;
222
223 Aws::Utils::DateTime m_executionDate;
224 bool m_executionDateHasBeenSet = false;
225
226 Aws::String m_status;
227 bool m_statusHasBeenSet = false;
228
229 Aws::String m_detailedStatus;
230 bool m_detailedStatusHasBeenSet = false;
231
232 Aws::String m_executionSummary;
233 bool m_executionSummaryHasBeenSet = false;
234
235 Aws::String m_errorCode;
236 bool m_errorCodeHasBeenSet = false;
237
239 bool m_outputUrlHasBeenSet = false;
240
241 Aws::String m_associationName;
242 bool m_associationNameHasBeenSet = false;
243 };
244
245} // namespace Model
246} // namespace SSM
247} // namespace Aws
InstanceAssociationStatusInfo & WithErrorCode(const char *value)
InstanceAssociationStatusInfo & WithExecutionDate(Aws::Utils::DateTime &&value)
InstanceAssociationStatusInfo & WithAssociationId(Aws::String &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputUrl(const InstanceAssociationOutputUrl &value)
InstanceAssociationStatusInfo & WithExecutionSummary(Aws::String &&value)
InstanceAssociationStatusInfo & WithAssociationId(const char *value)
InstanceAssociationStatusInfo & WithInstanceId(const char *value)
InstanceAssociationStatusInfo & WithDocumentVersion(const char *value)
const InstanceAssociationOutputUrl & GetOutputUrl() const
InstanceAssociationStatusInfo & WithStatus(const Aws::String &value)
InstanceAssociationStatusInfo & WithInstanceId(Aws::String &&value)
void SetExecutionDate(const Aws::Utils::DateTime &value)
void SetOutputUrl(InstanceAssociationOutputUrl &&value)
InstanceAssociationStatusInfo & WithExecutionSummary(const char *value)
InstanceAssociationStatusInfo & WithStatus(const char *value)
InstanceAssociationStatusInfo & WithDocumentVersion(const Aws::String &value)
InstanceAssociationStatusInfo & WithAssociationVersion(const char *value)
InstanceAssociationStatusInfo & WithAssociationName(const char *value)
InstanceAssociationStatusInfo & WithDetailedStatus(const char *value)
InstanceAssociationStatusInfo & WithOutputUrl(InstanceAssociationOutputUrl &&value)
InstanceAssociationStatusInfo & WithName(const char *value)
AWS_SSM_API InstanceAssociationStatusInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceAssociationStatusInfo & WithExecutionDate(const Aws::Utils::DateTime &value)
InstanceAssociationStatusInfo & WithName(const Aws::String &value)
InstanceAssociationStatusInfo & WithExecutionSummary(const Aws::String &value)
InstanceAssociationStatusInfo & WithAssociationName(const Aws::String &value)
InstanceAssociationStatusInfo & WithAssociationName(Aws::String &&value)
InstanceAssociationStatusInfo & WithDetailedStatus(Aws::String &&value)
InstanceAssociationStatusInfo & WithErrorCode(Aws::String &&value)
InstanceAssociationStatusInfo & WithDocumentVersion(Aws::String &&value)
InstanceAssociationStatusInfo & WithAssociationId(const Aws::String &value)
AWS_SSM_API InstanceAssociationStatusInfo(Aws::Utils::Json::JsonView jsonValue)
InstanceAssociationStatusInfo & WithName(Aws::String &&value)
InstanceAssociationStatusInfo & WithInstanceId(const Aws::String &value)
InstanceAssociationStatusInfo & WithAssociationVersion(Aws::String &&value)
InstanceAssociationStatusInfo & WithOutputUrl(const InstanceAssociationOutputUrl &value)
InstanceAssociationStatusInfo & WithErrorCode(const Aws::String &value)
InstanceAssociationStatusInfo & WithStatus(Aws::String &&value)
InstanceAssociationStatusInfo & WithDetailedStatus(const Aws::String &value)
InstanceAssociationStatusInfo & WithAssociationVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue