AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateFunctionUrlConfigResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9#include <aws/lambda/model/Cors.h>
10#include <aws/lambda/model/FunctionUrlAuthType.h>
11#include <aws/lambda/model/InvokeMode.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Lambda {
25namespace Model {
27 public:
28 AWS_LAMBDA_API UpdateFunctionUrlConfigResult() = default;
31
33
36 inline const Aws::String& GetFunctionUrl() const { return m_functionUrl; }
37 template <typename FunctionUrlT = Aws::String>
38 void SetFunctionUrl(FunctionUrlT&& value) {
39 m_functionUrlHasBeenSet = true;
40 m_functionUrl = std::forward<FunctionUrlT>(value);
41 }
42 template <typename FunctionUrlT = Aws::String>
44 SetFunctionUrl(std::forward<FunctionUrlT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
54 template <typename FunctionArnT = Aws::String>
55 void SetFunctionArn(FunctionArnT&& value) {
56 m_functionArnHasBeenSet = true;
57 m_functionArn = std::forward<FunctionArnT>(value);
58 }
59 template <typename FunctionArnT = Aws::String>
61 SetFunctionArn(std::forward<FunctionArnT>(value));
62 return *this;
63 }
65
67
75 inline FunctionUrlAuthType GetAuthType() const { return m_authType; }
76 inline void SetAuthType(FunctionUrlAuthType value) {
77 m_authTypeHasBeenSet = true;
78 m_authType = value;
79 }
81 SetAuthType(value);
82 return *this;
83 }
85
87
92 inline const Cors& GetCors() const { return m_cors; }
93 template <typename CorsT = Cors>
94 void SetCors(CorsT&& value) {
95 m_corsHasBeenSet = true;
96 m_cors = std::forward<CorsT>(value);
97 }
98 template <typename CorsT = Cors>
100 SetCors(std::forward<CorsT>(value));
101 return *this;
102 }
104
106
111 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
112 template <typename CreationTimeT = Aws::String>
113 void SetCreationTime(CreationTimeT&& value) {
114 m_creationTimeHasBeenSet = true;
115 m_creationTime = std::forward<CreationTimeT>(value);
116 }
117 template <typename CreationTimeT = Aws::String>
119 SetCreationTime(std::forward<CreationTimeT>(value));
120 return *this;
121 }
123
125
130 inline const Aws::String& GetLastModifiedTime() const { return m_lastModifiedTime; }
131 template <typename LastModifiedTimeT = Aws::String>
132 void SetLastModifiedTime(LastModifiedTimeT&& value) {
133 m_lastModifiedTimeHasBeenSet = true;
134 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
135 }
136 template <typename LastModifiedTimeT = Aws::String>
138 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
139 return *this;
140 }
142
144
154 inline InvokeMode GetInvokeMode() const { return m_invokeMode; }
155 inline void SetInvokeMode(InvokeMode value) {
156 m_invokeModeHasBeenSet = true;
157 m_invokeMode = value;
158 }
160 SetInvokeMode(value);
161 return *this;
162 }
164
166
167 inline const Aws::String& GetRequestId() const { return m_requestId; }
168 template <typename RequestIdT = Aws::String>
169 void SetRequestId(RequestIdT&& value) {
170 m_requestIdHasBeenSet = true;
171 m_requestId = std::forward<RequestIdT>(value);
172 }
173 template <typename RequestIdT = Aws::String>
175 SetRequestId(std::forward<RequestIdT>(value));
176 return *this;
177 }
179 private:
180 Aws::String m_functionUrl;
181
182 Aws::String m_functionArn;
183
185
186 Cors m_cors;
187
188 Aws::String m_creationTime;
189
190 Aws::String m_lastModifiedTime;
191
192 InvokeMode m_invokeMode{InvokeMode::NOT_SET};
193
194 Aws::String m_requestId;
195 bool m_functionUrlHasBeenSet = false;
196 bool m_functionArnHasBeenSet = false;
197 bool m_authTypeHasBeenSet = false;
198 bool m_corsHasBeenSet = false;
199 bool m_creationTimeHasBeenSet = false;
200 bool m_lastModifiedTimeHasBeenSet = false;
201 bool m_invokeModeHasBeenSet = false;
202 bool m_requestIdHasBeenSet = false;
203};
204
205} // namespace Model
206} // namespace Lambda
207} // namespace Aws
AWS_LAMBDA_API UpdateFunctionUrlConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFunctionUrlConfigResult & WithCors(CorsT &&value)
AWS_LAMBDA_API UpdateFunctionUrlConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFunctionUrlConfigResult & WithLastModifiedTime(LastModifiedTimeT &&value)
UpdateFunctionUrlConfigResult & WithAuthType(FunctionUrlAuthType value)
UpdateFunctionUrlConfigResult & WithCreationTime(CreationTimeT &&value)
UpdateFunctionUrlConfigResult & WithRequestId(RequestIdT &&value)
UpdateFunctionUrlConfigResult & WithFunctionUrl(FunctionUrlT &&value)
AWS_LAMBDA_API UpdateFunctionUrlConfigResult()=default
UpdateFunctionUrlConfigResult & WithFunctionArn(FunctionArnT &&value)
UpdateFunctionUrlConfigResult & WithInvokeMode(InvokeMode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue