AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpsItemRelatedItemSummary.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/OpsItemIdentity.h>
10#include <aws/core/utils/DateTime.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
35 {
36 public:
41
42
44
47 inline const Aws::String& GetOpsItemId() const{ return m_opsItemId; }
48 inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; }
49 inline void SetOpsItemId(const Aws::String& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = value; }
50 inline void SetOpsItemId(Aws::String&& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = std::move(value); }
51 inline void SetOpsItemId(const char* value) { m_opsItemIdHasBeenSet = true; m_opsItemId.assign(value); }
52 inline OpsItemRelatedItemSummary& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;}
53 inline OpsItemRelatedItemSummary& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;}
54 inline OpsItemRelatedItemSummary& WithOpsItemId(const char* value) { SetOpsItemId(value); return *this;}
56
58
61 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
62 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
63 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
64 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
65 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
66 inline OpsItemRelatedItemSummary& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
67 inline OpsItemRelatedItemSummary& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
68 inline OpsItemRelatedItemSummary& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
70
72
75 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
76 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
77 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
78 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
79 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
80 inline OpsItemRelatedItemSummary& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
81 inline OpsItemRelatedItemSummary& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
82 inline OpsItemRelatedItemSummary& WithResourceType(const char* value) { SetResourceType(value); return *this;}
84
86
89 inline const Aws::String& GetAssociationType() const{ return m_associationType; }
90 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
91 inline void SetAssociationType(const Aws::String& value) { m_associationTypeHasBeenSet = true; m_associationType = value; }
92 inline void SetAssociationType(Aws::String&& value) { m_associationTypeHasBeenSet = true; m_associationType = std::move(value); }
93 inline void SetAssociationType(const char* value) { m_associationTypeHasBeenSet = true; m_associationType.assign(value); }
94 inline OpsItemRelatedItemSummary& WithAssociationType(const Aws::String& value) { SetAssociationType(value); return *this;}
95 inline OpsItemRelatedItemSummary& WithAssociationType(Aws::String&& value) { SetAssociationType(std::move(value)); return *this;}
96 inline OpsItemRelatedItemSummary& WithAssociationType(const char* value) { SetAssociationType(value); return *this;}
98
100
103 inline const Aws::String& GetResourceUri() const{ return m_resourceUri; }
104 inline bool ResourceUriHasBeenSet() const { return m_resourceUriHasBeenSet; }
105 inline void SetResourceUri(const Aws::String& value) { m_resourceUriHasBeenSet = true; m_resourceUri = value; }
106 inline void SetResourceUri(Aws::String&& value) { m_resourceUriHasBeenSet = true; m_resourceUri = std::move(value); }
107 inline void SetResourceUri(const char* value) { m_resourceUriHasBeenSet = true; m_resourceUri.assign(value); }
108 inline OpsItemRelatedItemSummary& WithResourceUri(const Aws::String& value) { SetResourceUri(value); return *this;}
109 inline OpsItemRelatedItemSummary& WithResourceUri(Aws::String&& value) { SetResourceUri(std::move(value)); return *this;}
110 inline OpsItemRelatedItemSummary& WithResourceUri(const char* value) { SetResourceUri(value); return *this;}
112
114
115 inline const OpsItemIdentity& GetCreatedBy() const{ return m_createdBy; }
116 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
117 inline void SetCreatedBy(const OpsItemIdentity& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
118 inline void SetCreatedBy(OpsItemIdentity&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
119 inline OpsItemRelatedItemSummary& WithCreatedBy(const OpsItemIdentity& value) { SetCreatedBy(value); return *this;}
120 inline OpsItemRelatedItemSummary& WithCreatedBy(OpsItemIdentity&& value) { SetCreatedBy(std::move(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
128 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
129 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
130 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
132 inline OpsItemRelatedItemSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
134
136
137 inline const OpsItemIdentity& GetLastModifiedBy() const{ return m_lastModifiedBy; }
138 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
139 inline void SetLastModifiedBy(const OpsItemIdentity& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
140 inline void SetLastModifiedBy(OpsItemIdentity&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
142 inline OpsItemRelatedItemSummary& WithLastModifiedBy(OpsItemIdentity&& value) { SetLastModifiedBy(std::move(value)); return *this;}
144
146
149 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
150 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
151 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
152 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
156 private:
157
158 Aws::String m_opsItemId;
159 bool m_opsItemIdHasBeenSet = false;
160
161 Aws::String m_associationId;
162 bool m_associationIdHasBeenSet = false;
163
164 Aws::String m_resourceType;
165 bool m_resourceTypeHasBeenSet = false;
166
167 Aws::String m_associationType;
168 bool m_associationTypeHasBeenSet = false;
169
170 Aws::String m_resourceUri;
171 bool m_resourceUriHasBeenSet = false;
172
173 OpsItemIdentity m_createdBy;
174 bool m_createdByHasBeenSet = false;
175
176 Aws::Utils::DateTime m_createdTime;
177 bool m_createdTimeHasBeenSet = false;
178
179 OpsItemIdentity m_lastModifiedBy;
180 bool m_lastModifiedByHasBeenSet = false;
181
182 Aws::Utils::DateTime m_lastModifiedTime;
183 bool m_lastModifiedTimeHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace SSM
188} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue