AWS SDK for C++  1.9.65
AWS SDK for C++
DisableEbsEncryptionByDefaultResponse.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 DisableEbsEncryptionByDefaultResponse& 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 DisableEbsEncryptionByDefaultResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
62 
63 
64  inline DisableEbsEncryptionByDefaultResponse& 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::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::DisableEbsEncryptionByDefaultResponse::WithResponseMetadata
DisableEbsEncryptionByDefaultResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DisableEbsEncryptionByDefaultResponse.h:64
Aws::EC2::Model::DisableEbsEncryptionByDefaultResponse::GetEbsEncryptionByDefault
bool GetEbsEncryptionByDefault() const
Definition: DisableEbsEncryptionByDefaultResponse.h:38
Aws::EC2::Model::DisableEbsEncryptionByDefaultResponse::SetEbsEncryptionByDefault
void SetEbsEncryptionByDefault(bool value)
Definition: DisableEbsEncryptionByDefaultResponse.h:43
Aws::EC2::Model::DisableEbsEncryptionByDefaultResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DisableEbsEncryptionByDefaultResponse.h:58
Aws::EC2::Model::DisableEbsEncryptionByDefaultResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DisableEbsEncryptionByDefaultResponse.h:52
Aws::EC2::Model::DisableEbsEncryptionByDefaultResponse::DisableEbsEncryptionByDefaultResponse
DisableEbsEncryptionByDefaultResponse()
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DisableEbsEncryptionByDefaultResponse::operator=
DisableEbsEncryptionByDefaultResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DisableEbsEncryptionByDefaultResponse::DisableEbsEncryptionByDefaultResponse
DisableEbsEncryptionByDefaultResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DisableEbsEncryptionByDefaultResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DisableEbsEncryptionByDefaultResponse.h:55
Aws::EC2::Model::DisableEbsEncryptionByDefaultResponse::WithResponseMetadata
DisableEbsEncryptionByDefaultResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DisableEbsEncryptionByDefaultResponse.h:61
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DisableEbsEncryptionByDefaultResponse
Definition: DisableEbsEncryptionByDefaultResponse.h:28
Aws::EC2::Model::DisableEbsEncryptionByDefaultResponse::WithEbsEncryptionByDefault
DisableEbsEncryptionByDefaultResponse & WithEbsEncryptionByDefault(bool value)
Definition: DisableEbsEncryptionByDefaultResponse.h:48
EC2_EXPORTS.h