AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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