AWS SDK for C++  0.12.9
AWS SDK for C++
UpdateEventSourceMappingRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace Lambda
23 {
24 namespace Model
25 {
26 
30  {
31  public:
33  Aws::String SerializePayload() const override;
34 
38  inline const Aws::String& GetUUID() const{ return m_uUID; }
39 
43  inline void SetUUID(const Aws::String& value) { m_uUIDHasBeenSet = true; m_uUID = value; }
44 
48  inline void SetUUID(Aws::String&& value) { m_uUIDHasBeenSet = true; m_uUID = value; }
49 
53  inline void SetUUID(const char* value) { m_uUIDHasBeenSet = true; m_uUID.assign(value); }
54 
58  inline UpdateEventSourceMappingRequest& WithUUID(const Aws::String& value) { SetUUID(value); return *this;}
59 
63  inline UpdateEventSourceMappingRequest& WithUUID(Aws::String&& value) { SetUUID(value); return *this;}
64 
68  inline UpdateEventSourceMappingRequest& WithUUID(const char* value) { SetUUID(value); return *this;}
69 
84  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
85 
100  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
101 
116  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
117 
132  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
133 
148  inline UpdateEventSourceMappingRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
149 
164  inline UpdateEventSourceMappingRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(value); return *this;}
165 
180  inline UpdateEventSourceMappingRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
181 
186  inline bool GetEnabled() const{ return m_enabled; }
187 
192  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
193 
198  inline UpdateEventSourceMappingRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
199 
204  inline long GetBatchSize() const{ return m_batchSize; }
205 
210  inline void SetBatchSize(long value) { m_batchSizeHasBeenSet = true; m_batchSize = value; }
211 
216  inline UpdateEventSourceMappingRequest& WithBatchSize(long value) { SetBatchSize(value); return *this;}
217 
218  private:
219  Aws::String m_uUID;
220  bool m_uUIDHasBeenSet;
221  Aws::String m_functionName;
222  bool m_functionNameHasBeenSet;
223  bool m_enabled;
224  bool m_enabledHasBeenSet;
225  long m_batchSize;
226  bool m_batchSizeHasBeenSet;
227  };
228 
229 } // namespace Model
230 } // namespace Lambda
231 } // namespace Aws
UpdateEventSourceMappingRequest & WithBatchSize(long value)
UpdateEventSourceMappingRequest & WithFunctionName(const Aws::String &value)
UpdateEventSourceMappingRequest & WithUUID(const char *value)
#define AWS_LAMBDA_API
UpdateEventSourceMappingRequest & WithFunctionName(const char *value)
UpdateEventSourceMappingRequest & WithFunctionName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateEventSourceMappingRequest & WithUUID(Aws::String &&value)
UpdateEventSourceMappingRequest & WithUUID(const Aws::String &value)
JSON (JavaScript Object Notation).
UpdateEventSourceMappingRequest & WithEnabled(bool value)