AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Origin.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
33 {
34 public:
35 AWS_CLOUDFRONT_API S3Origin();
36 AWS_CLOUDFRONT_API S3Origin(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFRONT_API S3Origin& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const Aws::String& GetDomainName() const{ return m_domainName; }
47 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
48 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
49 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
50 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
51 inline S3Origin& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
52 inline S3Origin& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
53 inline S3Origin& WithDomainName(const char* value) { SetDomainName(value); return *this;}
55
57
72 inline const Aws::String& GetOriginAccessIdentity() const{ return m_originAccessIdentity; }
73 inline bool OriginAccessIdentityHasBeenSet() const { return m_originAccessIdentityHasBeenSet; }
74 inline void SetOriginAccessIdentity(const Aws::String& value) { m_originAccessIdentityHasBeenSet = true; m_originAccessIdentity = value; }
75 inline void SetOriginAccessIdentity(Aws::String&& value) { m_originAccessIdentityHasBeenSet = true; m_originAccessIdentity = std::move(value); }
76 inline void SetOriginAccessIdentity(const char* value) { m_originAccessIdentityHasBeenSet = true; m_originAccessIdentity.assign(value); }
77 inline S3Origin& WithOriginAccessIdentity(const Aws::String& value) { SetOriginAccessIdentity(value); return *this;}
78 inline S3Origin& WithOriginAccessIdentity(Aws::String&& value) { SetOriginAccessIdentity(std::move(value)); return *this;}
79 inline S3Origin& WithOriginAccessIdentity(const char* value) { SetOriginAccessIdentity(value); return *this;}
81 private:
82
83 Aws::String m_domainName;
84 bool m_domainNameHasBeenSet = false;
85
86 Aws::String m_originAccessIdentity;
87 bool m_originAccessIdentityHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace CloudFront
92} // namespace Aws
AWS_CLOUDFRONT_API S3Origin()
void SetDomainName(const char *value)
Definition S3Origin.h:50
S3Origin & WithOriginAccessIdentity(const char *value)
Definition S3Origin.h:79
bool OriginAccessIdentityHasBeenSet() const
Definition S3Origin.h:73
void SetOriginAccessIdentity(const Aws::String &value)
Definition S3Origin.h:74
AWS_CLOUDFRONT_API S3Origin & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
S3Origin & WithOriginAccessIdentity(Aws::String &&value)
Definition S3Origin.h:78
S3Origin & WithOriginAccessIdentity(const Aws::String &value)
Definition S3Origin.h:77
void SetOriginAccessIdentity(const char *value)
Definition S3Origin.h:76
S3Origin & WithDomainName(Aws::String &&value)
Definition S3Origin.h:52
const Aws::String & GetDomainName() const
Definition S3Origin.h:46
void SetDomainName(const Aws::String &value)
Definition S3Origin.h:48
void SetDomainName(Aws::String &&value)
Definition S3Origin.h:49
AWS_CLOUDFRONT_API S3Origin(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetOriginAccessIdentity() const
Definition S3Origin.h:72
S3Origin & WithDomainName(const char *value)
Definition S3Origin.h:53
S3Origin & WithDomainName(const Aws::String &value)
Definition S3Origin.h:51
void SetOriginAccessIdentity(Aws::String &&value)
Definition S3Origin.h:75
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String