AWS SDK for C++  1.9.14
AWS SDK for C++
OriginGroupMember.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Xml
16 {
17  class XmlNode;
18 } // namespace Xml
19 } // namespace Utils
20 namespace CloudFront
21 {
22 namespace Model
23 {
24 
31  {
32  public:
36 
37  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38 
39 
43  inline const Aws::String& GetOriginId() const{ return m_originId; }
44 
48  inline bool OriginIdHasBeenSet() const { return m_originIdHasBeenSet; }
49 
53  inline void SetOriginId(const Aws::String& value) { m_originIdHasBeenSet = true; m_originId = value; }
54 
58  inline void SetOriginId(Aws::String&& value) { m_originIdHasBeenSet = true; m_originId = std::move(value); }
59 
63  inline void SetOriginId(const char* value) { m_originIdHasBeenSet = true; m_originId.assign(value); }
64 
68  inline OriginGroupMember& WithOriginId(const Aws::String& value) { SetOriginId(value); return *this;}
69 
73  inline OriginGroupMember& WithOriginId(Aws::String&& value) { SetOriginId(std::move(value)); return *this;}
74 
78  inline OriginGroupMember& WithOriginId(const char* value) { SetOriginId(value); return *this;}
79 
80  private:
81 
82  Aws::String m_originId;
83  bool m_originIdHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace CloudFront
88 } // namespace Aws
Aws::CloudFront::Model::OriginGroupMember::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::OriginGroupMember::OriginIdHasBeenSet
bool OriginIdHasBeenSet() const
Definition: OriginGroupMember.h:48
Aws::CloudFront::Model::OriginGroupMember::operator=
OriginGroupMember & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::OriginGroupMember
Definition: OriginGroupMember.h:31
Aws::CloudFront::Model::OriginGroupMember::SetOriginId
void SetOriginId(const Aws::String &value)
Definition: OriginGroupMember.h:53
Aws::CloudFront::Model::OriginGroupMember::OriginGroupMember
OriginGroupMember(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::OriginGroupMember::WithOriginId
OriginGroupMember & WithOriginId(const Aws::String &value)
Definition: OriginGroupMember.h:68
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::OriginGroupMember::GetOriginId
const Aws::String & GetOriginId() const
Definition: OriginGroupMember.h:43
Aws::CloudFront::Model::OriginGroupMember::WithOriginId
OriginGroupMember & WithOriginId(const char *value)
Definition: OriginGroupMember.h:78
Aws::CloudFront::Model::OriginGroupMember::OriginGroupMember
OriginGroupMember()
AWSString.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::OriginGroupMember::SetOriginId
void SetOriginId(const char *value)
Definition: OriginGroupMember.h:63
Aws::CloudFront::Model::OriginGroupMember::SetOriginId
void SetOriginId(Aws::String &&value)
Definition: OriginGroupMember.h:58
Aws::CloudFront::Model::OriginGroupMember::WithOriginId
OriginGroupMember & WithOriginId(Aws::String &&value)
Definition: OriginGroupMember.h:73