AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
OpsItemRelatedItemSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/OpsItemIdentity.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSM {
22namespace Model {
23
31 public:
32 AWS_SSM_API OpsItemRelatedItemSummary() = default;
36
38
41 inline const Aws::String& GetOpsItemId() const { return m_opsItemId; }
42 inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; }
43 template <typename OpsItemIdT = Aws::String>
44 void SetOpsItemId(OpsItemIdT&& value) {
45 m_opsItemIdHasBeenSet = true;
46 m_opsItemId = std::forward<OpsItemIdT>(value);
47 }
48 template <typename OpsItemIdT = Aws::String>
50 SetOpsItemId(std::forward<OpsItemIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetAssociationId() const { return m_associationId; }
60 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
61 template <typename AssociationIdT = Aws::String>
62 void SetAssociationId(AssociationIdT&& value) {
63 m_associationIdHasBeenSet = true;
64 m_associationId = std::forward<AssociationIdT>(value);
65 }
66 template <typename AssociationIdT = Aws::String>
68 SetAssociationId(std::forward<AssociationIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetResourceType() const { return m_resourceType; }
78 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
79 template <typename ResourceTypeT = Aws::String>
80 void SetResourceType(ResourceTypeT&& value) {
81 m_resourceTypeHasBeenSet = true;
82 m_resourceType = std::forward<ResourceTypeT>(value);
83 }
84 template <typename ResourceTypeT = Aws::String>
86 SetResourceType(std::forward<ResourceTypeT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetAssociationType() const { return m_associationType; }
96 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
97 template <typename AssociationTypeT = Aws::String>
98 void SetAssociationType(AssociationTypeT&& value) {
99 m_associationTypeHasBeenSet = true;
100 m_associationType = std::forward<AssociationTypeT>(value);
101 }
102 template <typename AssociationTypeT = Aws::String>
104 SetAssociationType(std::forward<AssociationTypeT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetResourceUri() const { return m_resourceUri; }
114 inline bool ResourceUriHasBeenSet() const { return m_resourceUriHasBeenSet; }
115 template <typename ResourceUriT = Aws::String>
116 void SetResourceUri(ResourceUriT&& value) {
117 m_resourceUriHasBeenSet = true;
118 m_resourceUri = std::forward<ResourceUriT>(value);
119 }
120 template <typename ResourceUriT = Aws::String>
122 SetResourceUri(std::forward<ResourceUriT>(value));
123 return *this;
124 }
126
128
129 inline const OpsItemIdentity& GetCreatedBy() const { return m_createdBy; }
130 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
131 template <typename CreatedByT = OpsItemIdentity>
132 void SetCreatedBy(CreatedByT&& value) {
133 m_createdByHasBeenSet = true;
134 m_createdBy = std::forward<CreatedByT>(value);
135 }
136 template <typename CreatedByT = OpsItemIdentity>
138 SetCreatedBy(std::forward<CreatedByT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
148 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
149 template <typename CreatedTimeT = Aws::Utils::DateTime>
150 void SetCreatedTime(CreatedTimeT&& value) {
151 m_createdTimeHasBeenSet = true;
152 m_createdTime = std::forward<CreatedTimeT>(value);
153 }
154 template <typename CreatedTimeT = Aws::Utils::DateTime>
156 SetCreatedTime(std::forward<CreatedTimeT>(value));
157 return *this;
158 }
160
162
163 inline const OpsItemIdentity& GetLastModifiedBy() const { return m_lastModifiedBy; }
164 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
165 template <typename LastModifiedByT = OpsItemIdentity>
166 void SetLastModifiedBy(LastModifiedByT&& value) {
167 m_lastModifiedByHasBeenSet = true;
168 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
169 }
170 template <typename LastModifiedByT = OpsItemIdentity>
172 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
182 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
183 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
184 void SetLastModifiedTime(LastModifiedTimeT&& value) {
185 m_lastModifiedTimeHasBeenSet = true;
186 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
187 }
188 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
190 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
191 return *this;
192 }
194 private:
195 Aws::String m_opsItemId;
196
197 Aws::String m_associationId;
198
199 Aws::String m_resourceType;
200
201 Aws::String m_associationType;
202
203 Aws::String m_resourceUri;
204
205 OpsItemIdentity m_createdBy;
206
207 Aws::Utils::DateTime m_createdTime{};
208
209 OpsItemIdentity m_lastModifiedBy;
210
211 Aws::Utils::DateTime m_lastModifiedTime{};
212 bool m_opsItemIdHasBeenSet = false;
213 bool m_associationIdHasBeenSet = false;
214 bool m_resourceTypeHasBeenSet = false;
215 bool m_associationTypeHasBeenSet = false;
216 bool m_resourceUriHasBeenSet = false;
217 bool m_createdByHasBeenSet = false;
218 bool m_createdTimeHasBeenSet = false;
219 bool m_lastModifiedByHasBeenSet = false;
220 bool m_lastModifiedTimeHasBeenSet = false;
221};
222
223} // namespace Model
224} // namespace SSM
225} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue