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/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();
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 inline void SetChangeId(const Aws::String& value) { m_changeIdHasBeenSet = true; m_changeId = value; }
52 inline void SetChangeId(Aws::String&& value) { m_changeIdHasBeenSet = true; m_changeId = std::move(value); }
53 inline void SetChangeId(const char* value) { m_changeIdHasBeenSet = true; m_changeId.assign(value); }
54 inline ChangeProgressDetails& WithChangeId(const Aws::String& value) { SetChangeId(value); return *this;}
55 inline ChangeProgressDetails& WithChangeId(Aws::String&& value) { SetChangeId(std::move(value)); return *this;}
56 inline ChangeProgressDetails& WithChangeId(const char* value) { SetChangeId(value); return *this;}
58
60
64 inline const Aws::String& GetMessage() const{ return m_message; }
65 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
66 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
67 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
68 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
69 inline ChangeProgressDetails& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
70 inline ChangeProgressDetails& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
71 inline ChangeProgressDetails& WithMessage(const char* value) { SetMessage(value); return *this;}
73
75
78 inline const ConfigChangeStatus& GetConfigChangeStatus() const{ return m_configChangeStatus; }
79 inline bool ConfigChangeStatusHasBeenSet() const { return m_configChangeStatusHasBeenSet; }
80 inline void SetConfigChangeStatus(const ConfigChangeStatus& value) { m_configChangeStatusHasBeenSet = true; m_configChangeStatus = value; }
81 inline void SetConfigChangeStatus(ConfigChangeStatus&& value) { m_configChangeStatusHasBeenSet = true; m_configChangeStatus = std::move(value); }
83 inline ChangeProgressDetails& WithConfigChangeStatus(ConfigChangeStatus&& value) { SetConfigChangeStatus(std::move(value)); return *this;}
85
87
91 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
92 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
93 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
94 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
95 inline ChangeProgressDetails& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
96 inline ChangeProgressDetails& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
104 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
105 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
106 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
108 inline ChangeProgressDetails& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
110
112
115 inline const InitiatedBy& GetInitiatedBy() const{ return m_initiatedBy; }
116 inline bool InitiatedByHasBeenSet() const { return m_initiatedByHasBeenSet; }
117 inline void SetInitiatedBy(const InitiatedBy& value) { m_initiatedByHasBeenSet = true; m_initiatedBy = value; }
118 inline void SetInitiatedBy(InitiatedBy&& value) { m_initiatedByHasBeenSet = true; m_initiatedBy = std::move(value); }
119 inline ChangeProgressDetails& WithInitiatedBy(const InitiatedBy& value) { SetInitiatedBy(value); return *this;}
120 inline ChangeProgressDetails& WithInitiatedBy(InitiatedBy&& value) { SetInitiatedBy(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_changeId;
125 bool m_changeIdHasBeenSet = false;
126
127 Aws::String m_message;
128 bool m_messageHasBeenSet = false;
129
130 ConfigChangeStatus m_configChangeStatus;
131 bool m_configChangeStatusHasBeenSet = false;
132
133 Aws::Utils::DateTime m_startTime;
134 bool m_startTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_lastUpdatedTime;
137 bool m_lastUpdatedTimeHasBeenSet = false;
138
139 InitiatedBy m_initiatedBy;
140 bool m_initiatedByHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace ElasticsearchService
145} // namespace Aws
ChangeProgressDetails & WithConfigChangeStatus(ConfigChangeStatus &&value)
ChangeProgressDetails & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
ChangeProgressDetails & WithChangeId(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ChangeProgressDetails & WithStartTime(Aws::Utils::DateTime &&value)
ChangeProgressDetails & WithStartTime(const Aws::Utils::DateTime &value)
ChangeProgressDetails & WithChangeId(const char *value)
ChangeProgressDetails & WithChangeId(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API ChangeProgressDetails(Aws::Utils::Json::JsonView jsonValue)
ChangeProgressDetails & WithConfigChangeStatus(const ConfigChangeStatus &value)
AWS_ELASTICSEARCHSERVICE_API ChangeProgressDetails()
ChangeProgressDetails & WithMessage(Aws::String &&value)
ChangeProgressDetails & WithMessage(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API ChangeProgressDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ChangeProgressDetails & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
ChangeProgressDetails & WithMessage(const char *value)
ChangeProgressDetails & WithInitiatedBy(InitiatedBy &&value)
ChangeProgressDetails & WithInitiatedBy(const InitiatedBy &value)
void SetConfigChangeStatus(const ConfigChangeStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue