AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetUpgradeStatusResult.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/UpgradeStep.h>
9#include <aws/es/model/UpgradeStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ElasticsearchService
26{
27namespace Model
28{
36 {
37 public:
38 AWS_ELASTICSEARCHSERVICE_API GetUpgradeStatusResult();
41
42
44
49 inline const UpgradeStep& GetUpgradeStep() const{ return m_upgradeStep; }
50 inline void SetUpgradeStep(const UpgradeStep& value) { m_upgradeStep = value; }
51 inline void SetUpgradeStep(UpgradeStep&& value) { m_upgradeStep = std::move(value); }
52 inline GetUpgradeStatusResult& WithUpgradeStep(const UpgradeStep& value) { SetUpgradeStep(value); return *this;}
53 inline GetUpgradeStatusResult& WithUpgradeStep(UpgradeStep&& value) { SetUpgradeStep(std::move(value)); return *this;}
55
57
63 inline const UpgradeStatus& GetStepStatus() const{ return m_stepStatus; }
64 inline void SetStepStatus(const UpgradeStatus& value) { m_stepStatus = value; }
65 inline void SetStepStatus(UpgradeStatus&& value) { m_stepStatus = std::move(value); }
66 inline GetUpgradeStatusResult& WithStepStatus(const UpgradeStatus& value) { SetStepStatus(value); return *this;}
67 inline GetUpgradeStatusResult& WithStepStatus(UpgradeStatus&& value) { SetStepStatus(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetUpgradeName() const{ return m_upgradeName; }
75 inline void SetUpgradeName(const Aws::String& value) { m_upgradeName = value; }
76 inline void SetUpgradeName(Aws::String&& value) { m_upgradeName = std::move(value); }
77 inline void SetUpgradeName(const char* value) { m_upgradeName.assign(value); }
78 inline GetUpgradeStatusResult& WithUpgradeName(const Aws::String& value) { SetUpgradeName(value); return *this;}
79 inline GetUpgradeStatusResult& WithUpgradeName(Aws::String&& value) { SetUpgradeName(std::move(value)); return *this;}
80 inline GetUpgradeStatusResult& WithUpgradeName(const char* value) { SetUpgradeName(value); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline GetUpgradeStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline GetUpgradeStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline GetUpgradeStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 UpgradeStep m_upgradeStep;
96
97 UpgradeStatus m_stepStatus;
98
99 Aws::String m_upgradeName;
100
101 Aws::String m_requestId;
102 };
103
104} // namespace Model
105} // namespace ElasticsearchService
106} // namespace Aws
GetUpgradeStatusResult & WithStepStatus(UpgradeStatus &&value)
AWS_ELASTICSEARCHSERVICE_API GetUpgradeStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUpgradeStatusResult & WithRequestId(const char *value)
GetUpgradeStatusResult & WithUpgradeName(Aws::String &&value)
GetUpgradeStatusResult & WithUpgradeName(const char *value)
GetUpgradeStatusResult & WithStepStatus(const UpgradeStatus &value)
GetUpgradeStatusResult & WithRequestId(Aws::String &&value)
GetUpgradeStatusResult & WithUpgradeName(const Aws::String &value)
GetUpgradeStatusResult & WithUpgradeStep(const UpgradeStep &value)
GetUpgradeStatusResult & WithRequestId(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API GetUpgradeStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUpgradeStatusResult & WithUpgradeStep(UpgradeStep &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue