AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetImageResult.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/Image.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace imagebuilder
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IMAGEBUILDER_API GetImageResult();
34
35
37
40 inline const Aws::String& GetRequestId() const{ return m_requestId; }
41 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
42 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
43 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
44 inline GetImageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
45 inline GetImageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
46 inline GetImageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
48
50
53 inline const Image& GetImage() const{ return m_image; }
54 inline void SetImage(const Image& value) { m_image = value; }
55 inline void SetImage(Image&& value) { m_image = std::move(value); }
56 inline GetImageResult& WithImage(const Image& value) { SetImage(value); return *this;}
57 inline GetImageResult& WithImage(Image&& value) { SetImage(std::move(value)); return *this;}
59 private:
60
61 Aws::String m_requestId;
62
63 Image m_image;
64 };
65
66} // namespace Model
67} // namespace imagebuilder
68} // namespace Aws
GetImageResult & WithImage(Image &&value)
void SetRequestId(Aws::String &&value)
AWS_IMAGEBUILDER_API GetImageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IMAGEBUILDER_API GetImageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
GetImageResult & WithRequestId(const char *value)
GetImageResult & WithRequestId(const Aws::String &value)
GetImageResult & WithImage(const Image &value)
GetImageResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue