AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateUpdatedImageResult.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/Image.h>
9#include <aws/core/utils/memory/stl/AWSString.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 AppStream
25{
26namespace Model
27{
29 {
30 public:
31 AWS_APPSTREAM_API CreateUpdatedImageResult();
34
35
37
38 inline const Image& GetImage() const{ return m_image; }
39 inline void SetImage(const Image& value) { m_image = value; }
40 inline void SetImage(Image&& value) { m_image = std::move(value); }
41 inline CreateUpdatedImageResult& WithImage(const Image& value) { SetImage(value); return *this;}
42 inline CreateUpdatedImageResult& WithImage(Image&& value) { SetImage(std::move(value)); return *this;}
44
46
49 inline bool GetCanUpdateImage() const{ return m_canUpdateImage; }
50 inline void SetCanUpdateImage(bool value) { m_canUpdateImage = value; }
51 inline CreateUpdatedImageResult& WithCanUpdateImage(bool value) { SetCanUpdateImage(value); return *this;}
53
55
56 inline const Aws::String& GetRequestId() const{ return m_requestId; }
57 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
58 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
59 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
60 inline CreateUpdatedImageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
61 inline CreateUpdatedImageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
62 inline CreateUpdatedImageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
64 private:
65
66 Image m_image;
67
68 bool m_canUpdateImage;
69
70 Aws::String m_requestId;
71 };
72
73} // namespace Model
74} // namespace AppStream
75} // namespace Aws
CreateUpdatedImageResult & WithRequestId(const Aws::String &value)
CreateUpdatedImageResult & WithRequestId(const char *value)
CreateUpdatedImageResult & WithRequestId(Aws::String &&value)
CreateUpdatedImageResult & WithImage(Image &&value)
CreateUpdatedImageResult & WithCanUpdateImage(bool value)
AWS_APPSTREAM_API CreateUpdatedImageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPSTREAM_API CreateUpdatedImageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUpdatedImageResult & WithImage(const Image &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue