AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeResourceGroupingRecommendationTaskResult.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/model/ResourcesGroupingRecGenStatusType.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 ResilienceHub
25{
26namespace Model
27{
29 {
30 public:
34
35
37
41 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
42 inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
43 inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
44 inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
47 inline DescribeResourceGroupingRecommendationTaskResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
49
51
54 inline const Aws::String& GetGroupingId() const{ return m_groupingId; }
55 inline void SetGroupingId(const Aws::String& value) { m_groupingId = value; }
56 inline void SetGroupingId(Aws::String&& value) { m_groupingId = std::move(value); }
57 inline void SetGroupingId(const char* value) { m_groupingId.assign(value); }
60 inline DescribeResourceGroupingRecommendationTaskResult& WithGroupingId(const char* value) { SetGroupingId(value); return *this;}
62
64
67 inline const ResourcesGroupingRecGenStatusType& GetStatus() const{ return m_status; }
68 inline void SetStatus(const ResourcesGroupingRecGenStatusType& value) { m_status = value; }
69 inline void SetStatus(ResourcesGroupingRecGenStatusType&& value) { m_status = std::move(value); }
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline DescribeResourceGroupingRecommendationTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_errorMessage;
87
88 Aws::String m_groupingId;
89
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace ResilienceHub
97} // namespace Aws
DescribeResourceGroupingRecommendationTaskResult & WithRequestId(Aws::String &&value)
DescribeResourceGroupingRecommendationTaskResult & WithRequestId(const Aws::String &value)
DescribeResourceGroupingRecommendationTaskResult & WithErrorMessage(Aws::String &&value)
DescribeResourceGroupingRecommendationTaskResult & WithGroupingId(Aws::String &&value)
AWS_RESILIENCEHUB_API DescribeResourceGroupingRecommendationTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeResourceGroupingRecommendationTaskResult & WithErrorMessage(const Aws::String &value)
DescribeResourceGroupingRecommendationTaskResult & WithStatus(ResourcesGroupingRecGenStatusType &&value)
DescribeResourceGroupingRecommendationTaskResult & WithStatus(const ResourcesGroupingRecGenStatusType &value)
DescribeResourceGroupingRecommendationTaskResult & WithGroupingId(const Aws::String &value)
AWS_RESILIENCEHUB_API DescribeResourceGroupingRecommendationTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue