AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
37 AWS_SSM_API OpsItemRelatedItemSummary() = default;
41
42
44
47 inline const Aws::String& GetOpsItemId() const { return m_opsItemId; }
48 inline bool OpsItemIdHasBeenSet() const { return m_opsItemIdHasBeenSet; }
49 template<typename OpsItemIdT = Aws::String>
50 void SetOpsItemId(OpsItemIdT&& value) { m_opsItemIdHasBeenSet = true; m_opsItemId = std::forward<OpsItemIdT>(value); }
51 template<typename OpsItemIdT = Aws::String>
52 OpsItemRelatedItemSummary& WithOpsItemId(OpsItemIdT&& value) { SetOpsItemId(std::forward<OpsItemIdT>(value)); return *this;}
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) { m_associationIdHasBeenSet = true; m_associationId = std::forward<AssociationIdT>(value); }
63 template<typename AssociationIdT = Aws::String>
64 OpsItemRelatedItemSummary& WithAssociationId(AssociationIdT&& value) { SetAssociationId(std::forward<AssociationIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetResourceType() const { return m_resourceType; }
72 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
73 template<typename ResourceTypeT = Aws::String>
74 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::forward<ResourceTypeT>(value); }
75 template<typename ResourceTypeT = Aws::String>
76 OpsItemRelatedItemSummary& WithResourceType(ResourceTypeT&& value) { SetResourceType(std::forward<ResourceTypeT>(value)); return *this;}
78
80
83 inline const Aws::String& GetAssociationType() const { return m_associationType; }
84 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
85 template<typename AssociationTypeT = Aws::String>
86 void SetAssociationType(AssociationTypeT&& value) { m_associationTypeHasBeenSet = true; m_associationType = std::forward<AssociationTypeT>(value); }
87 template<typename AssociationTypeT = Aws::String>
88 OpsItemRelatedItemSummary& WithAssociationType(AssociationTypeT&& value) { SetAssociationType(std::forward<AssociationTypeT>(value)); return *this;}
90
92
95 inline const Aws::String& GetResourceUri() const { return m_resourceUri; }
96 inline bool ResourceUriHasBeenSet() const { return m_resourceUriHasBeenSet; }
97 template<typename ResourceUriT = Aws::String>
98 void SetResourceUri(ResourceUriT&& value) { m_resourceUriHasBeenSet = true; m_resourceUri = std::forward<ResourceUriT>(value); }
99 template<typename ResourceUriT = Aws::String>
100 OpsItemRelatedItemSummary& WithResourceUri(ResourceUriT&& value) { SetResourceUri(std::forward<ResourceUriT>(value)); return *this;}
102
104
105 inline const OpsItemIdentity& GetCreatedBy() const { return m_createdBy; }
106 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
107 template<typename CreatedByT = OpsItemIdentity>
108 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
109 template<typename CreatedByT = OpsItemIdentity>
110 OpsItemRelatedItemSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
118 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
119 template<typename CreatedTimeT = Aws::Utils::DateTime>
120 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
121 template<typename CreatedTimeT = Aws::Utils::DateTime>
122 OpsItemRelatedItemSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
124
126
127 inline const OpsItemIdentity& GetLastModifiedBy() const { return m_lastModifiedBy; }
128 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
129 template<typename LastModifiedByT = OpsItemIdentity>
130 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
131 template<typename LastModifiedByT = OpsItemIdentity>
132 OpsItemRelatedItemSummary& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
140 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
141 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
142 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
143 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
144 OpsItemRelatedItemSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
146 private:
147
148 Aws::String m_opsItemId;
149 bool m_opsItemIdHasBeenSet = false;
150
151 Aws::String m_associationId;
152 bool m_associationIdHasBeenSet = false;
153
154 Aws::String m_resourceType;
155 bool m_resourceTypeHasBeenSet = false;
156
157 Aws::String m_associationType;
158 bool m_associationTypeHasBeenSet = false;
159
160 Aws::String m_resourceUri;
161 bool m_resourceUriHasBeenSet = false;
162
163 OpsItemIdentity m_createdBy;
164 bool m_createdByHasBeenSet = false;
165
166 Aws::Utils::DateTime m_createdTime{};
167 bool m_createdTimeHasBeenSet = false;
168
169 OpsItemIdentity m_lastModifiedBy;
170 bool m_lastModifiedByHasBeenSet = false;
171
172 Aws::Utils::DateTime m_lastModifiedTime{};
173 bool m_lastModifiedTimeHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace SSM
178} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue