AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ObjectLambdaAccessPointAlias.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/ObjectLambdaAccessPointAliasStatus.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
35 {
36 public:
37 AWS_S3CONTROL_API ObjectLambdaAccessPointAlias();
38 AWS_S3CONTROL_API ObjectLambdaAccessPointAlias(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& GetValue() const{ return m_value; }
49 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
50 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
51 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
52 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
53 inline ObjectLambdaAccessPointAlias& WithValue(const Aws::String& value) { SetValue(value); return *this;}
54 inline ObjectLambdaAccessPointAlias& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
55 inline ObjectLambdaAccessPointAlias& WithValue(const char* value) { SetValue(value); return *this;}
57
59
66 inline const ObjectLambdaAccessPointAliasStatus& GetStatus() const{ return m_status; }
67 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
68 inline void SetStatus(const ObjectLambdaAccessPointAliasStatus& value) { m_statusHasBeenSet = true; m_status = value; }
69 inline void SetStatus(ObjectLambdaAccessPointAliasStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
71 inline ObjectLambdaAccessPointAlias& WithStatus(ObjectLambdaAccessPointAliasStatus&& value) { SetStatus(std::move(value)); return *this;}
73 private:
74
75 Aws::String m_value;
76 bool m_valueHasBeenSet = false;
77
79 bool m_statusHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace S3Control
84} // namespace Aws
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ObjectLambdaAccessPointAlias & WithValue(const Aws::String &value)
void SetStatus(ObjectLambdaAccessPointAliasStatus &&value)
ObjectLambdaAccessPointAlias & WithStatus(const ObjectLambdaAccessPointAliasStatus &value)
ObjectLambdaAccessPointAlias & WithValue(Aws::String &&value)
AWS_S3CONTROL_API ObjectLambdaAccessPointAlias & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const ObjectLambdaAccessPointAliasStatus & GetStatus() const
ObjectLambdaAccessPointAlias & WithStatus(ObjectLambdaAccessPointAliasStatus &&value)
AWS_S3CONTROL_API ObjectLambdaAccessPointAlias(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatus(const ObjectLambdaAccessPointAliasStatus &value)
ObjectLambdaAccessPointAlias & WithValue(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String