AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChangeProgressDetails.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/ConfigChangeStatus.h>
10#include <aws/opensearch/model/InitiatedBy.h>
11#include <aws/core/utils/DateTime.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 OpenSearchService
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_OPENSEARCHSERVICE_API ChangeProgressDetails();
39 AWS_OPENSEARCHSERVICE_API ChangeProgressDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPENSEARCHSERVICE_API ChangeProgressDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetChangeId() const{ return m_changeId; }
49 inline bool ChangeIdHasBeenSet() const { return m_changeIdHasBeenSet; }
50 inline void SetChangeId(const Aws::String& value) { m_changeIdHasBeenSet = true; m_changeId = value; }
51 inline void SetChangeId(Aws::String&& value) { m_changeIdHasBeenSet = true; m_changeId = std::move(value); }
52 inline void SetChangeId(const char* value) { m_changeIdHasBeenSet = true; m_changeId.assign(value); }
53 inline ChangeProgressDetails& WithChangeId(const Aws::String& value) { SetChangeId(value); return *this;}
54 inline ChangeProgressDetails& WithChangeId(Aws::String&& value) { SetChangeId(std::move(value)); return *this;}
55 inline ChangeProgressDetails& WithChangeId(const char* value) { SetChangeId(value); return *this;}
57
59
62 inline const Aws::String& GetMessage() const{ return m_message; }
63 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
64 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
65 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
66 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
67 inline ChangeProgressDetails& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
68 inline ChangeProgressDetails& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
69 inline ChangeProgressDetails& WithMessage(const char* value) { SetMessage(value); return *this;}
71
73
76 inline const ConfigChangeStatus& GetConfigChangeStatus() const{ return m_configChangeStatus; }
77 inline bool ConfigChangeStatusHasBeenSet() const { return m_configChangeStatusHasBeenSet; }
78 inline void SetConfigChangeStatus(const ConfigChangeStatus& value) { m_configChangeStatusHasBeenSet = true; m_configChangeStatus = value; }
79 inline void SetConfigChangeStatus(ConfigChangeStatus&& value) { m_configChangeStatusHasBeenSet = true; m_configChangeStatus = std::move(value); }
81 inline ChangeProgressDetails& WithConfigChangeStatus(ConfigChangeStatus&& value) { SetConfigChangeStatus(std::move(value)); return *this;}
83
85
88 inline const InitiatedBy& GetInitiatedBy() const{ return m_initiatedBy; }
89 inline bool InitiatedByHasBeenSet() const { return m_initiatedByHasBeenSet; }
90 inline void SetInitiatedBy(const InitiatedBy& value) { m_initiatedByHasBeenSet = true; m_initiatedBy = value; }
91 inline void SetInitiatedBy(InitiatedBy&& value) { m_initiatedByHasBeenSet = true; m_initiatedBy = std::move(value); }
92 inline ChangeProgressDetails& WithInitiatedBy(const InitiatedBy& value) { SetInitiatedBy(value); return *this;}
93 inline ChangeProgressDetails& WithInitiatedBy(InitiatedBy&& value) { SetInitiatedBy(std::move(value)); return *this;}
95
97
101 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
102 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
103 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
104 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
105 inline ChangeProgressDetails& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
106 inline ChangeProgressDetails& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
114 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
115 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
116 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
118 inline ChangeProgressDetails& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_changeId;
123 bool m_changeIdHasBeenSet = false;
124
125 Aws::String m_message;
126 bool m_messageHasBeenSet = false;
127
128 ConfigChangeStatus m_configChangeStatus;
129 bool m_configChangeStatusHasBeenSet = false;
130
131 InitiatedBy m_initiatedBy;
132 bool m_initiatedByHasBeenSet = false;
133
134 Aws::Utils::DateTime m_startTime;
135 bool m_startTimeHasBeenSet = false;
136
137 Aws::Utils::DateTime m_lastUpdatedTime;
138 bool m_lastUpdatedTimeHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace OpenSearchService
143} // namespace Aws
ChangeProgressDetails & WithConfigChangeStatus(const ConfigChangeStatus &value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
ChangeProgressDetails & WithStartTime(const Aws::Utils::DateTime &value)
ChangeProgressDetails & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
ChangeProgressDetails & WithStartTime(Aws::Utils::DateTime &&value)
ChangeProgressDetails & WithInitiatedBy(const InitiatedBy &value)
ChangeProgressDetails & WithChangeId(const Aws::String &value)
ChangeProgressDetails & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
ChangeProgressDetails & WithChangeId(Aws::String &&value)
ChangeProgressDetails & WithMessage(const char *value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStartTime(const Aws::Utils::DateTime &value)
ChangeProgressDetails & WithMessage(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API ChangeProgressDetails(Aws::Utils::Json::JsonView jsonValue)
ChangeProgressDetails & WithConfigChangeStatus(ConfigChangeStatus &&value)
ChangeProgressDetails & WithInitiatedBy(InitiatedBy &&value)
void SetConfigChangeStatus(const ConfigChangeStatus &value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
ChangeProgressDetails & WithChangeId(const char *value)
ChangeProgressDetails & WithMessage(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API ChangeProgressDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue