AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFunctionUrlConfigResult.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/model/FunctionUrlAuthType.h>
10#include <aws/lambda/model/Cors.h>
11#include <aws/lambda/model/InvokeMode.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Lambda
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetFunctionUrl() const{ return m_functionUrl; }
43 inline void SetFunctionUrl(const Aws::String& value) { m_functionUrl = value; }
44 inline void SetFunctionUrl(Aws::String&& value) { m_functionUrl = std::move(value); }
45 inline void SetFunctionUrl(const char* value) { m_functionUrl.assign(value); }
46 inline GetFunctionUrlConfigResult& WithFunctionUrl(const Aws::String& value) { SetFunctionUrl(value); return *this;}
47 inline GetFunctionUrlConfigResult& WithFunctionUrl(Aws::String&& value) { SetFunctionUrl(std::move(value)); return *this;}
48 inline GetFunctionUrlConfigResult& WithFunctionUrl(const char* value) { SetFunctionUrl(value); return *this;}
50
52
55 inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
56 inline void SetFunctionArn(const Aws::String& value) { m_functionArn = value; }
57 inline void SetFunctionArn(Aws::String&& value) { m_functionArn = std::move(value); }
58 inline void SetFunctionArn(const char* value) { m_functionArn.assign(value); }
59 inline GetFunctionUrlConfigResult& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
60 inline GetFunctionUrlConfigResult& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
61 inline GetFunctionUrlConfigResult& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
63
65
73 inline const FunctionUrlAuthType& GetAuthType() const{ return m_authType; }
74 inline void SetAuthType(const FunctionUrlAuthType& value) { m_authType = value; }
75 inline void SetAuthType(FunctionUrlAuthType&& value) { m_authType = std::move(value); }
76 inline GetFunctionUrlConfigResult& WithAuthType(const FunctionUrlAuthType& value) { SetAuthType(value); return *this;}
77 inline GetFunctionUrlConfigResult& WithAuthType(FunctionUrlAuthType&& value) { SetAuthType(std::move(value)); return *this;}
79
81
86 inline const Cors& GetCors() const{ return m_cors; }
87 inline void SetCors(const Cors& value) { m_cors = value; }
88 inline void SetCors(Cors&& value) { m_cors = std::move(value); }
89 inline GetFunctionUrlConfigResult& WithCors(const Cors& value) { SetCors(value); return *this;}
90 inline GetFunctionUrlConfigResult& WithCors(Cors&& value) { SetCors(std::move(value)); return *this;}
92
94
99 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
100 inline void SetCreationTime(const Aws::String& value) { m_creationTime = value; }
101 inline void SetCreationTime(Aws::String&& value) { m_creationTime = std::move(value); }
102 inline void SetCreationTime(const char* value) { m_creationTime.assign(value); }
103 inline GetFunctionUrlConfigResult& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
104 inline GetFunctionUrlConfigResult& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
105 inline GetFunctionUrlConfigResult& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
107
109
114 inline const Aws::String& GetLastModifiedTime() const{ return m_lastModifiedTime; }
115 inline void SetLastModifiedTime(const Aws::String& value) { m_lastModifiedTime = value; }
116 inline void SetLastModifiedTime(Aws::String&& value) { m_lastModifiedTime = std::move(value); }
117 inline void SetLastModifiedTime(const char* value) { m_lastModifiedTime.assign(value); }
119 inline GetFunctionUrlConfigResult& WithLastModifiedTime(Aws::String&& value) { SetLastModifiedTime(std::move(value)); return *this;}
120 inline GetFunctionUrlConfigResult& WithLastModifiedTime(const char* value) { SetLastModifiedTime(value); return *this;}
122
124
136 inline const InvokeMode& GetInvokeMode() const{ return m_invokeMode; }
137 inline void SetInvokeMode(const InvokeMode& value) { m_invokeMode = value; }
138 inline void SetInvokeMode(InvokeMode&& value) { m_invokeMode = std::move(value); }
139 inline GetFunctionUrlConfigResult& WithInvokeMode(const InvokeMode& value) { SetInvokeMode(value); return *this;}
140 inline GetFunctionUrlConfigResult& WithInvokeMode(InvokeMode&& value) { SetInvokeMode(std::move(value)); return *this;}
142
144
145 inline const Aws::String& GetRequestId() const{ return m_requestId; }
146 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
147 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
148 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
149 inline GetFunctionUrlConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
150 inline GetFunctionUrlConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
151 inline GetFunctionUrlConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
153 private:
154
155 Aws::String m_functionUrl;
156
157 Aws::String m_functionArn;
158
159 FunctionUrlAuthType m_authType;
160
161 Cors m_cors;
162
163 Aws::String m_creationTime;
164
165 Aws::String m_lastModifiedTime;
166
167 InvokeMode m_invokeMode;
168
169 Aws::String m_requestId;
170 };
171
172} // namespace Model
173} // namespace Lambda
174} // namespace Aws
GetFunctionUrlConfigResult & WithCors(Cors &&value)
GetFunctionUrlConfigResult & WithRequestId(const Aws::String &value)
GetFunctionUrlConfigResult & WithFunctionUrl(const char *value)
GetFunctionUrlConfigResult & WithRequestId(const char *value)
GetFunctionUrlConfigResult & WithFunctionArn(const char *value)
GetFunctionUrlConfigResult & WithRequestId(Aws::String &&value)
GetFunctionUrlConfigResult & WithCreationTime(Aws::String &&value)
AWS_LAMBDA_API GetFunctionUrlConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFunctionUrlConfigResult & WithAuthType(const FunctionUrlAuthType &value)
GetFunctionUrlConfigResult & WithFunctionUrl(const Aws::String &value)
GetFunctionUrlConfigResult & WithLastModifiedTime(const char *value)
GetFunctionUrlConfigResult & WithFunctionUrl(Aws::String &&value)
GetFunctionUrlConfigResult & WithCreationTime(const char *value)
GetFunctionUrlConfigResult & WithInvokeMode(InvokeMode &&value)
GetFunctionUrlConfigResult & WithCreationTime(const Aws::String &value)
void SetAuthType(const FunctionUrlAuthType &value)
GetFunctionUrlConfigResult & WithLastModifiedTime(const Aws::String &value)
GetFunctionUrlConfigResult & WithLastModifiedTime(Aws::String &&value)
GetFunctionUrlConfigResult & WithInvokeMode(const InvokeMode &value)
GetFunctionUrlConfigResult & WithCors(const Cors &value)
GetFunctionUrlConfigResult & WithFunctionArn(const Aws::String &value)
GetFunctionUrlConfigResult & WithAuthType(FunctionUrlAuthType &&value)
GetFunctionUrlConfigResult & WithFunctionArn(Aws::String &&value)
AWS_LAMBDA_API GetFunctionUrlConfigResult & 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