AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InventoryDeletionStatusItem.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ssm/model/InventoryDeletionStatus.h>
11#include <aws/ssm/model/InventoryDeletionSummary.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SSM
25{
26namespace Model
27{
28
36 {
37 public:
42
43
45
48 inline const Aws::String& GetDeletionId() const{ return m_deletionId; }
49 inline bool DeletionIdHasBeenSet() const { return m_deletionIdHasBeenSet; }
50 inline void SetDeletionId(const Aws::String& value) { m_deletionIdHasBeenSet = true; m_deletionId = value; }
51 inline void SetDeletionId(Aws::String&& value) { m_deletionIdHasBeenSet = true; m_deletionId = std::move(value); }
52 inline void SetDeletionId(const char* value) { m_deletionIdHasBeenSet = true; m_deletionId.assign(value); }
53 inline InventoryDeletionStatusItem& WithDeletionId(const Aws::String& value) { SetDeletionId(value); return *this;}
54 inline InventoryDeletionStatusItem& WithDeletionId(Aws::String&& value) { SetDeletionId(std::move(value)); return *this;}
55 inline InventoryDeletionStatusItem& WithDeletionId(const char* value) { SetDeletionId(value); return *this;}
57
59
62 inline const Aws::String& GetTypeName() const{ return m_typeName; }
63 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
64 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
65 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
66 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
67 inline InventoryDeletionStatusItem& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
68 inline InventoryDeletionStatusItem& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
69 inline InventoryDeletionStatusItem& WithTypeName(const char* value) { SetTypeName(value); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetDeletionStartTime() const{ return m_deletionStartTime; }
77 inline bool DeletionStartTimeHasBeenSet() const { return m_deletionStartTimeHasBeenSet; }
78 inline void SetDeletionStartTime(const Aws::Utils::DateTime& value) { m_deletionStartTimeHasBeenSet = true; m_deletionStartTime = value; }
79 inline void SetDeletionStartTime(Aws::Utils::DateTime&& value) { m_deletionStartTimeHasBeenSet = true; m_deletionStartTime = std::move(value); }
83
85
88 inline const InventoryDeletionStatus& GetLastStatus() const{ return m_lastStatus; }
89 inline bool LastStatusHasBeenSet() const { return m_lastStatusHasBeenSet; }
90 inline void SetLastStatus(const InventoryDeletionStatus& value) { m_lastStatusHasBeenSet = true; m_lastStatus = value; }
91 inline void SetLastStatus(InventoryDeletionStatus&& value) { m_lastStatusHasBeenSet = true; m_lastStatus = std::move(value); }
93 inline InventoryDeletionStatusItem& WithLastStatus(InventoryDeletionStatus&& value) { SetLastStatus(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetLastStatusMessage() const{ return m_lastStatusMessage; }
101 inline bool LastStatusMessageHasBeenSet() const { return m_lastStatusMessageHasBeenSet; }
102 inline void SetLastStatusMessage(const Aws::String& value) { m_lastStatusMessageHasBeenSet = true; m_lastStatusMessage = value; }
103 inline void SetLastStatusMessage(Aws::String&& value) { m_lastStatusMessageHasBeenSet = true; m_lastStatusMessage = std::move(value); }
104 inline void SetLastStatusMessage(const char* value) { m_lastStatusMessageHasBeenSet = true; m_lastStatusMessage.assign(value); }
106 inline InventoryDeletionStatusItem& WithLastStatusMessage(Aws::String&& value) { SetLastStatusMessage(std::move(value)); return *this;}
107 inline InventoryDeletionStatusItem& WithLastStatusMessage(const char* value) { SetLastStatusMessage(value); return *this;}
109
111
118 inline const InventoryDeletionSummary& GetDeletionSummary() const{ return m_deletionSummary; }
119 inline bool DeletionSummaryHasBeenSet() const { return m_deletionSummaryHasBeenSet; }
120 inline void SetDeletionSummary(const InventoryDeletionSummary& value) { m_deletionSummaryHasBeenSet = true; m_deletionSummary = value; }
121 inline void SetDeletionSummary(InventoryDeletionSummary&& value) { m_deletionSummaryHasBeenSet = true; m_deletionSummary = std::move(value); }
125
127
130 inline const Aws::Utils::DateTime& GetLastStatusUpdateTime() const{ return m_lastStatusUpdateTime; }
131 inline bool LastStatusUpdateTimeHasBeenSet() const { return m_lastStatusUpdateTimeHasBeenSet; }
132 inline void SetLastStatusUpdateTime(const Aws::Utils::DateTime& value) { m_lastStatusUpdateTimeHasBeenSet = true; m_lastStatusUpdateTime = value; }
133 inline void SetLastStatusUpdateTime(Aws::Utils::DateTime&& value) { m_lastStatusUpdateTimeHasBeenSet = true; m_lastStatusUpdateTime = std::move(value); }
137 private:
138
139 Aws::String m_deletionId;
140 bool m_deletionIdHasBeenSet = false;
141
142 Aws::String m_typeName;
143 bool m_typeNameHasBeenSet = false;
144
145 Aws::Utils::DateTime m_deletionStartTime;
146 bool m_deletionStartTimeHasBeenSet = false;
147
148 InventoryDeletionStatus m_lastStatus;
149 bool m_lastStatusHasBeenSet = false;
150
151 Aws::String m_lastStatusMessage;
152 bool m_lastStatusMessageHasBeenSet = false;
153
154 InventoryDeletionSummary m_deletionSummary;
155 bool m_deletionSummaryHasBeenSet = false;
156
157 Aws::Utils::DateTime m_lastStatusUpdateTime;
158 bool m_lastStatusUpdateTimeHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace SSM
163} // namespace Aws
AWS_SSM_API InventoryDeletionStatusItem & operator=(Aws::Utils::Json::JsonView jsonValue)
InventoryDeletionStatusItem & WithLastStatusUpdateTime(const Aws::Utils::DateTime &value)
InventoryDeletionStatusItem & WithLastStatus(const InventoryDeletionStatus &value)
InventoryDeletionStatusItem & WithDeletionId(const char *value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetDeletionStartTime() const
InventoryDeletionStatusItem & WithDeletionSummary(const InventoryDeletionSummary &value)
InventoryDeletionStatusItem & WithTypeName(const Aws::String &value)
InventoryDeletionStatusItem & WithLastStatusMessage(const Aws::String &value)
const Aws::Utils::DateTime & GetLastStatusUpdateTime() const
void SetDeletionSummary(InventoryDeletionSummary &&value)
AWS_SSM_API InventoryDeletionStatusItem(Aws::Utils::Json::JsonView jsonValue)
InventoryDeletionStatusItem & WithDeletionId(Aws::String &&value)
InventoryDeletionStatusItem & WithLastStatusUpdateTime(Aws::Utils::DateTime &&value)
InventoryDeletionStatusItem & WithLastStatus(InventoryDeletionStatus &&value)
void SetLastStatus(const InventoryDeletionStatus &value)
void SetLastStatus(InventoryDeletionStatus &&value)
InventoryDeletionStatusItem & WithLastStatusMessage(const char *value)
void SetDeletionSummary(const InventoryDeletionSummary &value)
InventoryDeletionStatusItem & WithTypeName(Aws::String &&value)
InventoryDeletionStatusItem & WithDeletionStartTime(Aws::Utils::DateTime &&value)
InventoryDeletionStatusItem & WithLastStatusMessage(Aws::String &&value)
const InventoryDeletionSummary & GetDeletionSummary() const
InventoryDeletionStatusItem & WithDeletionId(const Aws::String &value)
InventoryDeletionStatusItem & WithDeletionSummary(InventoryDeletionSummary &&value)
void SetLastStatusUpdateTime(Aws::Utils::DateTime &&value)
const InventoryDeletionStatus & GetLastStatus() const
InventoryDeletionStatusItem & WithDeletionStartTime(const Aws::Utils::DateTime &value)
void SetDeletionStartTime(const Aws::Utils::DateTime &value)
InventoryDeletionStatusItem & WithTypeName(const char *value)
void SetDeletionStartTime(Aws::Utils::DateTime &&value)
void SetLastStatusUpdateTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue