AWS SDK for C++  1.9.159
AWS SDK for C++
ResetEbsDefaultKmsKeyIdResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
41 
46  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
47 
52  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
53 
58  inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
59 
64  inline ResetEbsDefaultKmsKeyIdResponse& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
65 
70  inline ResetEbsDefaultKmsKeyIdResponse& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
71 
76  inline ResetEbsDefaultKmsKeyIdResponse& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
77 
78 
79 
80  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
81 
82 
83  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
84 
85 
86  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
87 
88 
89  inline ResetEbsDefaultKmsKeyIdResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
90 
91 
92  inline ResetEbsDefaultKmsKeyIdResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
93 
94  private:
95 
96  Aws::String m_kmsKeyId;
97 
98  ResponseMetadata m_responseMetadata;
99  };
100 
101 } // namespace Model
102 } // namespace EC2
103 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: ResetEbsDefaultKmsKeyIdResponse.h:46
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse
Definition: ResetEbsDefaultKmsKeyIdResponse.h:29
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ResetEbsDefaultKmsKeyIdResponse.h:86
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ResetEbsDefaultKmsKeyIdResponse.h:80
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: ResetEbsDefaultKmsKeyIdResponse.h:58
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::WithKmsKeyId
ResetEbsDefaultKmsKeyIdResponse & WithKmsKeyId(const Aws::String &value)
Definition: ResetEbsDefaultKmsKeyIdResponse.h:64
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::ResetEbsDefaultKmsKeyIdResponse
ResetEbsDefaultKmsKeyIdResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::WithResponseMetadata
ResetEbsDefaultKmsKeyIdResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: ResetEbsDefaultKmsKeyIdResponse.h:89
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::operator=
ResetEbsDefaultKmsKeyIdResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::ResetEbsDefaultKmsKeyIdResponse
ResetEbsDefaultKmsKeyIdResponse()
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::WithResponseMetadata
ResetEbsDefaultKmsKeyIdResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: ResetEbsDefaultKmsKeyIdResponse.h:92
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ResetEbsDefaultKmsKeyIdResponse.h:83
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::WithKmsKeyId
ResetEbsDefaultKmsKeyIdResponse & WithKmsKeyId(Aws::String &&value)
Definition: ResetEbsDefaultKmsKeyIdResponse.h:70
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: ResetEbsDefaultKmsKeyIdResponse.h:52
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::WithKmsKeyId
ResetEbsDefaultKmsKeyIdResponse & WithKmsKeyId(const char *value)
Definition: ResetEbsDefaultKmsKeyIdResponse.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
EC2_EXPORTS.h
Aws::EC2::Model::ResetEbsDefaultKmsKeyIdResponse::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: ResetEbsDefaultKmsKeyIdResponse.h:40