AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFunctionUrlConfigResult.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 CreateFunctionUrlConfigResult& WithFunctionUrl(const Aws::String& value) { SetFunctionUrl(value); return *this;}
47 inline CreateFunctionUrlConfigResult& WithFunctionUrl(Aws::String&& value) { SetFunctionUrl(std::move(value)); return *this;}
48 inline CreateFunctionUrlConfigResult& 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 CreateFunctionUrlConfigResult& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
60 inline CreateFunctionUrlConfigResult& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
61 inline CreateFunctionUrlConfigResult& 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 CreateFunctionUrlConfigResult& WithAuthType(const FunctionUrlAuthType& value) { SetAuthType(value); return *this;}
77 inline CreateFunctionUrlConfigResult& 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 CreateFunctionUrlConfigResult& WithCors(const Cors& value) { SetCors(value); return *this;}
90 inline CreateFunctionUrlConfigResult& 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 CreateFunctionUrlConfigResult& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
104 inline CreateFunctionUrlConfigResult& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
105 inline CreateFunctionUrlConfigResult& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
107
109
121 inline const InvokeMode& GetInvokeMode() const{ return m_invokeMode; }
122 inline void SetInvokeMode(const InvokeMode& value) { m_invokeMode = value; }
123 inline void SetInvokeMode(InvokeMode&& value) { m_invokeMode = std::move(value); }
124 inline CreateFunctionUrlConfigResult& WithInvokeMode(const InvokeMode& value) { SetInvokeMode(value); return *this;}
125 inline CreateFunctionUrlConfigResult& WithInvokeMode(InvokeMode&& value) { SetInvokeMode(std::move(value)); return *this;}
127
129
130 inline const Aws::String& GetRequestId() const{ return m_requestId; }
131 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
132 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
133 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
134 inline CreateFunctionUrlConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
135 inline CreateFunctionUrlConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
136 inline CreateFunctionUrlConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
138 private:
139
140 Aws::String m_functionUrl;
141
142 Aws::String m_functionArn;
143
144 FunctionUrlAuthType m_authType;
145
146 Cors m_cors;
147
148 Aws::String m_creationTime;
149
150 InvokeMode m_invokeMode;
151
152 Aws::String m_requestId;
153 };
154
155} // namespace Model
156} // namespace Lambda
157} // namespace Aws
CreateFunctionUrlConfigResult & WithFunctionUrl(Aws::String &&value)
CreateFunctionUrlConfigResult & WithFunctionArn(const Aws::String &value)
CreateFunctionUrlConfigResult & WithAuthType(const FunctionUrlAuthType &value)
CreateFunctionUrlConfigResult & WithCreationTime(const Aws::String &value)
CreateFunctionUrlConfigResult & WithFunctionUrl(const char *value)
CreateFunctionUrlConfigResult & WithRequestId(const char *value)
CreateFunctionUrlConfigResult & WithCreationTime(Aws::String &&value)
AWS_LAMBDA_API CreateFunctionUrlConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFunctionUrlConfigResult & WithFunctionArn(Aws::String &&value)
CreateFunctionUrlConfigResult & WithFunctionUrl(const Aws::String &value)
CreateFunctionUrlConfigResult & WithInvokeMode(const InvokeMode &value)
CreateFunctionUrlConfigResult & WithCors(Cors &&value)
CreateFunctionUrlConfigResult & WithAuthType(FunctionUrlAuthType &&value)
CreateFunctionUrlConfigResult & WithCreationTime(const char *value)
CreateFunctionUrlConfigResult & WithRequestId(const Aws::String &value)
CreateFunctionUrlConfigResult & WithRequestId(Aws::String &&value)
CreateFunctionUrlConfigResult & WithFunctionArn(const char *value)
CreateFunctionUrlConfigResult & WithCors(const Cors &value)
AWS_LAMBDA_API CreateFunctionUrlConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFunctionUrlConfigResult & WithInvokeMode(InvokeMode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue