AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBackendResult.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 CreateBackendResult();
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 CreateBackendResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
44 inline CreateBackendResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
45 inline CreateBackendResult& 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); }
57 inline CreateBackendResult& WithBackendEnvironmentName(Aws::String&& value) { SetBackendEnvironmentName(std::move(value)); return *this;}
58 inline CreateBackendResult& 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 CreateBackendResult& WithError(const Aws::String& value) { SetError(value); return *this;}
70 inline CreateBackendResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
71 inline CreateBackendResult& 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 CreateBackendResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
83 inline CreateBackendResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
84 inline CreateBackendResult& 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 CreateBackendResult& WithOperation(const Aws::String& value) { SetOperation(value); return *this;}
96 inline CreateBackendResult& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;}
97 inline CreateBackendResult& 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 CreateBackendResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
109 inline CreateBackendResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
110 inline CreateBackendResult& 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 CreateBackendResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
120 inline CreateBackendResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
121 inline CreateBackendResult& 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
CreateBackendResult & WithBackendEnvironmentName(Aws::String &&value)
AWS_AMPLIFYBACKEND_API CreateBackendResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBackendResult & WithOperation(const char *value)
AWS_AMPLIFYBACKEND_API CreateBackendResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBackendResult & WithOperation(const Aws::String &value)
CreateBackendResult & WithAppId(const char *value)
CreateBackendResult & WithAppId(const Aws::String &value)
CreateBackendResult & WithJobId(const char *value)
CreateBackendResult & WithBackendEnvironmentName(const Aws::String &value)
CreateBackendResult & WithError(const char *value)
CreateBackendResult & WithStatus(const Aws::String &value)
CreateBackendResult & WithBackendEnvironmentName(const char *value)
CreateBackendResult & WithRequestId(const char *value)
CreateBackendResult & WithRequestId(Aws::String &&value)
CreateBackendResult & WithStatus(Aws::String &&value)
CreateBackendResult & WithAppId(Aws::String &&value)
CreateBackendResult & WithJobId(const Aws::String &value)
CreateBackendResult & WithError(const Aws::String &value)
CreateBackendResult & WithRequestId(const Aws::String &value)
CreateBackendResult & WithJobId(Aws::String &&value)
CreateBackendResult & WithOperation(Aws::String &&value)
CreateBackendResult & WithError(Aws::String &&value)
void SetBackendEnvironmentName(const Aws::String &value)
CreateBackendResult & WithStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue