AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KeyGroupSummary.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/KeyGroup.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
31 {
32 public:
33 AWS_CLOUDFRONT_API KeyGroupSummary();
34 AWS_CLOUDFRONT_API KeyGroupSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_CLOUDFRONT_API KeyGroupSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38
39
41
44 inline const KeyGroup& GetKeyGroup() const{ return m_keyGroup; }
45 inline bool KeyGroupHasBeenSet() const { return m_keyGroupHasBeenSet; }
46 inline void SetKeyGroup(const KeyGroup& value) { m_keyGroupHasBeenSet = true; m_keyGroup = value; }
47 inline void SetKeyGroup(KeyGroup&& value) { m_keyGroupHasBeenSet = true; m_keyGroup = std::move(value); }
48 inline KeyGroupSummary& WithKeyGroup(const KeyGroup& value) { SetKeyGroup(value); return *this;}
49 inline KeyGroupSummary& WithKeyGroup(KeyGroup&& value) { SetKeyGroup(std::move(value)); return *this;}
51 private:
52
53 KeyGroup m_keyGroup;
54 bool m_keyGroupHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace CloudFront
59} // namespace Aws
AWS_CLOUDFRONT_API KeyGroupSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
KeyGroupSummary & WithKeyGroup(KeyGroup &&value)
AWS_CLOUDFRONT_API KeyGroupSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetKeyGroup(const KeyGroup &value)
KeyGroupSummary & WithKeyGroup(const KeyGroup &value)