AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBackendResult.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 GetBackendResult();
34
35
37
40 inline const Aws::String& GetAmplifyFeatureFlags() const{ return m_amplifyFeatureFlags; }
41 inline void SetAmplifyFeatureFlags(const Aws::String& value) { m_amplifyFeatureFlags = value; }
42 inline void SetAmplifyFeatureFlags(Aws::String&& value) { m_amplifyFeatureFlags = std::move(value); }
43 inline void SetAmplifyFeatureFlags(const char* value) { m_amplifyFeatureFlags.assign(value); }
44 inline GetBackendResult& WithAmplifyFeatureFlags(const Aws::String& value) { SetAmplifyFeatureFlags(value); return *this;}
45 inline GetBackendResult& WithAmplifyFeatureFlags(Aws::String&& value) { SetAmplifyFeatureFlags(std::move(value)); return *this;}
46 inline GetBackendResult& WithAmplifyFeatureFlags(const char* value) { SetAmplifyFeatureFlags(value); return *this;}
48
50
53 inline const Aws::String& GetAmplifyMetaConfig() const{ return m_amplifyMetaConfig; }
54 inline void SetAmplifyMetaConfig(const Aws::String& value) { m_amplifyMetaConfig = value; }
55 inline void SetAmplifyMetaConfig(Aws::String&& value) { m_amplifyMetaConfig = std::move(value); }
56 inline void SetAmplifyMetaConfig(const char* value) { m_amplifyMetaConfig.assign(value); }
57 inline GetBackendResult& WithAmplifyMetaConfig(const Aws::String& value) { SetAmplifyMetaConfig(value); return *this;}
58 inline GetBackendResult& WithAmplifyMetaConfig(Aws::String&& value) { SetAmplifyMetaConfig(std::move(value)); return *this;}
59 inline GetBackendResult& WithAmplifyMetaConfig(const char* value) { SetAmplifyMetaConfig(value); return *this;}
61
63
66 inline const Aws::String& GetAppId() const{ return m_appId; }
67 inline void SetAppId(const Aws::String& value) { m_appId = value; }
68 inline void SetAppId(Aws::String&& value) { m_appId = std::move(value); }
69 inline void SetAppId(const char* value) { m_appId.assign(value); }
70 inline GetBackendResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
71 inline GetBackendResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
72 inline GetBackendResult& WithAppId(const char* value) { SetAppId(value); return *this;}
74
76
79 inline const Aws::String& GetAppName() const{ return m_appName; }
80 inline void SetAppName(const Aws::String& value) { m_appName = value; }
81 inline void SetAppName(Aws::String&& value) { m_appName = std::move(value); }
82 inline void SetAppName(const char* value) { m_appName.assign(value); }
83 inline GetBackendResult& WithAppName(const Aws::String& value) { SetAppName(value); return *this;}
84 inline GetBackendResult& WithAppName(Aws::String&& value) { SetAppName(std::move(value)); return *this;}
85 inline GetBackendResult& WithAppName(const char* value) { SetAppName(value); return *this;}
87
89
92 inline const Aws::Vector<Aws::String>& GetBackendEnvironmentList() const{ return m_backendEnvironmentList; }
93 inline void SetBackendEnvironmentList(const Aws::Vector<Aws::String>& value) { m_backendEnvironmentList = value; }
94 inline void SetBackendEnvironmentList(Aws::Vector<Aws::String>&& value) { m_backendEnvironmentList = std::move(value); }
97 inline GetBackendResult& AddBackendEnvironmentList(const Aws::String& value) { m_backendEnvironmentList.push_back(value); return *this; }
98 inline GetBackendResult& AddBackendEnvironmentList(Aws::String&& value) { m_backendEnvironmentList.push_back(std::move(value)); return *this; }
99 inline GetBackendResult& AddBackendEnvironmentList(const char* value) { m_backendEnvironmentList.push_back(value); return *this; }
101
103
106 inline const Aws::String& GetBackendEnvironmentName() const{ return m_backendEnvironmentName; }
107 inline void SetBackendEnvironmentName(const Aws::String& value) { m_backendEnvironmentName = value; }
108 inline void SetBackendEnvironmentName(Aws::String&& value) { m_backendEnvironmentName = std::move(value); }
109 inline void SetBackendEnvironmentName(const char* value) { m_backendEnvironmentName.assign(value); }
111 inline GetBackendResult& WithBackendEnvironmentName(Aws::String&& value) { SetBackendEnvironmentName(std::move(value)); return *this;}
112 inline GetBackendResult& WithBackendEnvironmentName(const char* value) { SetBackendEnvironmentName(value); return *this;}
114
116
119 inline const Aws::String& GetError() const{ return m_error; }
120 inline void SetError(const Aws::String& value) { m_error = value; }
121 inline void SetError(Aws::String&& value) { m_error = std::move(value); }
122 inline void SetError(const char* value) { m_error.assign(value); }
123 inline GetBackendResult& WithError(const Aws::String& value) { SetError(value); return *this;}
124 inline GetBackendResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
125 inline GetBackendResult& WithError(const char* value) { SetError(value); return *this;}
127
129
130 inline const Aws::String& GetRequestId() const{ return m_requestId; }
131 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
132 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
133 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
134 inline GetBackendResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
135 inline GetBackendResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
136 inline GetBackendResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
138 private:
139
140 Aws::String m_amplifyFeatureFlags;
141
142 Aws::String m_amplifyMetaConfig;
143
144 Aws::String m_appId;
145
146 Aws::String m_appName;
147
148 Aws::Vector<Aws::String> m_backendEnvironmentList;
149
150 Aws::String m_backendEnvironmentName;
151
152 Aws::String m_error;
153
154 Aws::String m_requestId;
155 };
156
157} // namespace Model
158} // namespace AmplifyBackend
159} // namespace Aws
GetBackendResult & WithAppName(Aws::String &&value)
GetBackendResult & WithBackendEnvironmentName(const Aws::String &value)
GetBackendResult & WithRequestId(const char *value)
void SetBackendEnvironmentList(const Aws::Vector< Aws::String > &value)
void SetRequestId(const Aws::String &value)
GetBackendResult & WithError(const Aws::String &value)
void SetAppName(const Aws::String &value)
const Aws::String & GetAmplifyMetaConfig() const
GetBackendResult & WithBackendEnvironmentList(Aws::Vector< Aws::String > &&value)
GetBackendResult & WithAppId(const Aws::String &value)
GetBackendResult & WithAppName(const Aws::String &value)
GetBackendResult & WithAmplifyFeatureFlags(const char *value)
AWS_AMPLIFYBACKEND_API GetBackendResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAmplifyMetaConfig(const Aws::String &value)
GetBackendResult & WithAmplifyMetaConfig(Aws::String &&value)
void SetBackendEnvironmentList(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetBackendEnvironmentList() const
GetBackendResult & WithAmplifyMetaConfig(const char *value)
GetBackendResult & WithError(Aws::String &&value)
GetBackendResult & WithAmplifyFeatureFlags(const Aws::String &value)
GetBackendResult & AddBackendEnvironmentList(const Aws::String &value)
const Aws::String & GetAmplifyFeatureFlags() const
GetBackendResult & WithError(const char *value)
GetBackendResult & WithBackendEnvironmentName(Aws::String &&value)
GetBackendResult & AddBackendEnvironmentList(const char *value)
GetBackendResult & WithAmplifyFeatureFlags(Aws::String &&value)
GetBackendResult & WithRequestId(Aws::String &&value)
GetBackendResult & WithBackendEnvironmentList(const Aws::Vector< Aws::String > &value)
GetBackendResult & WithAppId(Aws::String &&value)
GetBackendResult & AddBackendEnvironmentList(Aws::String &&value)
void SetAppId(const Aws::String &value)
void SetBackendEnvironmentName(const Aws::String &value)
const Aws::String & GetBackendEnvironmentName() const
GetBackendResult & WithAppId(const char *value)
AWS_AMPLIFYBACKEND_API GetBackendResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackendResult & WithBackendEnvironmentName(const char *value)
GetBackendResult & WithAppName(const char *value)
GetBackendResult & WithAmplifyMetaConfig(const Aws::String &value)
GetBackendResult & WithRequestId(const Aws::String &value)
void SetAmplifyFeatureFlags(const Aws::String &value)
void SetBackendEnvironmentName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue