AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublicKeyConfig.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
35 {
36 public:
37 AWS_CLOUDFRONT_API PublicKeyConfig();
38 AWS_CLOUDFRONT_API PublicKeyConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_CLOUDFRONT_API PublicKeyConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
49 inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
50 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
51 inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
52 inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
53 inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
54 inline PublicKeyConfig& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
55 inline PublicKeyConfig& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
56 inline PublicKeyConfig& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
58
60
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline PublicKeyConfig& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline PublicKeyConfig& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline PublicKeyConfig& WithName(const char* value) { SetName(value); return *this;}
72
74
81 inline const Aws::String& GetEncodedKey() const{ return m_encodedKey; }
82 inline bool EncodedKeyHasBeenSet() const { return m_encodedKeyHasBeenSet; }
83 inline void SetEncodedKey(const Aws::String& value) { m_encodedKeyHasBeenSet = true; m_encodedKey = value; }
84 inline void SetEncodedKey(Aws::String&& value) { m_encodedKeyHasBeenSet = true; m_encodedKey = std::move(value); }
85 inline void SetEncodedKey(const char* value) { m_encodedKeyHasBeenSet = true; m_encodedKey.assign(value); }
86 inline PublicKeyConfig& WithEncodedKey(const Aws::String& value) { SetEncodedKey(value); return *this;}
87 inline PublicKeyConfig& WithEncodedKey(Aws::String&& value) { SetEncodedKey(std::move(value)); return *this;}
88 inline PublicKeyConfig& WithEncodedKey(const char* value) { SetEncodedKey(value); return *this;}
90
92
96 inline const Aws::String& GetComment() const{ return m_comment; }
97 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
98 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
99 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
100 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
101 inline PublicKeyConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;}
102 inline PublicKeyConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
103 inline PublicKeyConfig& WithComment(const char* value) { SetComment(value); return *this;}
105 private:
106
107 Aws::String m_callerReference;
108 bool m_callerReferenceHasBeenSet = false;
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
113 Aws::String m_encodedKey;
114 bool m_encodedKeyHasBeenSet = false;
115
116 Aws::String m_comment;
117 bool m_commentHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace CloudFront
122} // namespace Aws
PublicKeyConfig & WithComment(const char *value)
AWS_CLOUDFRONT_API PublicKeyConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
PublicKeyConfig & WithName(const Aws::String &value)
const Aws::String & GetCallerReference() const
void SetEncodedKey(const Aws::String &value)
PublicKeyConfig & WithName(Aws::String &&value)
AWS_CLOUDFRONT_API PublicKeyConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCallerReference(Aws::String &&value)
void SetEncodedKey(Aws::String &&value)
PublicKeyConfig & WithName(const char *value)
const Aws::String & GetEncodedKey() const
PublicKeyConfig & WithEncodedKey(Aws::String &&value)
PublicKeyConfig & WithCallerReference(const Aws::String &value)
const Aws::String & GetComment() const
PublicKeyConfig & WithEncodedKey(const char *value)
PublicKeyConfig & WithCallerReference(Aws::String &&value)
void SetName(const Aws::String &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetName() const
PublicKeyConfig & WithCallerReference(const char *value)
void SetComment(const Aws::String &value)
void SetCallerReference(const Aws::String &value)
void SetCallerReference(const char *value)
PublicKeyConfig & WithComment(const Aws::String &value)
PublicKeyConfig & WithEncodedKey(const Aws::String &value)
PublicKeyConfig & WithComment(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String