AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OpsItemEventSummary.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 OpsItemEventSummary() = 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 OpsItemEventSummary& WithOpsItemId(OpsItemIdT&& value) { SetOpsItemId(std::forward<OpsItemIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetEventId() const { return m_eventId; }
60 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
61 template<typename EventIdT = Aws::String>
62 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet = true; m_eventId = std::forward<EventIdT>(value); }
63 template<typename EventIdT = Aws::String>
64 OpsItemEventSummary& WithEventId(EventIdT&& value) { SetEventId(std::forward<EventIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetSource() const { return m_source; }
72 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
73 template<typename SourceT = Aws::String>
74 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
75 template<typename SourceT = Aws::String>
76 OpsItemEventSummary& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
78
80
83 inline const Aws::String& GetDetailType() const { return m_detailType; }
84 inline bool DetailTypeHasBeenSet() const { return m_detailTypeHasBeenSet; }
85 template<typename DetailTypeT = Aws::String>
86 void SetDetailType(DetailTypeT&& value) { m_detailTypeHasBeenSet = true; m_detailType = std::forward<DetailTypeT>(value); }
87 template<typename DetailTypeT = Aws::String>
88 OpsItemEventSummary& WithDetailType(DetailTypeT&& value) { SetDetailType(std::forward<DetailTypeT>(value)); return *this;}
90
92
95 inline const Aws::String& GetDetail() const { return m_detail; }
96 inline bool DetailHasBeenSet() const { return m_detailHasBeenSet; }
97 template<typename DetailT = Aws::String>
98 void SetDetail(DetailT&& value) { m_detailHasBeenSet = true; m_detail = std::forward<DetailT>(value); }
99 template<typename DetailT = Aws::String>
100 OpsItemEventSummary& WithDetail(DetailT&& value) { SetDetail(std::forward<DetailT>(value)); return *this;}
102
104
107 inline const OpsItemIdentity& GetCreatedBy() const { return m_createdBy; }
108 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
109 template<typename CreatedByT = OpsItemIdentity>
110 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
111 template<typename CreatedByT = OpsItemIdentity>
112 OpsItemEventSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
120 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
121 template<typename CreatedTimeT = Aws::Utils::DateTime>
122 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
123 template<typename CreatedTimeT = Aws::Utils::DateTime>
124 OpsItemEventSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
126 private:
127
128 Aws::String m_opsItemId;
129 bool m_opsItemIdHasBeenSet = false;
130
131 Aws::String m_eventId;
132 bool m_eventIdHasBeenSet = false;
133
134 Aws::String m_source;
135 bool m_sourceHasBeenSet = false;
136
137 Aws::String m_detailType;
138 bool m_detailTypeHasBeenSet = false;
139
140 Aws::String m_detail;
141 bool m_detailHasBeenSet = false;
142
143 OpsItemIdentity m_createdBy;
144 bool m_createdByHasBeenSet = false;
145
146 Aws::Utils::DateTime m_createdTime{};
147 bool m_createdTimeHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace SSM
152} // namespace Aws
const Aws::String & GetDetail() const
OpsItemEventSummary & WithCreatedBy(CreatedByT &&value)
OpsItemEventSummary & WithEventId(EventIdT &&value)
const Aws::String & GetSource() const
OpsItemEventSummary & WithSource(SourceT &&value)
AWS_SSM_API OpsItemEventSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::String & GetDetailType() const
OpsItemEventSummary & WithOpsItemId(OpsItemIdT &&value)
void SetDetailType(DetailTypeT &&value)
const OpsItemIdentity & GetCreatedBy() const
AWS_SSM_API OpsItemEventSummary()=default
OpsItemEventSummary & WithDetail(DetailT &&value)
void SetCreatedTime(CreatedTimeT &&value)
const Aws::String & GetEventId() const
OpsItemEventSummary & WithDetailType(DetailTypeT &&value)
OpsItemEventSummary & WithCreatedTime(CreatedTimeT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetOpsItemId() const
AWS_SSM_API OpsItemEventSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue