AWS SDK for C++  1.9.71
AWS SDK for C++
ClientCertificateRevocationListStatus.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace EC2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const ClientCertificateRevocationListStatusCode& GetCode() const{ return m_code; }
48 
52  inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
53 
57  inline void SetCode(const ClientCertificateRevocationListStatusCode& value) { m_codeHasBeenSet = true; m_code = value; }
58 
62  inline void SetCode(ClientCertificateRevocationListStatusCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
63 
67  inline ClientCertificateRevocationListStatus& WithCode(const ClientCertificateRevocationListStatusCode& value) { SetCode(value); return *this;}
68 
72  inline ClientCertificateRevocationListStatus& WithCode(ClientCertificateRevocationListStatusCode&& value) { SetCode(std::move(value)); return *this;}
73 
74 
79  inline const Aws::String& GetMessage() const{ return m_message; }
80 
85  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
86 
91  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
92 
97  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
98 
103  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
104 
109  inline ClientCertificateRevocationListStatus& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
110 
115  inline ClientCertificateRevocationListStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
116 
121  inline ClientCertificateRevocationListStatus& WithMessage(const char* value) { SetMessage(value); return *this;}
122 
123  private:
124 
126  bool m_codeHasBeenSet;
127 
128  Aws::String m_message;
129  bool m_messageHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace EC2
134 } // namespace Aws
Aws::EC2::Model::ClientCertificateRevocationListStatus::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: ClientCertificateRevocationListStatus.h:85
Aws::EC2::Model::ClientCertificateRevocationListStatus::ClientCertificateRevocationListStatus
ClientCertificateRevocationListStatus()
Aws::EC2::Model::ClientCertificateRevocationListStatus::WithMessage
ClientCertificateRevocationListStatus & WithMessage(Aws::String &&value)
Definition: ClientCertificateRevocationListStatus.h:115
Aws::EC2::Model::ClientCertificateRevocationListStatus::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::ClientCertificateRevocationListStatus::WithMessage
ClientCertificateRevocationListStatus & WithMessage(const Aws::String &value)
Definition: ClientCertificateRevocationListStatus.h:109
Aws::EC2::Model::ClientCertificateRevocationListStatus::operator=
ClientCertificateRevocationListStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
AWSStreamFwd.h
Aws::EC2::Model::ClientCertificateRevocationListStatus::WithMessage
ClientCertificateRevocationListStatus & WithMessage(const char *value)
Definition: ClientCertificateRevocationListStatus.h:121
Aws::EC2::Model::ClientCertificateRevocationListStatus::GetMessage
const Aws::String & GetMessage() const
Definition: ClientCertificateRevocationListStatus.h:79
Aws::EC2::Model::ClientCertificateRevocationListStatus::SetMessage
void SetMessage(Aws::String &&value)
Definition: ClientCertificateRevocationListStatus.h:97
Aws::EC2::Model::ClientCertificateRevocationListStatus::ClientCertificateRevocationListStatus
ClientCertificateRevocationListStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ClientCertificateRevocationListStatus
Definition: ClientCertificateRevocationListStatus.h:34
Aws::EC2::Model::ClientCertificateRevocationListStatus::SetCode
void SetCode(ClientCertificateRevocationListStatusCode &&value)
Definition: ClientCertificateRevocationListStatus.h:62
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ClientCertificateRevocationListStatus::SetCode
void SetCode(const ClientCertificateRevocationListStatusCode &value)
Definition: ClientCertificateRevocationListStatus.h:57
Aws::EC2::Model::ClientCertificateRevocationListStatus::SetMessage
void SetMessage(const Aws::String &value)
Definition: ClientCertificateRevocationListStatus.h:91
Aws::EC2::Model::ClientCertificateRevocationListStatus::CodeHasBeenSet
bool CodeHasBeenSet() const
Definition: ClientCertificateRevocationListStatus.h:52
Aws::EC2::Model::ClientCertificateRevocationListStatus::WithCode
ClientCertificateRevocationListStatus & WithCode(const ClientCertificateRevocationListStatusCode &value)
Definition: ClientCertificateRevocationListStatus.h:67
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::ClientCertificateRevocationListStatusCode
ClientCertificateRevocationListStatusCode
Definition: ClientCertificateRevocationListStatusCode.h:17
Aws::EC2::Model::ClientCertificateRevocationListStatus::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::ClientCertificateRevocationListStatus::GetCode
const ClientCertificateRevocationListStatusCode & GetCode() const
Definition: ClientCertificateRevocationListStatus.h:47
AWSString.h
ClientCertificateRevocationListStatusCode.h
Aws::EC2::Model::ClientCertificateRevocationListStatus::WithCode
ClientCertificateRevocationListStatus & WithCode(ClientCertificateRevocationListStatusCode &&value)
Definition: ClientCertificateRevocationListStatus.h:72
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h
Aws::EC2::Model::ClientCertificateRevocationListStatus::SetMessage
void SetMessage(const char *value)
Definition: ClientCertificateRevocationListStatus.h:103