AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AccessGrantsLocationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3control/S3Control_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3Control {
19namespace Model {
20
30 public:
31 AWS_S3CONTROL_API AccessGrantsLocationConfiguration() = default;
34
35 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
53 inline const Aws::String& GetS3SubPrefix() const { return m_s3SubPrefix; }
54 inline bool S3SubPrefixHasBeenSet() const { return m_s3SubPrefixHasBeenSet; }
55 template <typename S3SubPrefixT = Aws::String>
56 void SetS3SubPrefix(S3SubPrefixT&& value) {
57 m_s3SubPrefixHasBeenSet = true;
58 m_s3SubPrefix = std::forward<S3SubPrefixT>(value);
59 }
60 template <typename S3SubPrefixT = Aws::String>
62 SetS3SubPrefix(std::forward<S3SubPrefixT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_s3SubPrefix;
68 bool m_s3SubPrefixHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace S3Control
73} // 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