AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateFunctionUrlConfigResult.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:
33 AWS_LAMBDA_API UpdateFunctionUrlConfigResult() = default;
36
37
39
42 inline const Aws::String& GetFunctionUrl() const { return m_functionUrl; }
43 template<typename FunctionUrlT = Aws::String>
44 void SetFunctionUrl(FunctionUrlT&& value) { m_functionUrlHasBeenSet = true; m_functionUrl = std::forward<FunctionUrlT>(value); }
45 template<typename FunctionUrlT = Aws::String>
46 UpdateFunctionUrlConfigResult& WithFunctionUrl(FunctionUrlT&& value) { SetFunctionUrl(std::forward<FunctionUrlT>(value)); return *this;}
48
50
53 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
54 template<typename FunctionArnT = Aws::String>
55 void SetFunctionArn(FunctionArnT&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::forward<FunctionArnT>(value); }
56 template<typename FunctionArnT = Aws::String>
57 UpdateFunctionUrlConfigResult& WithFunctionArn(FunctionArnT&& value) { SetFunctionArn(std::forward<FunctionArnT>(value)); return *this;}
59
61
69 inline FunctionUrlAuthType GetAuthType() const { return m_authType; }
70 inline void SetAuthType(FunctionUrlAuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
73
75
80 inline const Cors& GetCors() const { return m_cors; }
81 template<typename CorsT = Cors>
82 void SetCors(CorsT&& value) { m_corsHasBeenSet = true; m_cors = std::forward<CorsT>(value); }
83 template<typename CorsT = Cors>
84 UpdateFunctionUrlConfigResult& WithCors(CorsT&& value) { SetCors(std::forward<CorsT>(value)); return *this;}
86
88
93 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
94 template<typename CreationTimeT = Aws::String>
95 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
96 template<typename CreationTimeT = Aws::String>
97 UpdateFunctionUrlConfigResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
99
101
106 inline const Aws::String& GetLastModifiedTime() const { return m_lastModifiedTime; }
107 template<typename LastModifiedTimeT = Aws::String>
108 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
109 template<typename LastModifiedTimeT = Aws::String>
110 UpdateFunctionUrlConfigResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
112
114
126 inline InvokeMode GetInvokeMode() const { return m_invokeMode; }
127 inline void SetInvokeMode(InvokeMode value) { m_invokeModeHasBeenSet = true; m_invokeMode = value; }
130
132
133 inline const Aws::String& GetRequestId() const { return m_requestId; }
134 template<typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
136 template<typename RequestIdT = Aws::String>
137 UpdateFunctionUrlConfigResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
139 private:
140
141 Aws::String m_functionUrl;
142 bool m_functionUrlHasBeenSet = false;
143
144 Aws::String m_functionArn;
145 bool m_functionArnHasBeenSet = false;
146
148 bool m_authTypeHasBeenSet = false;
149
150 Cors m_cors;
151 bool m_corsHasBeenSet = false;
152
153 Aws::String m_creationTime;
154 bool m_creationTimeHasBeenSet = false;
155
156 Aws::String m_lastModifiedTime;
157 bool m_lastModifiedTimeHasBeenSet = false;
158
159 InvokeMode m_invokeMode{InvokeMode::NOT_SET};
160 bool m_invokeModeHasBeenSet = false;
161
162 Aws::String m_requestId;
163 bool m_requestIdHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace Lambda
168} // 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