AWS SDK for C++  1.9.71
AWS SDK for C++
RegisterImageResponse.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 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetImageId() const{ return m_imageId; }
45 
49  inline void SetImageId(const Aws::String& value) { m_imageId = value; }
50 
54  inline void SetImageId(Aws::String&& value) { m_imageId = std::move(value); }
55 
59  inline void SetImageId(const char* value) { m_imageId.assign(value); }
60 
64  inline RegisterImageResponse& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
65 
69  inline RegisterImageResponse& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
70 
74  inline RegisterImageResponse& WithImageId(const char* value) { SetImageId(value); return *this;}
75 
76 
77 
78  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
79 
80 
81  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
82 
83 
84  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
85 
86 
87  inline RegisterImageResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
88 
89 
90  inline RegisterImageResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
91 
92  private:
93 
94  Aws::String m_imageId;
95 
96  ResponseMetadata m_responseMetadata;
97  };
98 
99 } // namespace Model
100 } // namespace EC2
101 } // namespace Aws
Aws::EC2::Model::RegisterImageResponse::SetImageId
void SetImageId(const char *value)
Definition: RegisterImageResponse.h:59
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::RegisterImageResponse::WithResponseMetadata
RegisterImageResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: RegisterImageResponse.h:90
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::RegisterImageResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: RegisterImageResponse.h:81
ResponseMetadata.h
Aws::EC2::Model::RegisterImageResponse::RegisterImageResponse
RegisterImageResponse()
Aws::EC2::Model::RegisterImageResponse::WithResponseMetadata
RegisterImageResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: RegisterImageResponse.h:87
Aws::EC2::Model::RegisterImageResponse::GetImageId
const Aws::String & GetImageId() const
Definition: RegisterImageResponse.h:44
Aws::EC2::Model::RegisterImageResponse::WithImageId
RegisterImageResponse & WithImageId(Aws::String &&value)
Definition: RegisterImageResponse.h:69
Aws::EC2::Model::RegisterImageResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: RegisterImageResponse.h:78
Aws::EC2::Model::RegisterImageResponse::operator=
RegisterImageResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::RegisterImageResponse::WithImageId
RegisterImageResponse & WithImageId(const Aws::String &value)
Definition: RegisterImageResponse.h:64
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::RegisterImageResponse::WithImageId
RegisterImageResponse & WithImageId(const char *value)
Definition: RegisterImageResponse.h:74
Aws::EC2::Model::RegisterImageResponse::RegisterImageResponse
RegisterImageResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWSString.h
Aws::EC2::Model::RegisterImageResponse::SetImageId
void SetImageId(Aws::String &&value)
Definition: RegisterImageResponse.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::RegisterImageResponse
Definition: RegisterImageResponse.h:34
Aws::EC2::Model::RegisterImageResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: RegisterImageResponse.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::RegisterImageResponse::SetImageId
void SetImageId(const Aws::String &value)
Definition: RegisterImageResponse.h:49
EC2_EXPORTS.h