AWS SDK for C++  1.8.154
AWS SDK for C++
LambdaInvokeOperation.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Xml
16 {
17  class XmlNode;
18 } // namespace Xml
19 } // namespace Utils
20 namespace S3Control
21 {
22 namespace Model
23 {
24 
32  {
33  public:
37 
38  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39 
40 
45  inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
46 
51  inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
52 
57  inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; }
58 
63  inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); }
64 
69  inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); }
70 
75  inline LambdaInvokeOperation& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
76 
81  inline LambdaInvokeOperation& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
82 
87  inline LambdaInvokeOperation& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
88 
89  private:
90 
91  Aws::String m_functionArn;
92  bool m_functionArnHasBeenSet;
93  };
94 
95 } // namespace Model
96 } // namespace S3Control
97 } // namespace Aws
Aws::S3Control::Model::LambdaInvokeOperation::LambdaInvokeOperation
LambdaInvokeOperation()
Aws::S3Control::Model::LambdaInvokeOperation::SetFunctionArn
void SetFunctionArn(Aws::String &&value)
Definition: LambdaInvokeOperation.h:63
Aws::S3Control::Model::LambdaInvokeOperation::SetFunctionArn
void SetFunctionArn(const Aws::String &value)
Definition: LambdaInvokeOperation.h:57
Aws::S3Control::Model::LambdaInvokeOperation::WithFunctionArn
LambdaInvokeOperation & WithFunctionArn(Aws::String &&value)
Definition: LambdaInvokeOperation.h:81
Aws::S3Control::Model::LambdaInvokeOperation::operator=
LambdaInvokeOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
S3Control_EXPORTS.h
Aws::S3Control::Model::LambdaInvokeOperation::GetFunctionArn
const Aws::String & GetFunctionArn() const
Definition: LambdaInvokeOperation.h:45
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::LambdaInvokeOperation::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::LambdaInvokeOperation::WithFunctionArn
LambdaInvokeOperation & WithFunctionArn(const Aws::String &value)
Definition: LambdaInvokeOperation.h:75
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
AWSString.h
Aws::S3Control::Model::LambdaInvokeOperation::WithFunctionArn
LambdaInvokeOperation & WithFunctionArn(const char *value)
Definition: LambdaInvokeOperation.h:87
Aws::S3Control::Model::LambdaInvokeOperation::FunctionArnHasBeenSet
bool FunctionArnHasBeenSet() const
Definition: LambdaInvokeOperation.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::LambdaInvokeOperation::SetFunctionArn
void SetFunctionArn(const char *value)
Definition: LambdaInvokeOperation.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::LambdaInvokeOperation
Definition: LambdaInvokeOperation.h:32
Aws::S3Control::Model::LambdaInvokeOperation::LambdaInvokeOperation
LambdaInvokeOperation(const Aws::Utils::Xml::XmlNode &xmlNode)