AWS SDK for C++  0.14.3
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 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
39  inline const Aws::String& GetUUID() const{ return m_uUID; }
40 
44  inline void SetUUID(const Aws::String& value) { m_uUIDHasBeenSet = true; m_uUID = value; }
45 
49  inline void SetUUID(Aws::String&& value) { m_uUIDHasBeenSet = true; m_uUID = value; }
50 
54  inline void SetUUID(const char* value) { m_uUIDHasBeenSet = true; m_uUID.assign(value); }
55 
59  inline UpdateEventSourceMappingRequest& WithUUID(const Aws::String& value) { SetUUID(value); return *this;}
60 
64  inline UpdateEventSourceMappingRequest& WithUUID(Aws::String&& value) { SetUUID(value); return *this;}
65 
69  inline UpdateEventSourceMappingRequest& WithUUID(const char* value) { SetUUID(value); return *this;}
70 
85  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
86 
101  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
102 
117  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
118 
133  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
134 
149  inline UpdateEventSourceMappingRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
150 
165  inline UpdateEventSourceMappingRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(value); return *this;}
166 
181  inline UpdateEventSourceMappingRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
182 
187  inline bool GetEnabled() const{ return m_enabled; }
188 
193  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
194 
199  inline UpdateEventSourceMappingRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
200 
205  inline int GetBatchSize() const{ return m_batchSize; }
206 
211  inline void SetBatchSize(int value) { m_batchSizeHasBeenSet = true; m_batchSize = value; }
212 
217  inline UpdateEventSourceMappingRequest& WithBatchSize(int value) { SetBatchSize(value); return *this;}
218 
219  private:
220  Aws::String m_uUID;
221  bool m_uUIDHasBeenSet;
222  Aws::String m_functionName;
223  bool m_functionNameHasBeenSet;
224  bool m_enabled;
225  bool m_enabledHasBeenSet;
226  int m_batchSize;
227  bool m_batchSizeHasBeenSet;
228  };
229 
230 } // namespace Model
231 } // namespace Lambda
232 } // namespace Aws
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)
UpdateEventSourceMappingRequest & WithBatchSize(int 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)