AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CertificateDetails.h
1
6#pragma once
7#include <aws/rds/RDS_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 RDS
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_RDS_API CertificateDetails();
43 AWS_RDS_API CertificateDetails(const Aws::Utils::Xml::XmlNode& xmlNode);
45
46 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
48
49
51
55 inline const Aws::String& GetCAIdentifier() const{ return m_cAIdentifier; }
56 inline bool CAIdentifierHasBeenSet() const { return m_cAIdentifierHasBeenSet; }
57 inline void SetCAIdentifier(const Aws::String& value) { m_cAIdentifierHasBeenSet = true; m_cAIdentifier = value; }
58 inline void SetCAIdentifier(Aws::String&& value) { m_cAIdentifierHasBeenSet = true; m_cAIdentifier = std::move(value); }
59 inline void SetCAIdentifier(const char* value) { m_cAIdentifierHasBeenSet = true; m_cAIdentifier.assign(value); }
60 inline CertificateDetails& WithCAIdentifier(const Aws::String& value) { SetCAIdentifier(value); return *this;}
61 inline CertificateDetails& WithCAIdentifier(Aws::String&& value) { SetCAIdentifier(std::move(value)); return *this;}
62 inline CertificateDetails& WithCAIdentifier(const char* value) { SetCAIdentifier(value); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetValidTill() const{ return m_validTill; }
70 inline bool ValidTillHasBeenSet() const { return m_validTillHasBeenSet; }
71 inline void SetValidTill(const Aws::Utils::DateTime& value) { m_validTillHasBeenSet = true; m_validTill = value; }
72 inline void SetValidTill(Aws::Utils::DateTime&& value) { m_validTillHasBeenSet = true; m_validTill = std::move(value); }
73 inline CertificateDetails& WithValidTill(const Aws::Utils::DateTime& value) { SetValidTill(value); return *this;}
74 inline CertificateDetails& WithValidTill(Aws::Utils::DateTime&& value) { SetValidTill(std::move(value)); return *this;}
76 private:
77
78 Aws::String m_cAIdentifier;
79 bool m_cAIdentifierHasBeenSet = false;
80
81 Aws::Utils::DateTime m_validTill;
82 bool m_validTillHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace RDS
87} // namespace Aws
void SetValidTill(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetValidTill() const
AWS_RDS_API CertificateDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCAIdentifier(const char *value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCAIdentifier(Aws::String &&value)
CertificateDetails & WithCAIdentifier(Aws::String &&value)
void SetValidTill(Aws::Utils::DateTime &&value)
CertificateDetails & WithValidTill(const Aws::Utils::DateTime &value)
void SetCAIdentifier(const Aws::String &value)
const Aws::String & GetCAIdentifier() const
CertificateDetails & WithValidTill(Aws::Utils::DateTime &&value)
CertificateDetails & WithCAIdentifier(const char *value)
AWS_RDS_API CertificateDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CertificateDetails & WithCAIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream