AWS SDK for C++  1.9.20
AWS SDK for C++
KeyGroupSummary.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 KeyGroup& GetKeyGroup() const{ return m_keyGroup; }
44 
48  inline bool KeyGroupHasBeenSet() const { return m_keyGroupHasBeenSet; }
49 
53  inline void SetKeyGroup(const KeyGroup& value) { m_keyGroupHasBeenSet = true; m_keyGroup = value; }
54 
58  inline void SetKeyGroup(KeyGroup&& value) { m_keyGroupHasBeenSet = true; m_keyGroup = std::move(value); }
59 
63  inline KeyGroupSummary& WithKeyGroup(const KeyGroup& value) { SetKeyGroup(value); return *this;}
64 
68  inline KeyGroupSummary& WithKeyGroup(KeyGroup&& value) { SetKeyGroup(std::move(value)); return *this;}
69 
70  private:
71 
72  KeyGroup m_keyGroup;
73  bool m_keyGroupHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace CloudFront
78 } // namespace Aws
Aws::CloudFront::Model::KeyGroupSummary::SetKeyGroup
void SetKeyGroup(KeyGroup &&value)
Definition: KeyGroupSummary.h:58
Aws::CloudFront::Model::KeyGroup
Definition: KeyGroup.h:36
Aws::CloudFront::Model::KeyGroupSummary::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::KeyGroupSummary::KeyGroupSummary
KeyGroupSummary()
Aws::CloudFront::Model::KeyGroupSummary::operator=
KeyGroupSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::KeyGroupSummary::GetKeyGroup
const KeyGroup & GetKeyGroup() const
Definition: KeyGroupSummary.h:43
Aws::CloudFront::Model::KeyGroupSummary
Definition: KeyGroupSummary.h:31
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::KeyGroupSummary::WithKeyGroup
KeyGroupSummary & WithKeyGroup(const KeyGroup &value)
Definition: KeyGroupSummary.h:63
KeyGroup.h
Aws::CloudFront::Model::KeyGroupSummary::SetKeyGroup
void SetKeyGroup(const KeyGroup &value)
Definition: KeyGroupSummary.h:53
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::KeyGroupSummary::KeyGroupSummary
KeyGroupSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudFront_EXPORTS.h
Aws::CloudFront::Model::KeyGroupSummary::KeyGroupHasBeenSet
bool KeyGroupHasBeenSet() const
Definition: KeyGroupSummary.h:48
Aws::CloudFront::Model::KeyGroupSummary::WithKeyGroup
KeyGroupSummary & WithKeyGroup(KeyGroup &&value)
Definition: KeyGroupSummary.h:68
Aws
Definition: AccessManagementClient.h:15