AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 OpsItemEventSummary& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;}
53 inline OpsItemEventSummary& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;}
54 inline OpsItemEventSummary& WithOpsItemId(const char* value) { SetOpsItemId(value); return *this;}
56
58
61 inline const Aws::String& GetEventId() const{ return m_eventId; }
62 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
63 inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; }
64 inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); }
65 inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); }
66 inline OpsItemEventSummary& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
67 inline OpsItemEventSummary& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
68 inline OpsItemEventSummary& WithEventId(const char* value) { SetEventId(value); return *this;}
70
72
75 inline const Aws::String& GetSource() const{ return m_source; }
76 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
77 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
78 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
79 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
80 inline OpsItemEventSummary& WithSource(const Aws::String& value) { SetSource(value); return *this;}
81 inline OpsItemEventSummary& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
82 inline OpsItemEventSummary& WithSource(const char* value) { SetSource(value); return *this;}
84
86
89 inline const Aws::String& GetDetailType() const{ return m_detailType; }
90 inline bool DetailTypeHasBeenSet() const { return m_detailTypeHasBeenSet; }
91 inline void SetDetailType(const Aws::String& value) { m_detailTypeHasBeenSet = true; m_detailType = value; }
92 inline void SetDetailType(Aws::String&& value) { m_detailTypeHasBeenSet = true; m_detailType = std::move(value); }
93 inline void SetDetailType(const char* value) { m_detailTypeHasBeenSet = true; m_detailType.assign(value); }
94 inline OpsItemEventSummary& WithDetailType(const Aws::String& value) { SetDetailType(value); return *this;}
95 inline OpsItemEventSummary& WithDetailType(Aws::String&& value) { SetDetailType(std::move(value)); return *this;}
96 inline OpsItemEventSummary& WithDetailType(const char* value) { SetDetailType(value); return *this;}
98
100
103 inline const Aws::String& GetDetail() const{ return m_detail; }
104 inline bool DetailHasBeenSet() const { return m_detailHasBeenSet; }
105 inline void SetDetail(const Aws::String& value) { m_detailHasBeenSet = true; m_detail = value; }
106 inline void SetDetail(Aws::String&& value) { m_detailHasBeenSet = true; m_detail = std::move(value); }
107 inline void SetDetail(const char* value) { m_detailHasBeenSet = true; m_detail.assign(value); }
108 inline OpsItemEventSummary& WithDetail(const Aws::String& value) { SetDetail(value); return *this;}
109 inline OpsItemEventSummary& WithDetail(Aws::String&& value) { SetDetail(std::move(value)); return *this;}
110 inline OpsItemEventSummary& WithDetail(const char* value) { SetDetail(value); return *this;}
112
114
117 inline const OpsItemIdentity& GetCreatedBy() const{ return m_createdBy; }
118 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
119 inline void SetCreatedBy(const OpsItemIdentity& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
120 inline void SetCreatedBy(OpsItemIdentity&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
121 inline OpsItemEventSummary& WithCreatedBy(const OpsItemIdentity& value) { SetCreatedBy(value); return *this;}
122 inline OpsItemEventSummary& WithCreatedBy(OpsItemIdentity&& value) { SetCreatedBy(std::move(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
130 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
131 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
132 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
133 inline OpsItemEventSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
134 inline OpsItemEventSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
136 private:
137
138 Aws::String m_opsItemId;
139 bool m_opsItemIdHasBeenSet = false;
140
141 Aws::String m_eventId;
142 bool m_eventIdHasBeenSet = false;
143
144 Aws::String m_source;
145 bool m_sourceHasBeenSet = false;
146
147 Aws::String m_detailType;
148 bool m_detailTypeHasBeenSet = false;
149
150 Aws::String m_detail;
151 bool m_detailHasBeenSet = false;
152
153 OpsItemIdentity m_createdBy;
154 bool m_createdByHasBeenSet = false;
155
156 Aws::Utils::DateTime m_createdTime;
157 bool m_createdTimeHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace SSM
162} // namespace Aws
OpsItemEventSummary & WithSource(Aws::String &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetDetail() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetSource() const
OpsItemEventSummary & WithOpsItemId(const Aws::String &value)
OpsItemEventSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
AWS_SSM_API OpsItemEventSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
OpsItemEventSummary & WithDetail(const Aws::String &value)
OpsItemEventSummary & WithDetail(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
OpsItemEventSummary & WithEventId(const Aws::String &value)
const Aws::String & GetDetailType() const
OpsItemEventSummary & WithOpsItemId(const char *value)
void SetOpsItemId(const Aws::String &value)
OpsItemEventSummary & WithDetail(const char *value)
const OpsItemIdentity & GetCreatedBy() const
OpsItemEventSummary & WithOpsItemId(Aws::String &&value)
OpsItemEventSummary & WithDetailType(Aws::String &&value)
OpsItemEventSummary & WithSource(const Aws::String &value)
void SetDetail(const Aws::String &value)
OpsItemEventSummary & WithSource(const char *value)
const Aws::String & GetEventId() const
OpsItemEventSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetCreatedBy(const OpsItemIdentity &value)
OpsItemEventSummary & WithDetailType(const Aws::String &value)
void SetSource(const Aws::String &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDetailType(const Aws::String &value)
const Aws::String & GetOpsItemId() const
OpsItemEventSummary & WithDetailType(const char *value)
OpsItemEventSummary & WithCreatedBy(OpsItemIdentity &&value)
void SetEventId(const Aws::String &value)
OpsItemEventSummary & WithEventId(Aws::String &&value)
void SetDetailType(Aws::String &&value)
AWS_SSM_API OpsItemEventSummary(Aws::Utils::Json::JsonView jsonValue)
OpsItemEventSummary & WithEventId(const char *value)
void SetCreatedBy(OpsItemIdentity &&value)
OpsItemEventSummary & WithCreatedBy(const OpsItemIdentity &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue