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/docdb/DocDB_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 DocDB
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_DOCDB_API CertificateDetails();
42 AWS_DOCDB_API CertificateDetails(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
54 inline const Aws::String& GetCAIdentifier() const{ return m_cAIdentifier; }
55 inline bool CAIdentifierHasBeenSet() const { return m_cAIdentifierHasBeenSet; }
56 inline void SetCAIdentifier(const Aws::String& value) { m_cAIdentifierHasBeenSet = true; m_cAIdentifier = value; }
57 inline void SetCAIdentifier(Aws::String&& value) { m_cAIdentifierHasBeenSet = true; m_cAIdentifier = std::move(value); }
58 inline void SetCAIdentifier(const char* value) { m_cAIdentifierHasBeenSet = true; m_cAIdentifier.assign(value); }
59 inline CertificateDetails& WithCAIdentifier(const Aws::String& value) { SetCAIdentifier(value); return *this;}
60 inline CertificateDetails& WithCAIdentifier(Aws::String&& value) { SetCAIdentifier(std::move(value)); return *this;}
61 inline CertificateDetails& WithCAIdentifier(const char* value) { SetCAIdentifier(value); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetValidTill() const{ return m_validTill; }
69 inline bool ValidTillHasBeenSet() const { return m_validTillHasBeenSet; }
70 inline void SetValidTill(const Aws::Utils::DateTime& value) { m_validTillHasBeenSet = true; m_validTill = value; }
71 inline void SetValidTill(Aws::Utils::DateTime&& value) { m_validTillHasBeenSet = true; m_validTill = std::move(value); }
72 inline CertificateDetails& WithValidTill(const Aws::Utils::DateTime& value) { SetValidTill(value); return *this;}
73 inline CertificateDetails& WithValidTill(Aws::Utils::DateTime&& value) { SetValidTill(std::move(value)); return *this;}
75 private:
76
77 Aws::String m_cAIdentifier;
78 bool m_cAIdentifierHasBeenSet = false;
79
80 Aws::Utils::DateTime m_validTill;
81 bool m_validTillHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace DocDB
86} // namespace Aws
void SetCAIdentifier(Aws::String &&value)
CertificateDetails & WithCAIdentifier(const Aws::String &value)
AWS_DOCDB_API CertificateDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCAIdentifier() const
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CertificateDetails & WithValidTill(const Aws::Utils::DateTime &value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_DOCDB_API CertificateDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
CertificateDetails & WithValidTill(Aws::Utils::DateTime &&value)
void SetValidTill(const Aws::Utils::DateTime &value)
void SetCAIdentifier(const Aws::String &value)
CertificateDetails & WithCAIdentifier(Aws::String &&value)
const Aws::Utils::DateTime & GetValidTill() const
CertificateDetails & WithCAIdentifier(const char *value)
void SetValidTill(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream