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