AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFunctionUrlConfigRequest.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lambda/model/FunctionUrlAuthType.h>
11#include <aws/lambda/model/Cors.h>
12#include <aws/lambda/model/InvokeMode.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace Lambda
22{
23namespace Model
24{
25
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateFunctionUrlConfig"; }
38
39 AWS_LAMBDA_API Aws::String SerializePayload() const override;
40
41 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
55 inline const Aws::String& GetFunctionName() const{ return m_functionName; }
56 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
57 inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
58 inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
59 inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
60 inline UpdateFunctionUrlConfigRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
61 inline UpdateFunctionUrlConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
62 inline UpdateFunctionUrlConfigRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
64
66
69 inline const Aws::String& GetQualifier() const{ return m_qualifier; }
70 inline bool QualifierHasBeenSet() const { return m_qualifierHasBeenSet; }
71 inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
72 inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = std::move(value); }
73 inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); }
74 inline UpdateFunctionUrlConfigRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
75 inline UpdateFunctionUrlConfigRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;}
76 inline UpdateFunctionUrlConfigRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
78
80
88 inline const FunctionUrlAuthType& GetAuthType() const{ return m_authType; }
89 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
90 inline void SetAuthType(const FunctionUrlAuthType& value) { m_authTypeHasBeenSet = true; m_authType = value; }
91 inline void SetAuthType(FunctionUrlAuthType&& value) { m_authTypeHasBeenSet = true; m_authType = std::move(value); }
92 inline UpdateFunctionUrlConfigRequest& WithAuthType(const FunctionUrlAuthType& value) { SetAuthType(value); return *this;}
93 inline UpdateFunctionUrlConfigRequest& WithAuthType(FunctionUrlAuthType&& value) { SetAuthType(std::move(value)); return *this;}
95
97
102 inline const Cors& GetCors() const{ return m_cors; }
103 inline bool CorsHasBeenSet() const { return m_corsHasBeenSet; }
104 inline void SetCors(const Cors& value) { m_corsHasBeenSet = true; m_cors = value; }
105 inline void SetCors(Cors&& value) { m_corsHasBeenSet = true; m_cors = std::move(value); }
106 inline UpdateFunctionUrlConfigRequest& WithCors(const Cors& value) { SetCors(value); return *this;}
107 inline UpdateFunctionUrlConfigRequest& WithCors(Cors&& value) { SetCors(std::move(value)); return *this;}
109
111
123 inline const InvokeMode& GetInvokeMode() const{ return m_invokeMode; }
124 inline bool InvokeModeHasBeenSet() const { return m_invokeModeHasBeenSet; }
125 inline void SetInvokeMode(const InvokeMode& value) { m_invokeModeHasBeenSet = true; m_invokeMode = value; }
126 inline void SetInvokeMode(InvokeMode&& value) { m_invokeModeHasBeenSet = true; m_invokeMode = std::move(value); }
127 inline UpdateFunctionUrlConfigRequest& WithInvokeMode(const InvokeMode& value) { SetInvokeMode(value); return *this;}
128 inline UpdateFunctionUrlConfigRequest& WithInvokeMode(InvokeMode&& value) { SetInvokeMode(std::move(value)); return *this;}
130 private:
131
132 Aws::String m_functionName;
133 bool m_functionNameHasBeenSet = false;
134
135 Aws::String m_qualifier;
136 bool m_qualifierHasBeenSet = false;
137
138 FunctionUrlAuthType m_authType;
139 bool m_authTypeHasBeenSet = false;
140
141 Cors m_cors;
142 bool m_corsHasBeenSet = false;
143
144 InvokeMode m_invokeMode;
145 bool m_invokeModeHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace Lambda
150} // namespace Aws
UpdateFunctionUrlConfigRequest & WithFunctionName(const char *value)
UpdateFunctionUrlConfigRequest & WithCors(Cors &&value)
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateFunctionUrlConfigRequest & WithAuthType(const FunctionUrlAuthType &value)
UpdateFunctionUrlConfigRequest & WithFunctionName(const Aws::String &value)
UpdateFunctionUrlConfigRequest & WithInvokeMode(InvokeMode &&value)
UpdateFunctionUrlConfigRequest & WithQualifier(Aws::String &&value)
UpdateFunctionUrlConfigRequest & WithQualifier(const char *value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
UpdateFunctionUrlConfigRequest & WithCors(const Cors &value)
UpdateFunctionUrlConfigRequest & WithFunctionName(Aws::String &&value)
UpdateFunctionUrlConfigRequest & WithInvokeMode(const InvokeMode &value)
UpdateFunctionUrlConfigRequest & WithAuthType(FunctionUrlAuthType &&value)
UpdateFunctionUrlConfigRequest & WithQualifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String