AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetThingShadowResult.h
1
6#pragma once
7#include <aws/iot-data/IoTDataPlane_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace IoTDataPlane
19{
20namespace Model
21{
28 {
29 public:
30 AWS_IOTDATAPLANE_API GetThingShadowResult();
31 //We have to define these because Microsoft doesn't auto generate them
34 //we delete these because Microsoft doesn't handle move generation correctly
35 //and we therefore don't trust them to get it right here either.
38
39
42
43
44
46
49 inline Aws::IOStream& GetPayload() const { return m_payload.GetUnderlyingStream(); }
50 inline void ReplaceBody(Aws::IOStream* body) { m_payload = Aws::Utils::Stream::ResponseStream(body); }
51
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 GetThingShadowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
61 inline GetThingShadowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
62 inline GetThingShadowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
64 private:
65
67
68 Aws::String m_requestId;
69 };
70
71} // namespace Model
72} // namespace IoTDataPlane
73} // namespace Aws
GetThingShadowResult & WithRequestId(const char *value)
AWS_IOTDATAPLANE_API GetThingShadowResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetThingShadowResult & operator=(const GetThingShadowResult &)=delete
AWS_IOTDATAPLANE_API GetThingShadowResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
AWS_IOTDATAPLANE_API GetThingShadowResult & operator=(GetThingShadowResult &&)
AWS_IOTDATAPLANE_API GetThingShadowResult(GetThingShadowResult &&)
GetThingShadowResult & WithRequestId(Aws::String &&value)
GetThingShadowResult(const GetThingShadowResult &)=delete
GetThingShadowResult & WithRequestId(const Aws::String &value)
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String