AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServerCertificateMetadata.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace IAM
23{
24namespace Model
25{
26
36 {
37 public:
41
42 AWS_IAM_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_IAM_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
52 inline const Aws::String& GetPath() const{ return m_path; }
53 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
54 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
55 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
56 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
57 inline ServerCertificateMetadata& WithPath(const Aws::String& value) { SetPath(value); return *this;}
58 inline ServerCertificateMetadata& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
59 inline ServerCertificateMetadata& WithPath(const char* value) { SetPath(value); return *this;}
61
63
66 inline const Aws::String& GetServerCertificateName() const{ return m_serverCertificateName; }
67 inline bool ServerCertificateNameHasBeenSet() const { return m_serverCertificateNameHasBeenSet; }
68 inline void SetServerCertificateName(const Aws::String& value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName = value; }
69 inline void SetServerCertificateName(Aws::String&& value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName = std::move(value); }
70 inline void SetServerCertificateName(const char* value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName.assign(value); }
73 inline ServerCertificateMetadata& WithServerCertificateName(const char* value) { SetServerCertificateName(value); return *this;}
75
77
83 inline const Aws::String& GetServerCertificateId() const{ return m_serverCertificateId; }
84 inline bool ServerCertificateIdHasBeenSet() const { return m_serverCertificateIdHasBeenSet; }
85 inline void SetServerCertificateId(const Aws::String& value) { m_serverCertificateIdHasBeenSet = true; m_serverCertificateId = value; }
86 inline void SetServerCertificateId(Aws::String&& value) { m_serverCertificateIdHasBeenSet = true; m_serverCertificateId = std::move(value); }
87 inline void SetServerCertificateId(const char* value) { m_serverCertificateIdHasBeenSet = true; m_serverCertificateId.assign(value); }
89 inline ServerCertificateMetadata& WithServerCertificateId(Aws::String&& value) { SetServerCertificateId(std::move(value)); return *this;}
90 inline ServerCertificateMetadata& WithServerCertificateId(const char* value) { SetServerCertificateId(value); return *this;}
92
94
100 inline const Aws::String& GetArn() const{ return m_arn; }
101 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
102 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
103 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
104 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
105 inline ServerCertificateMetadata& WithArn(const Aws::String& value) { SetArn(value); return *this;}
106 inline ServerCertificateMetadata& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
107 inline ServerCertificateMetadata& WithArn(const char* value) { SetArn(value); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetUploadDate() const{ return m_uploadDate; }
115 inline bool UploadDateHasBeenSet() const { return m_uploadDateHasBeenSet; }
116 inline void SetUploadDate(const Aws::Utils::DateTime& value) { m_uploadDateHasBeenSet = true; m_uploadDate = value; }
117 inline void SetUploadDate(Aws::Utils::DateTime&& value) { m_uploadDateHasBeenSet = true; m_uploadDate = std::move(value); }
118 inline ServerCertificateMetadata& WithUploadDate(const Aws::Utils::DateTime& value) { SetUploadDate(value); return *this;}
119 inline ServerCertificateMetadata& WithUploadDate(Aws::Utils::DateTime&& value) { SetUploadDate(std::move(value)); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetExpiration() const{ return m_expiration; }
127 inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; }
128 inline void SetExpiration(const Aws::Utils::DateTime& value) { m_expirationHasBeenSet = true; m_expiration = value; }
129 inline void SetExpiration(Aws::Utils::DateTime&& value) { m_expirationHasBeenSet = true; m_expiration = std::move(value); }
130 inline ServerCertificateMetadata& WithExpiration(const Aws::Utils::DateTime& value) { SetExpiration(value); return *this;}
131 inline ServerCertificateMetadata& WithExpiration(Aws::Utils::DateTime&& value) { SetExpiration(std::move(value)); return *this;}
133 private:
134
135 Aws::String m_path;
136 bool m_pathHasBeenSet = false;
137
138 Aws::String m_serverCertificateName;
139 bool m_serverCertificateNameHasBeenSet = false;
140
141 Aws::String m_serverCertificateId;
142 bool m_serverCertificateIdHasBeenSet = false;
143
144 Aws::String m_arn;
145 bool m_arnHasBeenSet = false;
146
147 Aws::Utils::DateTime m_uploadDate;
148 bool m_uploadDateHasBeenSet = false;
149
150 Aws::Utils::DateTime m_expiration;
151 bool m_expirationHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace IAM
156} // namespace Aws
void SetServerCertificateId(const Aws::String &value)
ServerCertificateMetadata & WithServerCertificateId(const char *value)
const Aws::Utils::DateTime & GetExpiration() const
void SetUploadDate(const Aws::Utils::DateTime &value)
void SetServerCertificateName(const Aws::String &value)
ServerCertificateMetadata & WithArn(const Aws::String &value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ServerCertificateMetadata & WithUploadDate(const Aws::Utils::DateTime &value)
ServerCertificateMetadata & WithExpiration(const Aws::Utils::DateTime &value)
ServerCertificateMetadata & WithPath(const Aws::String &value)
AWS_IAM_API ServerCertificateMetadata & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_IAM_API ServerCertificateMetadata(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetUploadDate() const
ServerCertificateMetadata & WithServerCertificateName(const Aws::String &value)
ServerCertificateMetadata & WithPath(Aws::String &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ServerCertificateMetadata & WithServerCertificateName(Aws::String &&value)
ServerCertificateMetadata & WithArn(Aws::String &&value)
ServerCertificateMetadata & WithServerCertificateId(const Aws::String &value)
void SetExpiration(const Aws::Utils::DateTime &value)
ServerCertificateMetadata & WithPath(const char *value)
ServerCertificateMetadata & WithServerCertificateId(Aws::String &&value)
ServerCertificateMetadata & WithExpiration(Aws::Utils::DateTime &&value)
ServerCertificateMetadata & WithUploadDate(Aws::Utils::DateTime &&value)
void SetExpiration(Aws::Utils::DateTime &&value)
ServerCertificateMetadata & WithServerCertificateName(const char *value)
void SetUploadDate(Aws::Utils::DateTime &&value)
ServerCertificateMetadata & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream