AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ChangeIdT = Aws::String>
51 void SetChangeId(ChangeIdT&& value) { m_changeIdHasBeenSet = true; m_changeId = std::forward<ChangeIdT>(value); }
52 template<typename ChangeIdT = Aws::String>
53 ChangeProgressDetails& WithChangeId(ChangeIdT&& value) { SetChangeId(std::forward<ChangeIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetMessage() const { return m_message; }
61 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
62 template<typename MessageT = Aws::String>
63 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
64 template<typename MessageT = Aws::String>
65 ChangeProgressDetails& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
67
69
72 inline ConfigChangeStatus GetConfigChangeStatus() const { return m_configChangeStatus; }
73 inline bool ConfigChangeStatusHasBeenSet() const { return m_configChangeStatusHasBeenSet; }
74 inline void SetConfigChangeStatus(ConfigChangeStatus value) { m_configChangeStatusHasBeenSet = true; m_configChangeStatus = value; }
77
79
82 inline InitiatedBy GetInitiatedBy() const { return m_initiatedBy; }
83 inline bool InitiatedByHasBeenSet() const { return m_initiatedByHasBeenSet; }
84 inline void SetInitiatedBy(InitiatedBy value) { m_initiatedByHasBeenSet = true; m_initiatedBy = value; }
85 inline ChangeProgressDetails& WithInitiatedBy(InitiatedBy value) { SetInitiatedBy(value); return *this;}
87
89
93 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
94 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
95 template<typename StartTimeT = Aws::Utils::DateTime>
96 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
97 template<typename StartTimeT = Aws::Utils::DateTime>
98 ChangeProgressDetails& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
106 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
107 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
108 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
109 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
110 ChangeProgressDetails& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
112 private:
113
114 Aws::String m_changeId;
115 bool m_changeIdHasBeenSet = false;
116
117 Aws::String m_message;
118 bool m_messageHasBeenSet = false;
119
121 bool m_configChangeStatusHasBeenSet = false;
122
123 InitiatedBy m_initiatedBy{InitiatedBy::NOT_SET};
124 bool m_initiatedByHasBeenSet = false;
125
126 Aws::Utils::DateTime m_startTime{};
127 bool m_startTimeHasBeenSet = false;
128
129 Aws::Utils::DateTime m_lastUpdatedTime{};
130 bool m_lastUpdatedTimeHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace OpenSearchService
135} // namespace Aws
ChangeProgressDetails & WithChangeId(ChangeIdT &&value)
ChangeProgressDetails & WithInitiatedBy(InitiatedBy value)
ChangeProgressDetails & WithStartTime(StartTimeT &&value)
ChangeProgressDetails & WithLastUpdatedTime(LastUpdatedTimeT &&value)
ChangeProgressDetails & WithMessage(MessageT &&value)
ChangeProgressDetails & WithConfigChangeStatus(ConfigChangeStatus value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API ChangeProgressDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AWS_OPENSEARCHSERVICE_API ChangeProgressDetails()=default
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