AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsLambdaTransformation.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Control
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_S3CONTROL_API AwsLambdaTransformation();
35 AWS_S3CONTROL_API AwsLambdaTransformation(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
45 inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
46 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
47 inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; }
48 inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); }
49 inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); }
50 inline AwsLambdaTransformation& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
51 inline AwsLambdaTransformation& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
52 inline AwsLambdaTransformation& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
54
56
60 inline const Aws::String& GetFunctionPayload() const{ return m_functionPayload; }
61 inline bool FunctionPayloadHasBeenSet() const { return m_functionPayloadHasBeenSet; }
62 inline void SetFunctionPayload(const Aws::String& value) { m_functionPayloadHasBeenSet = true; m_functionPayload = value; }
63 inline void SetFunctionPayload(Aws::String&& value) { m_functionPayloadHasBeenSet = true; m_functionPayload = std::move(value); }
64 inline void SetFunctionPayload(const char* value) { m_functionPayloadHasBeenSet = true; m_functionPayload.assign(value); }
65 inline AwsLambdaTransformation& WithFunctionPayload(const Aws::String& value) { SetFunctionPayload(value); return *this;}
66 inline AwsLambdaTransformation& WithFunctionPayload(Aws::String&& value) { SetFunctionPayload(std::move(value)); return *this;}
67 inline AwsLambdaTransformation& WithFunctionPayload(const char* value) { SetFunctionPayload(value); return *this;}
69 private:
70
71 Aws::String m_functionArn;
72 bool m_functionArnHasBeenSet = false;
73
74 Aws::String m_functionPayload;
75 bool m_functionPayloadHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace S3Control
80} // namespace Aws
AwsLambdaTransformation & WithFunctionArn(const char *value)
AwsLambdaTransformation & WithFunctionPayload(Aws::String &&value)
AWS_S3CONTROL_API AwsLambdaTransformation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AwsLambdaTransformation & WithFunctionArn(Aws::String &&value)
AwsLambdaTransformation & WithFunctionPayload(const char *value)
AwsLambdaTransformation & WithFunctionPayload(const Aws::String &value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API AwsLambdaTransformation(const Aws::Utils::Xml::XmlNode &xmlNode)
AwsLambdaTransformation & WithFunctionArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String