AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteInstanceResult.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/supplychain/model/Instance.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 SupplyChain
25{
26namespace Model
27{
34 {
35 public:
36 AWS_SUPPLYCHAIN_API DeleteInstanceResult();
39
40
42
45 inline const Instance& GetInstance() const{ return m_instance; }
46 inline void SetInstance(const Instance& value) { m_instance = value; }
47 inline void SetInstance(Instance&& value) { m_instance = std::move(value); }
48 inline DeleteInstanceResult& WithInstance(const Instance& value) { SetInstance(value); return *this;}
49 inline DeleteInstanceResult& WithInstance(Instance&& value) { SetInstance(std::move(value)); return *this;}
51
53
54 inline const Aws::String& GetRequestId() const{ return m_requestId; }
55 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
56 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
57 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
58 inline DeleteInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
59 inline DeleteInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
60 inline DeleteInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
62 private:
63
64 Instance m_instance;
65
66 Aws::String m_requestId;
67 };
68
69} // namespace Model
70} // namespace SupplyChain
71} // namespace Aws
AWS_SUPPLYCHAIN_API DeleteInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SUPPLYCHAIN_API DeleteInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteInstanceResult & WithRequestId(Aws::String &&value)
DeleteInstanceResult & WithInstance(const Instance &value)
DeleteInstanceResult & WithRequestId(const Aws::String &value)
DeleteInstanceResult & WithRequestId(const char *value)
DeleteInstanceResult & WithInstance(Instance &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue