AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateThingShadowResult.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{
29 {
30 public:
31 AWS_IOTDATAPLANE_API UpdateThingShadowResult();
32 //We have to define these because Microsoft doesn't auto generate them
35 //we delete these because Microsoft doesn't handle move generation correctly
36 //and we therefore don't trust them to get it right here either.
39
40
43
44
45
47
50 inline Aws::IOStream& GetPayload() const { return m_payload.GetUnderlyingStream(); }
51 inline void ReplaceBody(Aws::IOStream* body) { m_payload = Aws::Utils::Stream::ResponseStream(body); }
52
54
56
57 inline const Aws::String& GetRequestId() const{ return m_requestId; }
58 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
59 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
60 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
61 inline UpdateThingShadowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
62 inline UpdateThingShadowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
63 inline UpdateThingShadowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
65 private:
66
68
69 Aws::String m_requestId;
70 };
71
72} // namespace Model
73} // namespace IoTDataPlane
74} // namespace Aws
UpdateThingShadowResult & WithRequestId(const Aws::String &value)
AWS_IOTDATAPLANE_API UpdateThingShadowResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
UpdateThingShadowResult & WithRequestId(const char *value)
AWS_IOTDATAPLANE_API UpdateThingShadowResult(UpdateThingShadowResult &&)
UpdateThingShadowResult & WithRequestId(Aws::String &&value)
UpdateThingShadowResult(const UpdateThingShadowResult &)=delete
UpdateThingShadowResult & operator=(const UpdateThingShadowResult &)=delete
AWS_IOTDATAPLANE_API UpdateThingShadowResult & operator=(UpdateThingShadowResult &&)
AWS_IOTDATAPLANE_API UpdateThingShadowResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
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