AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ChangeProgressDetails.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/es/model/ConfigChangeStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/es/model/InitiatedBy.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 ElasticsearchService
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_ELASTICSEARCHSERVICE_API ChangeProgressDetails() = default;
39 AWS_ELASTICSEARCHSERVICE_API ChangeProgressDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ELASTICSEARCHSERVICE_API ChangeProgressDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetChangeId() const { return m_changeId; }
50 inline bool ChangeIdHasBeenSet() const { return m_changeIdHasBeenSet; }
51 template<typename ChangeIdT = Aws::String>
52 void SetChangeId(ChangeIdT&& value) { m_changeIdHasBeenSet = true; m_changeId = std::forward<ChangeIdT>(value); }
53 template<typename ChangeIdT = Aws::String>
54 ChangeProgressDetails& WithChangeId(ChangeIdT&& value) { SetChangeId(std::forward<ChangeIdT>(value)); return *this;}
56
58
62 inline const Aws::String& GetMessage() const { return m_message; }
63 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
64 template<typename MessageT = Aws::String>
65 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
66 template<typename MessageT = Aws::String>
67 ChangeProgressDetails& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
69
71
74 inline ConfigChangeStatus GetConfigChangeStatus() const { return m_configChangeStatus; }
75 inline bool ConfigChangeStatusHasBeenSet() const { return m_configChangeStatusHasBeenSet; }
76 inline void SetConfigChangeStatus(ConfigChangeStatus value) { m_configChangeStatusHasBeenSet = true; m_configChangeStatus = value; }
79
81
85 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
86 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
87 template<typename StartTimeT = Aws::Utils::DateTime>
88 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
89 template<typename StartTimeT = Aws::Utils::DateTime>
90 ChangeProgressDetails& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
98 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
99 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
100 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
101 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
102 ChangeProgressDetails& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
104
106
109 inline InitiatedBy GetInitiatedBy() const { return m_initiatedBy; }
110 inline bool InitiatedByHasBeenSet() const { return m_initiatedByHasBeenSet; }
111 inline void SetInitiatedBy(InitiatedBy value) { m_initiatedByHasBeenSet = true; m_initiatedBy = value; }
112 inline ChangeProgressDetails& WithInitiatedBy(InitiatedBy value) { SetInitiatedBy(value); return *this;}
114 private:
115
116 Aws::String m_changeId;
117 bool m_changeIdHasBeenSet = false;
118
119 Aws::String m_message;
120 bool m_messageHasBeenSet = false;
121
123 bool m_configChangeStatusHasBeenSet = false;
124
125 Aws::Utils::DateTime m_startTime{};
126 bool m_startTimeHasBeenSet = false;
127
128 Aws::Utils::DateTime m_lastUpdatedTime{};
129 bool m_lastUpdatedTimeHasBeenSet = false;
130
131 InitiatedBy m_initiatedBy{InitiatedBy::NOT_SET};
132 bool m_initiatedByHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace ElasticsearchService
137} // namespace Aws
ChangeProgressDetails & WithConfigChangeStatus(ConfigChangeStatus value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ChangeProgressDetails & WithStartTime(StartTimeT &&value)
AWS_ELASTICSEARCHSERVICE_API ChangeProgressDetails(Aws::Utils::Json::JsonView jsonValue)
ChangeProgressDetails & WithInitiatedBy(InitiatedBy value)
AWS_ELASTICSEARCHSERVICE_API ChangeProgressDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ChangeProgressDetails & WithChangeId(ChangeIdT &&value)
ChangeProgressDetails & WithMessage(MessageT &&value)
ChangeProgressDetails & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_ELASTICSEARCHSERVICE_API ChangeProgressDetails()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue