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/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/UpgradeStep.h>
9#include <aws/opensearch/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 OpenSearchService
26{
27namespace Model
28{
36 {
37 public:
38 AWS_OPENSEARCHSERVICE_API GetUpgradeStatusResult();
41
42
44
48 inline const UpgradeStep& GetUpgradeStep() const{ return m_upgradeStep; }
49 inline void SetUpgradeStep(const UpgradeStep& value) { m_upgradeStep = value; }
50 inline void SetUpgradeStep(UpgradeStep&& value) { m_upgradeStep = std::move(value); }
51 inline GetUpgradeStatusResult& WithUpgradeStep(const UpgradeStep& value) { SetUpgradeStep(value); return *this;}
52 inline GetUpgradeStatusResult& WithUpgradeStep(UpgradeStep&& value) { SetUpgradeStep(std::move(value)); return *this;}
54
56
59 inline const UpgradeStatus& GetStepStatus() const{ return m_stepStatus; }
60 inline void SetStepStatus(const UpgradeStatus& value) { m_stepStatus = value; }
61 inline void SetStepStatus(UpgradeStatus&& value) { m_stepStatus = std::move(value); }
62 inline GetUpgradeStatusResult& WithStepStatus(const UpgradeStatus& value) { SetStepStatus(value); return *this;}
63 inline GetUpgradeStatusResult& WithStepStatus(UpgradeStatus&& value) { SetStepStatus(std::move(value)); return *this;}
65
67
70 inline const Aws::String& GetUpgradeName() const{ return m_upgradeName; }
71 inline void SetUpgradeName(const Aws::String& value) { m_upgradeName = value; }
72 inline void SetUpgradeName(Aws::String&& value) { m_upgradeName = std::move(value); }
73 inline void SetUpgradeName(const char* value) { m_upgradeName.assign(value); }
74 inline GetUpgradeStatusResult& WithUpgradeName(const Aws::String& value) { SetUpgradeName(value); return *this;}
75 inline GetUpgradeStatusResult& WithUpgradeName(Aws::String&& value) { SetUpgradeName(std::move(value)); return *this;}
76 inline GetUpgradeStatusResult& WithUpgradeName(const char* value) { SetUpgradeName(value); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline GetUpgradeStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline GetUpgradeStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline GetUpgradeStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 UpgradeStep m_upgradeStep;
92
93 UpgradeStatus m_stepStatus;
94
95 Aws::String m_upgradeName;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace OpenSearchService
102} // namespace Aws
GetUpgradeStatusResult & WithRequestId(const Aws::String &value)
GetUpgradeStatusResult & WithStepStatus(const UpgradeStatus &value)
GetUpgradeStatusResult & WithUpgradeName(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API GetUpgradeStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPENSEARCHSERVICE_API GetUpgradeStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUpgradeStatusResult & WithUpgradeStep(const UpgradeStep &value)
GetUpgradeStatusResult & WithRequestId(const char *value)
GetUpgradeStatusResult & WithStepStatus(UpgradeStatus &&value)
GetUpgradeStatusResult & WithUpgradeStep(UpgradeStep &&value)
GetUpgradeStatusResult & WithRequestId(Aws::String &&value)
GetUpgradeStatusResult & WithUpgradeName(const char *value)
GetUpgradeStatusResult & WithUpgradeName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue