AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ObjectLambdaAccessPoint.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/model/ObjectLambdaAccessPointAlias.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Control
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_S3CONTROL_API ObjectLambdaAccessPoint();
36 AWS_S3CONTROL_API ObjectLambdaAccessPoint(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline ObjectLambdaAccessPoint& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline ObjectLambdaAccessPoint& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline ObjectLambdaAccessPoint& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetObjectLambdaAccessPointArn() const{ return m_objectLambdaAccessPointArn; }
61 inline bool ObjectLambdaAccessPointArnHasBeenSet() const { return m_objectLambdaAccessPointArnHasBeenSet; }
62 inline void SetObjectLambdaAccessPointArn(const Aws::String& value) { m_objectLambdaAccessPointArnHasBeenSet = true; m_objectLambdaAccessPointArn = value; }
63 inline void SetObjectLambdaAccessPointArn(Aws::String&& value) { m_objectLambdaAccessPointArnHasBeenSet = true; m_objectLambdaAccessPointArn = std::move(value); }
64 inline void SetObjectLambdaAccessPointArn(const char* value) { m_objectLambdaAccessPointArnHasBeenSet = true; m_objectLambdaAccessPointArn.assign(value); }
69
71
74 inline const ObjectLambdaAccessPointAlias& GetAlias() const{ return m_alias; }
75 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
76 inline void SetAlias(const ObjectLambdaAccessPointAlias& value) { m_aliasHasBeenSet = true; m_alias = value; }
77 inline void SetAlias(ObjectLambdaAccessPointAlias&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
78 inline ObjectLambdaAccessPoint& WithAlias(const ObjectLambdaAccessPointAlias& value) { SetAlias(value); return *this;}
79 inline ObjectLambdaAccessPoint& WithAlias(ObjectLambdaAccessPointAlias&& value) { SetAlias(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::String m_objectLambdaAccessPointArn;
87 bool m_objectLambdaAccessPointArnHasBeenSet = false;
88
90 bool m_aliasHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace S3Control
95} // namespace Aws
AWS_S3CONTROL_API ObjectLambdaAccessPoint(const Aws::Utils::Xml::XmlNode &xmlNode)
ObjectLambdaAccessPoint & WithObjectLambdaAccessPointArn(const Aws::String &value)
void SetAlias(const ObjectLambdaAccessPointAlias &value)
ObjectLambdaAccessPoint & WithName(Aws::String &&value)
ObjectLambdaAccessPoint & WithAlias(const ObjectLambdaAccessPointAlias &value)
ObjectLambdaAccessPoint & WithObjectLambdaAccessPointArn(Aws::String &&value)
ObjectLambdaAccessPoint & WithAlias(ObjectLambdaAccessPointAlias &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetObjectLambdaAccessPointArn(const Aws::String &value)
ObjectLambdaAccessPoint & WithObjectLambdaAccessPointArn(const char *value)
ObjectLambdaAccessPoint & WithName(const Aws::String &value)
ObjectLambdaAccessPoint & WithName(const char *value)
AWS_S3CONTROL_API ObjectLambdaAccessPoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const ObjectLambdaAccessPointAlias & GetAlias() const
void SetAlias(ObjectLambdaAccessPointAlias &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String