AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CAIdentifierT = Aws::String>
58 void SetCAIdentifier(CAIdentifierT&& value) { m_cAIdentifierHasBeenSet = true; m_cAIdentifier = std::forward<CAIdentifierT>(value); }
59 template<typename CAIdentifierT = Aws::String>
60 CertificateDetails& WithCAIdentifier(CAIdentifierT&& value) { SetCAIdentifier(std::forward<CAIdentifierT>(value)); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetValidTill() const { return m_validTill; }
68 inline bool ValidTillHasBeenSet() const { return m_validTillHasBeenSet; }
69 template<typename ValidTillT = Aws::Utils::DateTime>
70 void SetValidTill(ValidTillT&& value) { m_validTillHasBeenSet = true; m_validTill = std::forward<ValidTillT>(value); }
71 template<typename ValidTillT = Aws::Utils::DateTime>
72 CertificateDetails& WithValidTill(ValidTillT&& value) { SetValidTill(std::forward<ValidTillT>(value)); return *this;}
74 private:
75
76 Aws::String m_cAIdentifier;
77 bool m_cAIdentifierHasBeenSet = false;
78
79 Aws::Utils::DateTime m_validTill{};
80 bool m_validTillHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace RDS
85} // namespace Aws
const Aws::Utils::DateTime & GetValidTill() const
AWS_RDS_API CertificateDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CertificateDetails & WithCAIdentifier(CAIdentifierT &&value)
CertificateDetails & WithValidTill(ValidTillT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API CertificateDetails()=default
void SetCAIdentifier(CAIdentifierT &&value)
const Aws::String & GetCAIdentifier() const
void SetValidTill(ValidTillT &&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
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream