AWS SDK for C++  1.9.70
AWS SDK for C++
EnableSerialConsoleAccessResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace EC2
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
40  inline bool GetSerialConsoleAccessEnabled() const{ return m_serialConsoleAccessEnabled; }
41 
47  inline void SetSerialConsoleAccessEnabled(bool value) { m_serialConsoleAccessEnabled = value; }
48 
54  inline EnableSerialConsoleAccessResponse& WithSerialConsoleAccessEnabled(bool value) { SetSerialConsoleAccessEnabled(value); return *this;}
55 
56 
57 
58  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
59 
60 
61  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
62 
63 
64  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
65 
66 
67  inline EnableSerialConsoleAccessResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
68 
69 
70  inline EnableSerialConsoleAccessResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
71 
72  private:
73 
74  bool m_serialConsoleAccessEnabled;
75 
76  ResponseMetadata m_responseMetadata;
77  };
78 
79 } // namespace Model
80 } // namespace EC2
81 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::EnableSerialConsoleAccessResponse::operator=
EnableSerialConsoleAccessResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::EnableSerialConsoleAccessResponse::EnableSerialConsoleAccessResponse
EnableSerialConsoleAccessResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::EnableSerialConsoleAccessResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: EnableSerialConsoleAccessResponse.h:64
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::EnableSerialConsoleAccessResponse::EnableSerialConsoleAccessResponse
EnableSerialConsoleAccessResponse()
Aws::EC2::Model::EnableSerialConsoleAccessResponse
Definition: EnableSerialConsoleAccessResponse.h:28
Aws::EC2::Model::EnableSerialConsoleAccessResponse::WithSerialConsoleAccessEnabled
EnableSerialConsoleAccessResponse & WithSerialConsoleAccessEnabled(bool value)
Definition: EnableSerialConsoleAccessResponse.h:54
Aws::EC2::Model::EnableSerialConsoleAccessResponse::WithResponseMetadata
EnableSerialConsoleAccessResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: EnableSerialConsoleAccessResponse.h:70
Aws::EC2::Model::EnableSerialConsoleAccessResponse::SetSerialConsoleAccessEnabled
void SetSerialConsoleAccessEnabled(bool value)
Definition: EnableSerialConsoleAccessResponse.h:47
Aws::EC2::Model::EnableSerialConsoleAccessResponse::WithResponseMetadata
EnableSerialConsoleAccessResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: EnableSerialConsoleAccessResponse.h:67
Aws::EC2::Model::EnableSerialConsoleAccessResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: EnableSerialConsoleAccessResponse.h:58
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::EnableSerialConsoleAccessResponse::GetSerialConsoleAccessEnabled
bool GetSerialConsoleAccessEnabled() const
Definition: EnableSerialConsoleAccessResponse.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::EnableSerialConsoleAccessResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: EnableSerialConsoleAccessResponse.h:61
EC2_EXPORTS.h