AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AccessGrantsLocationConfiguration.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
34 {
35 public:
36 AWS_S3CONTROL_API AccessGrantsLocationConfiguration() = default;
39
40 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
59 inline const Aws::String& GetS3SubPrefix() const { return m_s3SubPrefix; }
60 inline bool S3SubPrefixHasBeenSet() const { return m_s3SubPrefixHasBeenSet; }
61 template<typename S3SubPrefixT = Aws::String>
62 void SetS3SubPrefix(S3SubPrefixT&& value) { m_s3SubPrefixHasBeenSet = true; m_s3SubPrefix = std::forward<S3SubPrefixT>(value); }
63 template<typename S3SubPrefixT = Aws::String>
64 AccessGrantsLocationConfiguration& WithS3SubPrefix(S3SubPrefixT&& value) { SetS3SubPrefix(std::forward<S3SubPrefixT>(value)); return *this;}
66 private:
67
68 Aws::String m_s3SubPrefix;
69 bool m_s3SubPrefixHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace S3Control
74} // namespace Aws
AccessGrantsLocationConfiguration & WithS3SubPrefix(S3SubPrefixT &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API AccessGrantsLocationConfiguration()=default
AWS_S3CONTROL_API AccessGrantsLocationConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API AccessGrantsLocationConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String