AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetResourceResult.h
1
6#pragma once
7#include <aws/cloudcontrol/CloudControlApi_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudcontrol/model/ResourceDescription.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 GetResourceResult();
34
35
37
40 inline const Aws::String& GetTypeName() const{ return m_typeName; }
41 inline void SetTypeName(const Aws::String& value) { m_typeName = value; }
42 inline void SetTypeName(Aws::String&& value) { m_typeName = std::move(value); }
43 inline void SetTypeName(const char* value) { m_typeName.assign(value); }
44 inline GetResourceResult& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
45 inline GetResourceResult& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
46 inline GetResourceResult& WithTypeName(const char* value) { SetTypeName(value); return *this;}
48
50
51 inline const ResourceDescription& GetResourceDescription() const{ return m_resourceDescription; }
52 inline void SetResourceDescription(const ResourceDescription& value) { m_resourceDescription = value; }
53 inline void SetResourceDescription(ResourceDescription&& value) { m_resourceDescription = std::move(value); }
55 inline GetResourceResult& WithResourceDescription(ResourceDescription&& value) { SetResourceDescription(std::move(value)); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
62 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
63 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
64 inline GetResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline GetResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline GetResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68 private:
69
70 Aws::String m_typeName;
71
72 ResourceDescription m_resourceDescription;
73
74 Aws::String m_requestId;
75 };
76
77} // namespace Model
78} // namespace CloudControlApi
79} // namespace Aws
GetResourceResult & WithResourceDescription(ResourceDescription &&value)
GetResourceResult & WithRequestId(const Aws::String &value)
GetResourceResult & WithTypeName(const Aws::String &value)
GetResourceResult & WithRequestId(Aws::String &&value)
AWS_CLOUDCONTROLAPI_API GetResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetResourceDescription(const ResourceDescription &value)
void SetResourceDescription(ResourceDescription &&value)
GetResourceResult & WithResourceDescription(const ResourceDescription &value)
const ResourceDescription & GetResourceDescription() const
AWS_CLOUDCONTROLAPI_API GetResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceResult & WithRequestId(const char *value)
GetResourceResult & WithTypeName(const char *value)
GetResourceResult & WithTypeName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue