AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartResourceGroupingRecommendationTaskResult.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
46 inline const Aws::String& GetAppArn() const{ return m_appArn; }
47 inline void SetAppArn(const Aws::String& value) { m_appArn = value; }
48 inline void SetAppArn(Aws::String&& value) { m_appArn = std::move(value); }
49 inline void SetAppArn(const char* value) { m_appArn.assign(value); }
51 inline StartResourceGroupingRecommendationTaskResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
52 inline StartResourceGroupingRecommendationTaskResult& WithAppArn(const char* value) { SetAppArn(value); return *this;}
54
56
60 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
61 inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
62 inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
63 inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
66 inline StartResourceGroupingRecommendationTaskResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
68
70
73 inline const Aws::String& GetGroupingId() const{ return m_groupingId; }
74 inline void SetGroupingId(const Aws::String& value) { m_groupingId = value; }
75 inline void SetGroupingId(Aws::String&& value) { m_groupingId = std::move(value); }
76 inline void SetGroupingId(const char* value) { m_groupingId.assign(value); }
79 inline StartResourceGroupingRecommendationTaskResult& WithGroupingId(const char* value) { SetGroupingId(value); return *this;}
81
83
86 inline const ResourcesGroupingRecGenStatusType& GetStatus() const{ return m_status; }
87 inline void SetStatus(const ResourcesGroupingRecGenStatusType& value) { m_status = value; }
88 inline void SetStatus(ResourcesGroupingRecGenStatusType&& value) { m_status = std::move(value); }
92
94
95 inline const Aws::String& GetRequestId() const{ return m_requestId; }
96 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
97 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
98 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
100 inline StartResourceGroupingRecommendationTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
101 inline StartResourceGroupingRecommendationTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
103 private:
104
105 Aws::String m_appArn;
106
107 Aws::String m_errorMessage;
108
109 Aws::String m_groupingId;
110
112
113 Aws::String m_requestId;
114 };
115
116} // namespace Model
117} // namespace ResilienceHub
118} // namespace Aws
AWS_RESILIENCEHUB_API StartResourceGroupingRecommendationTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartResourceGroupingRecommendationTaskResult & WithAppArn(Aws::String &&value)
StartResourceGroupingRecommendationTaskResult & WithErrorMessage(Aws::String &&value)
StartResourceGroupingRecommendationTaskResult & WithRequestId(Aws::String &&value)
StartResourceGroupingRecommendationTaskResult & WithAppArn(const Aws::String &value)
StartResourceGroupingRecommendationTaskResult & WithStatus(const ResourcesGroupingRecGenStatusType &value)
StartResourceGroupingRecommendationTaskResult & WithGroupingId(Aws::String &&value)
AWS_RESILIENCEHUB_API StartResourceGroupingRecommendationTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartResourceGroupingRecommendationTaskResult & WithRequestId(const Aws::String &value)
StartResourceGroupingRecommendationTaskResult & WithErrorMessage(const Aws::String &value)
StartResourceGroupingRecommendationTaskResult & WithErrorMessage(const char *value)
StartResourceGroupingRecommendationTaskResult & WithGroupingId(const char *value)
StartResourceGroupingRecommendationTaskResult & WithStatus(ResourcesGroupingRecGenStatusType &&value)
StartResourceGroupingRecommendationTaskResult & WithGroupingId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue