AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EstablishedMultiRegionAccessPointPolicy.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Control
21{
22namespace Model
23{
24
36 {
37 public:
41
42 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
49 inline const Aws::String& GetPolicy() const{ return m_policy; }
50 inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; }
51 inline void SetPolicy(const Aws::String& value) { m_policyHasBeenSet = true; m_policy = value; }
52 inline void SetPolicy(Aws::String&& value) { m_policyHasBeenSet = true; m_policy = std::move(value); }
53 inline void SetPolicy(const char* value) { m_policyHasBeenSet = true; m_policy.assign(value); }
54 inline EstablishedMultiRegionAccessPointPolicy& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
55 inline EstablishedMultiRegionAccessPointPolicy& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
56 inline EstablishedMultiRegionAccessPointPolicy& WithPolicy(const char* value) { SetPolicy(value); return *this;}
58 private:
59
60 Aws::String m_policy;
61 bool m_policyHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace S3Control
66} // namespace Aws
EstablishedMultiRegionAccessPointPolicy & WithPolicy(const char *value)
EstablishedMultiRegionAccessPointPolicy & WithPolicy(Aws::String &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API EstablishedMultiRegionAccessPointPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
EstablishedMultiRegionAccessPointPolicy & WithPolicy(const Aws::String &value)
AWS_S3CONTROL_API EstablishedMultiRegionAccessPointPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String