AWS SDK for C++  1.9.65
AWS SDK for C++
CreateFpgaImageResponse.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 CreateFpgaImageResponse& WithFpgaImageId(const Aws::String& value) { SetFpgaImageId(value); return *this;}
60 
64  inline CreateFpgaImageResponse& WithFpgaImageId(Aws::String&& value) { SetFpgaImageId(std::move(value)); return *this;}
65 
69  inline CreateFpgaImageResponse& WithFpgaImageId(const char* value) { SetFpgaImageId(value); return *this;}
70 
71 
75  inline const Aws::String& GetFpgaImageGlobalId() const{ return m_fpgaImageGlobalId; }
76 
80  inline void SetFpgaImageGlobalId(const Aws::String& value) { m_fpgaImageGlobalId = value; }
81 
85  inline void SetFpgaImageGlobalId(Aws::String&& value) { m_fpgaImageGlobalId = std::move(value); }
86 
90  inline void SetFpgaImageGlobalId(const char* value) { m_fpgaImageGlobalId.assign(value); }
91 
95  inline CreateFpgaImageResponse& WithFpgaImageGlobalId(const Aws::String& value) { SetFpgaImageGlobalId(value); return *this;}
96 
100  inline CreateFpgaImageResponse& WithFpgaImageGlobalId(Aws::String&& value) { SetFpgaImageGlobalId(std::move(value)); return *this;}
101 
105  inline CreateFpgaImageResponse& WithFpgaImageGlobalId(const char* value) { SetFpgaImageGlobalId(value); return *this;}
106 
107 
108 
109  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
110 
111 
112  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
113 
114 
115  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
116 
117 
118  inline CreateFpgaImageResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
119 
120 
121  inline CreateFpgaImageResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
122 
123  private:
124 
125  Aws::String m_fpgaImageId;
126 
127  Aws::String m_fpgaImageGlobalId;
128 
129  ResponseMetadata m_responseMetadata;
130  };
131 
132 } // namespace Model
133 } // namespace EC2
134 } // namespace Aws
Aws::EC2::Model::CreateFpgaImageResponse::CreateFpgaImageResponse
CreateFpgaImageResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::CreateFpgaImageResponse::WithFpgaImageId
CreateFpgaImageResponse & WithFpgaImageId(const Aws::String &value)
Definition: CreateFpgaImageResponse.h:59
Aws::EC2::Model::CreateFpgaImageResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateFpgaImageResponse.h:109
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::CreateFpgaImageResponse::WithFpgaImageGlobalId
CreateFpgaImageResponse & WithFpgaImageGlobalId(const Aws::String &value)
Definition: CreateFpgaImageResponse.h:95
Aws::EC2::Model::CreateFpgaImageResponse::SetFpgaImageId
void SetFpgaImageId(Aws::String &&value)
Definition: CreateFpgaImageResponse.h:49
Aws::EC2::Model::CreateFpgaImageResponse::SetFpgaImageGlobalId
void SetFpgaImageGlobalId(const Aws::String &value)
Definition: CreateFpgaImageResponse.h:80
Aws::EC2::Model::CreateFpgaImageResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateFpgaImageResponse.h:115
Aws::EC2::Model::CreateFpgaImageResponse::SetFpgaImageGlobalId
void SetFpgaImageGlobalId(const char *value)
Definition: CreateFpgaImageResponse.h:90
Aws::EC2::Model::CreateFpgaImageResponse::WithFpgaImageGlobalId
CreateFpgaImageResponse & WithFpgaImageGlobalId(const char *value)
Definition: CreateFpgaImageResponse.h:105
Aws::EC2::Model::CreateFpgaImageResponse::GetFpgaImageGlobalId
const Aws::String & GetFpgaImageGlobalId() const
Definition: CreateFpgaImageResponse.h:75
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::CreateFpgaImageResponse::WithFpgaImageId
CreateFpgaImageResponse & WithFpgaImageId(Aws::String &&value)
Definition: CreateFpgaImageResponse.h:64
Aws::EC2::Model::CreateFpgaImageResponse::WithResponseMetadata
CreateFpgaImageResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateFpgaImageResponse.h:121
Aws::EC2::Model::CreateFpgaImageResponse::operator=
CreateFpgaImageResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateFpgaImageResponse::WithFpgaImageGlobalId
CreateFpgaImageResponse & WithFpgaImageGlobalId(Aws::String &&value)
Definition: CreateFpgaImageResponse.h:100
Aws::EC2::Model::CreateFpgaImageResponse::SetFpgaImageId
void SetFpgaImageId(const Aws::String &value)
Definition: CreateFpgaImageResponse.h:44
Aws::EC2::Model::CreateFpgaImageResponse::WithFpgaImageId
CreateFpgaImageResponse & WithFpgaImageId(const char *value)
Definition: CreateFpgaImageResponse.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateFpgaImageResponse::GetFpgaImageId
const Aws::String & GetFpgaImageId() const
Definition: CreateFpgaImageResponse.h:39
Aws::EC2::Model::CreateFpgaImageResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateFpgaImageResponse.h:112
Aws::EC2::Model::CreateFpgaImageResponse::SetFpgaImageId
void SetFpgaImageId(const char *value)
Definition: CreateFpgaImageResponse.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::CreateFpgaImageResponse::CreateFpgaImageResponse
CreateFpgaImageResponse()
Aws::EC2::Model::CreateFpgaImageResponse::SetFpgaImageGlobalId
void SetFpgaImageGlobalId(Aws::String &&value)
Definition: CreateFpgaImageResponse.h:85
Aws::EC2::Model::CreateFpgaImageResponse::WithResponseMetadata
CreateFpgaImageResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateFpgaImageResponse.h:118
EC2_EXPORTS.h
Aws::EC2::Model::CreateFpgaImageResponse
Definition: CreateFpgaImageResponse.h:29