AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateResourceResult.h
1
6#pragma once
7#include <aws/cloudcontrol/CloudControlApi_EXPORTS.h>
8#include <aws/cloudcontrol/model/ProgressEvent.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 CloudControlApi
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CLOUDCONTROLAPI_API CreateResourceResult();
34
35
37
45 inline const ProgressEvent& GetProgressEvent() const{ return m_progressEvent; }
46 inline void SetProgressEvent(const ProgressEvent& value) { m_progressEvent = value; }
47 inline void SetProgressEvent(ProgressEvent&& value) { m_progressEvent = std::move(value); }
48 inline CreateResourceResult& WithProgressEvent(const ProgressEvent& value) { SetProgressEvent(value); return *this;}
49 inline CreateResourceResult& WithProgressEvent(ProgressEvent&& value) { SetProgressEvent(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 CreateResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
59 inline CreateResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
60 inline CreateResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
62 private:
63
64 ProgressEvent m_progressEvent;
65
66 Aws::String m_requestId;
67 };
68
69} // namespace Model
70} // namespace CloudControlApi
71} // namespace Aws
CreateResourceResult & WithProgressEvent(ProgressEvent &&value)
CreateResourceResult & WithRequestId(const Aws::String &value)
AWS_CLOUDCONTROLAPI_API CreateResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateResourceResult & WithProgressEvent(const ProgressEvent &value)
CreateResourceResult & WithRequestId(const char *value)
AWS_CLOUDCONTROLAPI_API CreateResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateResourceResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue