AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3OriginConfig.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_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 CloudFront
21{
22namespace Model
23{
24
34 {
35 public:
36 AWS_CLOUDFRONT_API S3OriginConfig();
37 AWS_CLOUDFRONT_API S3OriginConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFRONT_API S3OriginConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
69 inline const Aws::String& GetOriginAccessIdentity() const{ return m_originAccessIdentity; }
70 inline bool OriginAccessIdentityHasBeenSet() const { return m_originAccessIdentityHasBeenSet; }
71 inline void SetOriginAccessIdentity(const Aws::String& value) { m_originAccessIdentityHasBeenSet = true; m_originAccessIdentity = value; }
72 inline void SetOriginAccessIdentity(Aws::String&& value) { m_originAccessIdentityHasBeenSet = true; m_originAccessIdentity = std::move(value); }
73 inline void SetOriginAccessIdentity(const char* value) { m_originAccessIdentityHasBeenSet = true; m_originAccessIdentity.assign(value); }
74 inline S3OriginConfig& WithOriginAccessIdentity(const Aws::String& value) { SetOriginAccessIdentity(value); return *this;}
75 inline S3OriginConfig& WithOriginAccessIdentity(Aws::String&& value) { SetOriginAccessIdentity(std::move(value)); return *this;}
76 inline S3OriginConfig& WithOriginAccessIdentity(const char* value) { SetOriginAccessIdentity(value); return *this;}
78 private:
79
80 Aws::String m_originAccessIdentity;
81 bool m_originAccessIdentityHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace CloudFront
86} // namespace Aws
void SetOriginAccessIdentity(const char *value)
const Aws::String & GetOriginAccessIdentity() const
AWS_CLOUDFRONT_API S3OriginConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOriginAccessIdentity(Aws::String &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetOriginAccessIdentity(const Aws::String &value)
S3OriginConfig & WithOriginAccessIdentity(const char *value)
AWS_CLOUDFRONT_API S3OriginConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
S3OriginConfig & WithOriginAccessIdentity(Aws::String &&value)
S3OriginConfig & WithOriginAccessIdentity(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String