AWS SDK for C++  1.9.74
AWS SDK for C++
GetEbsEncryptionByDefaultResponse.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 
38  inline bool GetEbsEncryptionByDefault() const{ return m_ebsEncryptionByDefault; }
39 
43  inline void SetEbsEncryptionByDefault(bool value) { m_ebsEncryptionByDefault = value; }
44 
48  inline GetEbsEncryptionByDefaultResponse& WithEbsEncryptionByDefault(bool value) { SetEbsEncryptionByDefault(value); return *this;}
49 
50 
51 
52  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
53 
54 
55  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
56 
57 
58  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
59 
60 
61  inline GetEbsEncryptionByDefaultResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
62 
63 
64  inline GetEbsEncryptionByDefaultResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
65 
66  private:
67 
68  bool m_ebsEncryptionByDefault;
69 
70  ResponseMetadata m_responseMetadata;
71  };
72 
73 } // namespace Model
74 } // namespace EC2
75 } // namespace Aws
Aws::EC2::Model::GetEbsEncryptionByDefaultResponse::GetEbsEncryptionByDefaultResponse
GetEbsEncryptionByDefaultResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::GetEbsEncryptionByDefaultResponse::operator=
GetEbsEncryptionByDefaultResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::GetEbsEncryptionByDefaultResponse::WithResponseMetadata
GetEbsEncryptionByDefaultResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetEbsEncryptionByDefaultResponse.h:61
Aws::EC2::Model::GetEbsEncryptionByDefaultResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetEbsEncryptionByDefaultResponse.h:52
Aws::EC2::Model::GetEbsEncryptionByDefaultResponse::WithResponseMetadata
GetEbsEncryptionByDefaultResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetEbsEncryptionByDefaultResponse.h:64
Aws::EC2::Model::GetEbsEncryptionByDefaultResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetEbsEncryptionByDefaultResponse.h:55
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::GetEbsEncryptionByDefaultResponse::GetEbsEncryptionByDefaultResponse
GetEbsEncryptionByDefaultResponse()
Aws::EC2::Model::GetEbsEncryptionByDefaultResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetEbsEncryptionByDefaultResponse.h:58
Aws::EC2::Model::GetEbsEncryptionByDefaultResponse
Definition: GetEbsEncryptionByDefaultResponse.h:28
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::GetEbsEncryptionByDefaultResponse::SetEbsEncryptionByDefault
void SetEbsEncryptionByDefault(bool value)
Definition: GetEbsEncryptionByDefaultResponse.h:43
Aws::EC2::Model::GetEbsEncryptionByDefaultResponse::GetEbsEncryptionByDefault
bool GetEbsEncryptionByDefault() const
Definition: GetEbsEncryptionByDefaultResponse.h:38
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::GetEbsEncryptionByDefaultResponse::WithEbsEncryptionByDefault
GetEbsEncryptionByDefaultResponse & WithEbsEncryptionByDefault(bool value)
Definition: GetEbsEncryptionByDefaultResponse.h:48
EC2_EXPORTS.h