AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSolFunctionPackageContentResult.h
1
6#pragma once
7#include <aws/tnb/Tnb_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/tnb/model/PackageContentType.h>
10#include <aws/core/utils/Array.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace tnb
20{
21namespace Model
22{
24 {
25 public:
27 //We have to define these because Microsoft doesn't auto generate them
30 //we delete these because Microsoft doesn't handle move generation correctly
31 //and we therefore don't trust them to get it right here either.
34
35
38
39
40
42
45 inline const PackageContentType& GetContentType() const{ return m_contentType; }
46 inline void SetContentType(const PackageContentType& value) { m_contentType = value; }
47 inline void SetContentType(PackageContentType&& value) { m_contentType = std::move(value); }
49 inline GetSolFunctionPackageContentResult& WithContentType(PackageContentType&& value) { SetContentType(std::move(value)); return *this;}
51
53
56 inline Aws::IOStream& GetPackageContent() const { return m_packageContent.GetUnderlyingStream(); }
57 inline void ReplaceBody(Aws::IOStream* body) { m_packageContent = Aws::Utils::Stream::ResponseStream(body); }
58
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline GetSolFunctionPackageContentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline GetSolFunctionPackageContentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline GetSolFunctionPackageContentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 PackageContentType m_contentType;
74
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace tnb
82} // namespace Aws
Aws::IOStream & GetUnderlyingStream() const
GetSolFunctionPackageContentResult(const GetSolFunctionPackageContentResult &)=delete
AWS_TNB_API GetSolFunctionPackageContentResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
AWS_TNB_API GetSolFunctionPackageContentResult & operator=(GetSolFunctionPackageContentResult &&)
GetSolFunctionPackageContentResult & WithRequestId(const char *value)
GetSolFunctionPackageContentResult & WithContentType(const PackageContentType &value)
AWS_TNB_API GetSolFunctionPackageContentResult(GetSolFunctionPackageContentResult &&)
GetSolFunctionPackageContentResult & WithRequestId(const Aws::String &value)
GetSolFunctionPackageContentResult & WithRequestId(Aws::String &&value)
GetSolFunctionPackageContentResult & operator=(const GetSolFunctionPackageContentResult &)=delete
AWS_TNB_API GetSolFunctionPackageContentResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetSolFunctionPackageContentResult & WithContentType(PackageContentType &&value)
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String