AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KeyGroup.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/cloudfront/model/KeyGroupConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFront
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_CLOUDFRONT_API KeyGroup();
39 AWS_CLOUDFRONT_API KeyGroup(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_CLOUDFRONT_API KeyGroup& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline KeyGroup& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline KeyGroup& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline KeyGroup& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
64 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
65 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
66 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
67 inline KeyGroup& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
68 inline KeyGroup& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
70
72
75 inline const KeyGroupConfig& GetKeyGroupConfig() const{ return m_keyGroupConfig; }
76 inline bool KeyGroupConfigHasBeenSet() const { return m_keyGroupConfigHasBeenSet; }
77 inline void SetKeyGroupConfig(const KeyGroupConfig& value) { m_keyGroupConfigHasBeenSet = true; m_keyGroupConfig = value; }
78 inline void SetKeyGroupConfig(KeyGroupConfig&& value) { m_keyGroupConfigHasBeenSet = true; m_keyGroupConfig = std::move(value); }
79 inline KeyGroup& WithKeyGroupConfig(const KeyGroupConfig& value) { SetKeyGroupConfig(value); return *this;}
80 inline KeyGroup& WithKeyGroupConfig(KeyGroupConfig&& value) { SetKeyGroupConfig(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_id;
85 bool m_idHasBeenSet = false;
86
87 Aws::Utils::DateTime m_lastModifiedTime;
88 bool m_lastModifiedTimeHasBeenSet = false;
89
90 KeyGroupConfig m_keyGroupConfig;
91 bool m_keyGroupConfigHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace CloudFront
96} // namespace Aws
void SetId(Aws::String &&value)
Definition KeyGroup.h:52
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition KeyGroup.h:65
void SetKeyGroupConfig(const KeyGroupConfig &value)
Definition KeyGroup.h:77
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition KeyGroup.h:63
bool LastModifiedTimeHasBeenSet() const
Definition KeyGroup.h:64
AWS_CLOUDFRONT_API KeyGroup()
void SetId(const char *value)
Definition KeyGroup.h:53
AWS_CLOUDFRONT_API KeyGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
KeyGroup & WithId(const Aws::String &value)
Definition KeyGroup.h:54
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetId() const
Definition KeyGroup.h:49
KeyGroup & WithKeyGroupConfig(KeyGroupConfig &&value)
Definition KeyGroup.h:80
void SetKeyGroupConfig(KeyGroupConfig &&value)
Definition KeyGroup.h:78
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition KeyGroup.h:66
KeyGroup & WithId(Aws::String &&value)
Definition KeyGroup.h:55
bool KeyGroupConfigHasBeenSet() const
Definition KeyGroup.h:76
void SetId(const Aws::String &value)
Definition KeyGroup.h:51
KeyGroup & WithId(const char *value)
Definition KeyGroup.h:56
const KeyGroupConfig & GetKeyGroupConfig() const
Definition KeyGroup.h:75
KeyGroup & WithKeyGroupConfig(const KeyGroupConfig &value)
Definition KeyGroup.h:79
KeyGroup & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition KeyGroup.h:68
AWS_CLOUDFRONT_API KeyGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
KeyGroup & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition KeyGroup.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String