AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBackendAPIResult.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace AmplifyBackend
24{
25namespace Model
26{
28 {
29 public:
30 AWS_AMPLIFYBACKEND_API UpdateBackendAPIResult();
33
34
36
39 inline const Aws::String& GetAppId() const{ return m_appId; }
40 inline void SetAppId(const Aws::String& value) { m_appId = value; }
41 inline void SetAppId(Aws::String&& value) { m_appId = std::move(value); }
42 inline void SetAppId(const char* value) { m_appId.assign(value); }
43 inline UpdateBackendAPIResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
44 inline UpdateBackendAPIResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
45 inline UpdateBackendAPIResult& WithAppId(const char* value) { SetAppId(value); return *this;}
47
49
52 inline const Aws::String& GetBackendEnvironmentName() const{ return m_backendEnvironmentName; }
53 inline void SetBackendEnvironmentName(const Aws::String& value) { m_backendEnvironmentName = value; }
54 inline void SetBackendEnvironmentName(Aws::String&& value) { m_backendEnvironmentName = std::move(value); }
55 inline void SetBackendEnvironmentName(const char* value) { m_backendEnvironmentName.assign(value); }
58 inline UpdateBackendAPIResult& WithBackendEnvironmentName(const char* value) { SetBackendEnvironmentName(value); return *this;}
60
62
65 inline const Aws::String& GetError() const{ return m_error; }
66 inline void SetError(const Aws::String& value) { m_error = value; }
67 inline void SetError(Aws::String&& value) { m_error = std::move(value); }
68 inline void SetError(const char* value) { m_error.assign(value); }
69 inline UpdateBackendAPIResult& WithError(const Aws::String& value) { SetError(value); return *this;}
70 inline UpdateBackendAPIResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
71 inline UpdateBackendAPIResult& WithError(const char* value) { SetError(value); return *this;}
73
75
78 inline const Aws::String& GetJobId() const{ return m_jobId; }
79 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
80 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
81 inline void SetJobId(const char* value) { m_jobId.assign(value); }
82 inline UpdateBackendAPIResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
83 inline UpdateBackendAPIResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
84 inline UpdateBackendAPIResult& WithJobId(const char* value) { SetJobId(value); return *this;}
86
88
91 inline const Aws::String& GetOperation() const{ return m_operation; }
92 inline void SetOperation(const Aws::String& value) { m_operation = value; }
93 inline void SetOperation(Aws::String&& value) { m_operation = std::move(value); }
94 inline void SetOperation(const char* value) { m_operation.assign(value); }
95 inline UpdateBackendAPIResult& WithOperation(const Aws::String& value) { SetOperation(value); return *this;}
96 inline UpdateBackendAPIResult& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;}
97 inline UpdateBackendAPIResult& WithOperation(const char* value) { SetOperation(value); return *this;}
99
101
104 inline const Aws::String& GetStatus() const{ return m_status; }
105 inline void SetStatus(const Aws::String& value) { m_status = value; }
106 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
107 inline void SetStatus(const char* value) { m_status.assign(value); }
108 inline UpdateBackendAPIResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
109 inline UpdateBackendAPIResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
110 inline UpdateBackendAPIResult& WithStatus(const char* value) { SetStatus(value); return *this;}
112
114
115 inline const Aws::String& GetRequestId() const{ return m_requestId; }
116 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
117 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
118 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
119 inline UpdateBackendAPIResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
120 inline UpdateBackendAPIResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
121 inline UpdateBackendAPIResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
123 private:
124
125 Aws::String m_appId;
126
127 Aws::String m_backendEnvironmentName;
128
129 Aws::String m_error;
130
131 Aws::String m_jobId;
132
133 Aws::String m_operation;
134
135 Aws::String m_status;
136
137 Aws::String m_requestId;
138 };
139
140} // namespace Model
141} // namespace AmplifyBackend
142} // namespace Aws
UpdateBackendAPIResult & WithBackendEnvironmentName(const Aws::String &value)
UpdateBackendAPIResult & WithError(Aws::String &&value)
UpdateBackendAPIResult & WithOperation(const char *value)
UpdateBackendAPIResult & WithOperation(const Aws::String &value)
UpdateBackendAPIResult & WithOperation(Aws::String &&value)
UpdateBackendAPIResult & WithRequestId(const char *value)
UpdateBackendAPIResult & WithBackendEnvironmentName(Aws::String &&value)
UpdateBackendAPIResult & WithJobId(Aws::String &&value)
UpdateBackendAPIResult & WithStatus(const Aws::String &value)
UpdateBackendAPIResult & WithAppId(const char *value)
UpdateBackendAPIResult & WithAppId(const Aws::String &value)
UpdateBackendAPIResult & WithJobId(const char *value)
AWS_AMPLIFYBACKEND_API UpdateBackendAPIResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBackendAPIResult & WithJobId(const Aws::String &value)
UpdateBackendAPIResult & WithStatus(const char *value)
UpdateBackendAPIResult & WithRequestId(Aws::String &&value)
UpdateBackendAPIResult & WithError(const char *value)
UpdateBackendAPIResult & WithError(const Aws::String &value)
UpdateBackendAPIResult & WithRequestId(const Aws::String &value)
UpdateBackendAPIResult & WithAppId(Aws::String &&value)
UpdateBackendAPIResult & WithStatus(Aws::String &&value)
UpdateBackendAPIResult & WithBackendEnvironmentName(const char *value)
AWS_AMPLIFYBACKEND_API UpdateBackendAPIResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue