AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutRuntimeManagementConfigRequest.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/UpdateRuntimeOn.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Lambda
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "PutRuntimeManagementConfig"; }
36
37 AWS_LAMBDA_API Aws::String SerializePayload() const override;
38
39 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
53 inline const Aws::String& GetFunctionName() const{ return m_functionName; }
54 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
55 inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
56 inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
57 inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
59 inline PutRuntimeManagementConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
60 inline PutRuntimeManagementConfigRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
62
64
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 PutRuntimeManagementConfigRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
75 inline PutRuntimeManagementConfigRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;}
76 inline PutRuntimeManagementConfigRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
78
80
100 inline const UpdateRuntimeOn& GetUpdateRuntimeOn() const{ return m_updateRuntimeOn; }
101 inline bool UpdateRuntimeOnHasBeenSet() const { return m_updateRuntimeOnHasBeenSet; }
102 inline void SetUpdateRuntimeOn(const UpdateRuntimeOn& value) { m_updateRuntimeOnHasBeenSet = true; m_updateRuntimeOn = value; }
103 inline void SetUpdateRuntimeOn(UpdateRuntimeOn&& value) { m_updateRuntimeOnHasBeenSet = true; m_updateRuntimeOn = std::move(value); }
107
109
114 inline const Aws::String& GetRuntimeVersionArn() const{ return m_runtimeVersionArn; }
115 inline bool RuntimeVersionArnHasBeenSet() const { return m_runtimeVersionArnHasBeenSet; }
116 inline void SetRuntimeVersionArn(const Aws::String& value) { m_runtimeVersionArnHasBeenSet = true; m_runtimeVersionArn = value; }
117 inline void SetRuntimeVersionArn(Aws::String&& value) { m_runtimeVersionArnHasBeenSet = true; m_runtimeVersionArn = std::move(value); }
118 inline void SetRuntimeVersionArn(const char* value) { m_runtimeVersionArnHasBeenSet = true; m_runtimeVersionArn.assign(value); }
121 inline PutRuntimeManagementConfigRequest& WithRuntimeVersionArn(const char* value) { SetRuntimeVersionArn(value); return *this;}
123 private:
124
125 Aws::String m_functionName;
126 bool m_functionNameHasBeenSet = false;
127
128 Aws::String m_qualifier;
129 bool m_qualifierHasBeenSet = false;
130
131 UpdateRuntimeOn m_updateRuntimeOn;
132 bool m_updateRuntimeOnHasBeenSet = false;
133
134 Aws::String m_runtimeVersionArn;
135 bool m_runtimeVersionArnHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace Lambda
140} // namespace Aws
PutRuntimeManagementConfigRequest & WithUpdateRuntimeOn(UpdateRuntimeOn &&value)
PutRuntimeManagementConfigRequest & WithRuntimeVersionArn(const Aws::String &value)
PutRuntimeManagementConfigRequest & WithFunctionName(Aws::String &&value)
PutRuntimeManagementConfigRequest & WithQualifier(const char *value)
PutRuntimeManagementConfigRequest & WithRuntimeVersionArn(Aws::String &&value)
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutRuntimeManagementConfigRequest & WithUpdateRuntimeOn(const UpdateRuntimeOn &value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
PutRuntimeManagementConfigRequest & WithRuntimeVersionArn(const char *value)
PutRuntimeManagementConfigRequest & WithQualifier(const Aws::String &value)
PutRuntimeManagementConfigRequest & WithFunctionName(const char *value)
PutRuntimeManagementConfigRequest & WithQualifier(Aws::String &&value)
PutRuntimeManagementConfigRequest & WithFunctionName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String