AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateStoreImageTaskResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetObjectKey() const{ return m_objectKey; }
41 inline void SetObjectKey(const Aws::String& value) { m_objectKey = value; }
42 inline void SetObjectKey(Aws::String&& value) { m_objectKey = std::move(value); }
43 inline void SetObjectKey(const char* value) { m_objectKey.assign(value); }
44 inline CreateStoreImageTaskResponse& WithObjectKey(const Aws::String& value) { SetObjectKey(value); return *this;}
45 inline CreateStoreImageTaskResponse& WithObjectKey(Aws::String&& value) { SetObjectKey(std::move(value)); return *this;}
46 inline CreateStoreImageTaskResponse& WithObjectKey(const char* value) { SetObjectKey(value); return *this;}
48
50
51 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
52 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
53 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
57 private:
58
59 Aws::String m_objectKey;
60
61 ResponseMetadata m_responseMetadata;
62 };
63
64} // namespace Model
65} // namespace EC2
66} // namespace Aws
AWS_EC2_API CreateStoreImageTaskResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateStoreImageTaskResponse & WithObjectKey(const char *value)
AWS_EC2_API CreateStoreImageTaskResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(const ResponseMetadata &value)
CreateStoreImageTaskResponse & WithResponseMetadata(ResponseMetadata &&value)
CreateStoreImageTaskResponse & WithObjectKey(const Aws::String &value)
CreateStoreImageTaskResponse & WithResponseMetadata(const ResponseMetadata &value)
CreateStoreImageTaskResponse & WithObjectKey(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument