AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ObjectLambdaTransformationConfiguration.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3control/model/ObjectLambdaContentTransformation.h>
10#include <aws/s3control/model/ObjectLambdaTransformationConfigurationAction.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace S3Control
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_S3CONTROL_API ObjectLambdaTransformationConfiguration() = default;
39
40 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
50 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
51 template<typename ActionsT = Aws::Vector<ObjectLambdaTransformationConfigurationAction>>
52 void SetActions(ActionsT&& value) { m_actionsHasBeenSet = true; m_actions = std::forward<ActionsT>(value); }
53 template<typename ActionsT = Aws::Vector<ObjectLambdaTransformationConfigurationAction>>
54 ObjectLambdaTransformationConfiguration& WithActions(ActionsT&& value) { SetActions(std::forward<ActionsT>(value)); return *this;}
55 inline ObjectLambdaTransformationConfiguration& AddActions(ObjectLambdaTransformationConfigurationAction value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
57
59
63 inline const ObjectLambdaContentTransformation& GetContentTransformation() const { return m_contentTransformation; }
64 inline bool ContentTransformationHasBeenSet() const { return m_contentTransformationHasBeenSet; }
65 template<typename ContentTransformationT = ObjectLambdaContentTransformation>
66 void SetContentTransformation(ContentTransformationT&& value) { m_contentTransformationHasBeenSet = true; m_contentTransformation = std::forward<ContentTransformationT>(value); }
67 template<typename ContentTransformationT = ObjectLambdaContentTransformation>
68 ObjectLambdaTransformationConfiguration& WithContentTransformation(ContentTransformationT&& value) { SetContentTransformation(std::forward<ContentTransformationT>(value)); return *this;}
70 private:
71
73 bool m_actionsHasBeenSet = false;
74
75 ObjectLambdaContentTransformation m_contentTransformation;
76 bool m_contentTransformationHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace S3Control
81} // namespace Aws
AWS_S3CONTROL_API ObjectLambdaTransformationConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
ObjectLambdaTransformationConfiguration & AddActions(ObjectLambdaTransformationConfigurationAction value)
ObjectLambdaTransformationConfiguration & WithActions(ActionsT &&value)
ObjectLambdaTransformationConfiguration & WithContentTransformation(ContentTransformationT &&value)
const Aws::Vector< ObjectLambdaTransformationConfigurationAction > & GetActions() const
AWS_S3CONTROL_API ObjectLambdaTransformationConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::vector< T, Aws::Allocator< T > > Vector