AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublicKey.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/PublicKeyConfig.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
37 {
38 public:
39 AWS_CLOUDFRONT_API PublicKey();
40 AWS_CLOUDFRONT_API PublicKey(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_CLOUDFRONT_API PublicKey& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44
45
47
50 inline const Aws::String& GetId() const{ return m_id; }
51 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
54 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
55 inline PublicKey& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline PublicKey& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline PublicKey& WithId(const char* value) { SetId(value); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
65 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
66 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
67 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
68 inline PublicKey& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
69 inline PublicKey& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
71
73
80 inline const PublicKeyConfig& GetPublicKeyConfig() const{ return m_publicKeyConfig; }
81 inline bool PublicKeyConfigHasBeenSet() const { return m_publicKeyConfigHasBeenSet; }
82 inline void SetPublicKeyConfig(const PublicKeyConfig& value) { m_publicKeyConfigHasBeenSet = true; m_publicKeyConfig = value; }
83 inline void SetPublicKeyConfig(PublicKeyConfig&& value) { m_publicKeyConfigHasBeenSet = true; m_publicKeyConfig = std::move(value); }
84 inline PublicKey& WithPublicKeyConfig(const PublicKeyConfig& value) { SetPublicKeyConfig(value); return *this;}
85 inline PublicKey& WithPublicKeyConfig(PublicKeyConfig&& value) { SetPublicKeyConfig(std::move(value)); return *this;}
87 private:
88
89 Aws::String m_id;
90 bool m_idHasBeenSet = false;
91
92 Aws::Utils::DateTime m_createdTime;
93 bool m_createdTimeHasBeenSet = false;
94
95 PublicKeyConfig m_publicKeyConfig;
96 bool m_publicKeyConfigHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace CloudFront
101} // namespace Aws
void SetPublicKeyConfig(PublicKeyConfig &&value)
Definition PublicKey.h:83
PublicKey & WithPublicKeyConfig(PublicKeyConfig &&value)
Definition PublicKey.h:85
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition PublicKey.h:67
void SetId(const Aws::String &value)
Definition PublicKey.h:52
PublicKey & WithId(Aws::String &&value)
Definition PublicKey.h:56
void SetPublicKeyConfig(const PublicKeyConfig &value)
Definition PublicKey.h:82
AWS_CLOUDFRONT_API PublicKey(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetId(Aws::String &&value)
Definition PublicKey.h:53
PublicKey & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition PublicKey.h:68
AWS_CLOUDFRONT_API PublicKey & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetId(const char *value)
Definition PublicKey.h:54
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition PublicKey.h:66
const PublicKeyConfig & GetPublicKeyConfig() const
Definition PublicKey.h:80
const Aws::String & GetId() const
Definition PublicKey.h:50
const Aws::Utils::DateTime & GetCreatedTime() const
Definition PublicKey.h:64
PublicKey & WithId(const char *value)
Definition PublicKey.h:57
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API PublicKey()
PublicKey & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition PublicKey.h:69
PublicKey & WithId(const Aws::String &value)
Definition PublicKey.h:55
PublicKey & WithPublicKeyConfig(const PublicKeyConfig &value)
Definition PublicKey.h:84
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String