AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ObjectLambdaConfiguration.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3control/model/ObjectLambdaAllowedFeature.h>
11#include <aws/s3control/model/ObjectLambdaTransformationConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace S3Control
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_S3CONTROL_API ObjectLambdaConfiguration();
38 AWS_S3CONTROL_API ObjectLambdaConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
48 inline const Aws::String& GetSupportingAccessPoint() const{ return m_supportingAccessPoint; }
49 inline bool SupportingAccessPointHasBeenSet() const { return m_supportingAccessPointHasBeenSet; }
50 inline void SetSupportingAccessPoint(const Aws::String& value) { m_supportingAccessPointHasBeenSet = true; m_supportingAccessPoint = value; }
51 inline void SetSupportingAccessPoint(Aws::String&& value) { m_supportingAccessPointHasBeenSet = true; m_supportingAccessPoint = std::move(value); }
52 inline void SetSupportingAccessPoint(const char* value) { m_supportingAccessPointHasBeenSet = true; m_supportingAccessPoint.assign(value); }
55 inline ObjectLambdaConfiguration& WithSupportingAccessPoint(const char* value) { SetSupportingAccessPoint(value); return *this;}
57
59
62 inline bool GetCloudWatchMetricsEnabled() const{ return m_cloudWatchMetricsEnabled; }
63 inline bool CloudWatchMetricsEnabledHasBeenSet() const { return m_cloudWatchMetricsEnabledHasBeenSet; }
64 inline void SetCloudWatchMetricsEnabled(bool value) { m_cloudWatchMetricsEnabledHasBeenSet = true; m_cloudWatchMetricsEnabled = value; }
67
69
74 inline const Aws::Vector<ObjectLambdaAllowedFeature>& GetAllowedFeatures() const{ return m_allowedFeatures; }
75 inline bool AllowedFeaturesHasBeenSet() const { return m_allowedFeaturesHasBeenSet; }
76 inline void SetAllowedFeatures(const Aws::Vector<ObjectLambdaAllowedFeature>& value) { m_allowedFeaturesHasBeenSet = true; m_allowedFeatures = value; }
77 inline void SetAllowedFeatures(Aws::Vector<ObjectLambdaAllowedFeature>&& value) { m_allowedFeaturesHasBeenSet = true; m_allowedFeatures = std::move(value); }
80 inline ObjectLambdaConfiguration& AddAllowedFeatures(const ObjectLambdaAllowedFeature& value) { m_allowedFeaturesHasBeenSet = true; m_allowedFeatures.push_back(value); return *this; }
81 inline ObjectLambdaConfiguration& AddAllowedFeatures(ObjectLambdaAllowedFeature&& value) { m_allowedFeaturesHasBeenSet = true; m_allowedFeatures.push_back(std::move(value)); return *this; }
83
85
89 inline const Aws::Vector<ObjectLambdaTransformationConfiguration>& GetTransformationConfigurations() const{ return m_transformationConfigurations; }
90 inline bool TransformationConfigurationsHasBeenSet() const { return m_transformationConfigurationsHasBeenSet; }
91 inline void SetTransformationConfigurations(const Aws::Vector<ObjectLambdaTransformationConfiguration>& value) { m_transformationConfigurationsHasBeenSet = true; m_transformationConfigurations = value; }
92 inline void SetTransformationConfigurations(Aws::Vector<ObjectLambdaTransformationConfiguration>&& value) { m_transformationConfigurationsHasBeenSet = true; m_transformationConfigurations = std::move(value); }
95 inline ObjectLambdaConfiguration& AddTransformationConfigurations(const ObjectLambdaTransformationConfiguration& value) { m_transformationConfigurationsHasBeenSet = true; m_transformationConfigurations.push_back(value); return *this; }
96 inline ObjectLambdaConfiguration& AddTransformationConfigurations(ObjectLambdaTransformationConfiguration&& value) { m_transformationConfigurationsHasBeenSet = true; m_transformationConfigurations.push_back(std::move(value)); return *this; }
98 private:
99
100 Aws::String m_supportingAccessPoint;
101 bool m_supportingAccessPointHasBeenSet = false;
102
103 bool m_cloudWatchMetricsEnabled;
104 bool m_cloudWatchMetricsEnabledHasBeenSet = false;
105
107 bool m_allowedFeaturesHasBeenSet = false;
108
109 Aws::Vector<ObjectLambdaTransformationConfiguration> m_transformationConfigurations;
110 bool m_transformationConfigurationsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace S3Control
115} // namespace Aws
ObjectLambdaConfiguration & WithSupportingAccessPoint(Aws::String &&value)
AWS_S3CONTROL_API ObjectLambdaConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ObjectLambdaConfiguration & WithAllowedFeatures(const Aws::Vector< ObjectLambdaAllowedFeature > &value)
void SetAllowedFeatures(Aws::Vector< ObjectLambdaAllowedFeature > &&value)
void SetTransformationConfigurations(const Aws::Vector< ObjectLambdaTransformationConfiguration > &value)
void SetTransformationConfigurations(Aws::Vector< ObjectLambdaTransformationConfiguration > &&value)
ObjectLambdaConfiguration & WithTransformationConfigurations(const Aws::Vector< ObjectLambdaTransformationConfiguration > &value)
ObjectLambdaConfiguration & WithAllowedFeatures(Aws::Vector< ObjectLambdaAllowedFeature > &&value)
ObjectLambdaConfiguration & AddTransformationConfigurations(ObjectLambdaTransformationConfiguration &&value)
AWS_S3CONTROL_API ObjectLambdaConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::Vector< ObjectLambdaTransformationConfiguration > & GetTransformationConfigurations() const
const Aws::Vector< ObjectLambdaAllowedFeature > & GetAllowedFeatures() const
void SetAllowedFeatures(const Aws::Vector< ObjectLambdaAllowedFeature > &value)
ObjectLambdaConfiguration & AddTransformationConfigurations(const ObjectLambdaTransformationConfiguration &value)
ObjectLambdaConfiguration & AddAllowedFeatures(ObjectLambdaAllowedFeature &&value)
ObjectLambdaConfiguration & WithCloudWatchMetricsEnabled(bool value)
ObjectLambdaConfiguration & AddAllowedFeatures(const ObjectLambdaAllowedFeature &value)
ObjectLambdaConfiguration & WithTransformationConfigurations(Aws::Vector< ObjectLambdaTransformationConfiguration > &&value)
ObjectLambdaConfiguration & WithSupportingAccessPoint(const char *value)
ObjectLambdaConfiguration & WithSupportingAccessPoint(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector