AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBackendAuthResult.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/CreateBackendAuthResourceConfig.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 GetBackendAuthResult();
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 GetBackendAuthResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
45 inline GetBackendAuthResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
46 inline GetBackendAuthResult& 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 GetBackendAuthResult& WithBackendEnvironmentName(Aws::String&& value) { SetBackendEnvironmentName(std::move(value)); return *this;}
59 inline GetBackendAuthResult& 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 GetBackendAuthResult& WithError(const Aws::String& value) { SetError(value); return *this;}
71 inline GetBackendAuthResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
72 inline GetBackendAuthResult& WithError(const char* value) { SetError(value); return *this;}
74
76
80 inline const CreateBackendAuthResourceConfig& GetResourceConfig() const{ return m_resourceConfig; }
81 inline void SetResourceConfig(const CreateBackendAuthResourceConfig& value) { m_resourceConfig = value; }
82 inline void SetResourceConfig(CreateBackendAuthResourceConfig&& value) { m_resourceConfig = std::move(value); }
86
88
91 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
92 inline void SetResourceName(const Aws::String& value) { m_resourceName = value; }
93 inline void SetResourceName(Aws::String&& value) { m_resourceName = std::move(value); }
94 inline void SetResourceName(const char* value) { m_resourceName.assign(value); }
95 inline GetBackendAuthResult& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
96 inline GetBackendAuthResult& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
97 inline GetBackendAuthResult& WithResourceName(const char* value) { SetResourceName(value); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline GetBackendAuthResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline GetBackendAuthResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline GetBackendAuthResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 Aws::String m_appId;
113
114 Aws::String m_backendEnvironmentName;
115
116 Aws::String m_error;
117
118 CreateBackendAuthResourceConfig m_resourceConfig;
119
120 Aws::String m_resourceName;
121
122 Aws::String m_requestId;
123 };
124
125} // namespace Model
126} // namespace AmplifyBackend
127} // namespace Aws
AWS_AMPLIFYBACKEND_API GetBackendAuthResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackendAuthResult & WithResourceName(Aws::String &&value)
GetBackendAuthResult & WithAppId(const char *value)
AWS_AMPLIFYBACKEND_API GetBackendAuthResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackendAuthResult & WithError(const char *value)
void SetBackendEnvironmentName(const Aws::String &value)
GetBackendAuthResult & WithAppId(const Aws::String &value)
void SetResourceConfig(const CreateBackendAuthResourceConfig &value)
GetBackendAuthResult & WithBackendEnvironmentName(const Aws::String &value)
GetBackendAuthResult & WithBackendEnvironmentName(Aws::String &&value)
GetBackendAuthResult & WithResourceName(const Aws::String &value)
const CreateBackendAuthResourceConfig & GetResourceConfig() const
GetBackendAuthResult & WithResourceName(const char *value)
GetBackendAuthResult & WithAppId(Aws::String &&value)
GetBackendAuthResult & WithRequestId(const Aws::String &value)
GetBackendAuthResult & WithResourceConfig(const CreateBackendAuthResourceConfig &value)
GetBackendAuthResult & WithBackendEnvironmentName(const char *value)
GetBackendAuthResult & WithResourceConfig(CreateBackendAuthResourceConfig &&value)
GetBackendAuthResult & WithError(const Aws::String &value)
void SetResourceConfig(CreateBackendAuthResourceConfig &&value)
GetBackendAuthResult & WithRequestId(Aws::String &&value)
GetBackendAuthResult & WithRequestId(const char *value)
GetBackendAuthResult & WithError(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue