AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublicKeySummary.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CLOUDFRONT_API PublicKeySummary();
35 AWS_CLOUDFRONT_API PublicKeySummary(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_CLOUDFRONT_API PublicKeySummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline PublicKeySummary& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline PublicKeySummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline PublicKeySummary& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline PublicKeySummary& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline PublicKeySummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline PublicKeySummary& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
74 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
75 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
76 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
77 inline PublicKeySummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
78 inline PublicKeySummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetEncodedKey() const{ return m_encodedKey; }
86 inline bool EncodedKeyHasBeenSet() const { return m_encodedKeyHasBeenSet; }
87 inline void SetEncodedKey(const Aws::String& value) { m_encodedKeyHasBeenSet = true; m_encodedKey = value; }
88 inline void SetEncodedKey(Aws::String&& value) { m_encodedKeyHasBeenSet = true; m_encodedKey = std::move(value); }
89 inline void SetEncodedKey(const char* value) { m_encodedKeyHasBeenSet = true; m_encodedKey.assign(value); }
90 inline PublicKeySummary& WithEncodedKey(const Aws::String& value) { SetEncodedKey(value); return *this;}
91 inline PublicKeySummary& WithEncodedKey(Aws::String&& value) { SetEncodedKey(std::move(value)); return *this;}
92 inline PublicKeySummary& WithEncodedKey(const char* value) { SetEncodedKey(value); return *this;}
94
96
100 inline const Aws::String& GetComment() const{ return m_comment; }
101 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
102 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
103 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
104 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
105 inline PublicKeySummary& WithComment(const Aws::String& value) { SetComment(value); return *this;}
106 inline PublicKeySummary& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
107 inline PublicKeySummary& WithComment(const char* value) { SetComment(value); return *this;}
109 private:
110
111 Aws::String m_id;
112 bool m_idHasBeenSet = false;
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::Utils::DateTime m_createdTime;
118 bool m_createdTimeHasBeenSet = false;
119
120 Aws::String m_encodedKey;
121 bool m_encodedKeyHasBeenSet = false;
122
123 Aws::String m_comment;
124 bool m_commentHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace CloudFront
129} // namespace Aws
PublicKeySummary & WithId(const char *value)
void SetName(const Aws::String &value)
void SetId(const Aws::String &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
AWS_CLOUDFRONT_API PublicKeySummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::Utils::DateTime & GetCreatedTime() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetEncodedKey(const Aws::String &value)
PublicKeySummary & WithName(const Aws::String &value)
PublicKeySummary & WithComment(const Aws::String &value)
PublicKeySummary & WithName(Aws::String &&value)
const Aws::String & GetEncodedKey() const
PublicKeySummary & WithEncodedKey(const Aws::String &value)
PublicKeySummary & WithEncodedKey(const char *value)
PublicKeySummary & WithId(Aws::String &&value)
void SetComment(const Aws::String &value)
PublicKeySummary & WithName(const char *value)
AWS_CLOUDFRONT_API PublicKeySummary(const Aws::Utils::Xml::XmlNode &xmlNode)
PublicKeySummary & WithCreatedTime(Aws::Utils::DateTime &&value)
PublicKeySummary & WithEncodedKey(Aws::String &&value)
PublicKeySummary & WithId(const Aws::String &value)
PublicKeySummary & WithComment(const char *value)
PublicKeySummary & WithComment(Aws::String &&value)
PublicKeySummary & WithCreatedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String