AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBackendAPIResult.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifybackend/model/BackendAPIResourceConfig.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AmplifyBackend
25{
26namespace Model
27{
29 {
30 public:
31 AWS_AMPLIFYBACKEND_API GetBackendAPIResult();
34
35
37
40 inline const Aws::String& GetAppId() const{ return m_appId; }
41 inline void SetAppId(const Aws::String& value) { m_appId = value; }
42 inline void SetAppId(Aws::String&& value) { m_appId = std::move(value); }
43 inline void SetAppId(const char* value) { m_appId.assign(value); }
44 inline GetBackendAPIResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
45 inline GetBackendAPIResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
46 inline GetBackendAPIResult& WithAppId(const char* value) { SetAppId(value); return *this;}
48
50
53 inline const Aws::String& GetBackendEnvironmentName() const{ return m_backendEnvironmentName; }
54 inline void SetBackendEnvironmentName(const Aws::String& value) { m_backendEnvironmentName = value; }
55 inline void SetBackendEnvironmentName(Aws::String&& value) { m_backendEnvironmentName = std::move(value); }
56 inline void SetBackendEnvironmentName(const char* value) { m_backendEnvironmentName.assign(value); }
58 inline GetBackendAPIResult& WithBackendEnvironmentName(Aws::String&& value) { SetBackendEnvironmentName(std::move(value)); return *this;}
59 inline GetBackendAPIResult& WithBackendEnvironmentName(const char* value) { SetBackendEnvironmentName(value); return *this;}
61
63
66 inline const Aws::String& GetError() const{ return m_error; }
67 inline void SetError(const Aws::String& value) { m_error = value; }
68 inline void SetError(Aws::String&& value) { m_error = std::move(value); }
69 inline void SetError(const char* value) { m_error.assign(value); }
70 inline GetBackendAPIResult& WithError(const Aws::String& value) { SetError(value); return *this;}
71 inline GetBackendAPIResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
72 inline GetBackendAPIResult& WithError(const char* value) { SetError(value); return *this;}
74
76
79 inline const BackendAPIResourceConfig& GetResourceConfig() const{ return m_resourceConfig; }
80 inline void SetResourceConfig(const BackendAPIResourceConfig& value) { m_resourceConfig = value; }
81 inline void SetResourceConfig(BackendAPIResourceConfig&& value) { m_resourceConfig = std::move(value); }
83 inline GetBackendAPIResult& WithResourceConfig(BackendAPIResourceConfig&& value) { SetResourceConfig(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
91 inline void SetResourceName(const Aws::String& value) { m_resourceName = value; }
92 inline void SetResourceName(Aws::String&& value) { m_resourceName = std::move(value); }
93 inline void SetResourceName(const char* value) { m_resourceName.assign(value); }
94 inline GetBackendAPIResult& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
95 inline GetBackendAPIResult& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
96 inline GetBackendAPIResult& WithResourceName(const char* value) { SetResourceName(value); return *this;}
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline GetBackendAPIResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline GetBackendAPIResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline GetBackendAPIResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::String m_appId;
112
113 Aws::String m_backendEnvironmentName;
114
115 Aws::String m_error;
116
117 BackendAPIResourceConfig m_resourceConfig;
118
119 Aws::String m_resourceName;
120
121 Aws::String m_requestId;
122 };
123
124} // namespace Model
125} // namespace AmplifyBackend
126} // namespace Aws
GetBackendAPIResult & WithResourceConfig(BackendAPIResourceConfig &&value)
GetBackendAPIResult & WithError(const Aws::String &value)
GetBackendAPIResult & WithError(const char *value)
GetBackendAPIResult & WithResourceName(const Aws::String &value)
GetBackendAPIResult & WithBackendEnvironmentName(Aws::String &&value)
GetBackendAPIResult & WithAppId(const Aws::String &value)
GetBackendAPIResult & WithError(Aws::String &&value)
GetBackendAPIResult & WithAppId(const char *value)
GetBackendAPIResult & WithBackendEnvironmentName(const Aws::String &value)
GetBackendAPIResult & WithResourceName(const char *value)
GetBackendAPIResult & WithResourceName(Aws::String &&value)
GetBackendAPIResult & WithRequestId(const Aws::String &value)
GetBackendAPIResult & WithResourceConfig(const BackendAPIResourceConfig &value)
GetBackendAPIResult & WithRequestId(const char *value)
const BackendAPIResourceConfig & GetResourceConfig() const
void SetBackendEnvironmentName(const Aws::String &value)
GetBackendAPIResult & WithRequestId(Aws::String &&value)
void SetResourceConfig(BackendAPIResourceConfig &&value)
void SetResourceConfig(const BackendAPIResourceConfig &value)
AWS_AMPLIFYBACKEND_API GetBackendAPIResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackendAPIResult & WithAppId(Aws::String &&value)
GetBackendAPIResult & WithBackendEnvironmentName(const char *value)
AWS_AMPLIFYBACKEND_API GetBackendAPIResult & operator=(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