AWS SDK for C++

AWS SDK for C++ Version 1.11.771

Loading...
Searching...
No Matches
AcceptResourceGroupingRecommendationsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
11#include <aws/resiliencehub/model/FailedGroupingRecommendationEntry.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ResilienceHub {
25namespace Model {
27 public:
28 AWS_RESILIENCEHUB_API AcceptResourceGroupingRecommendationsResult() = default;
32
34
43 inline const Aws::String& GetAppArn() const { return m_appArn; }
44 template <typename AppArnT = Aws::String>
45 void SetAppArn(AppArnT&& value) {
46 m_appArnHasBeenSet = true;
47 m_appArn = std::forward<AppArnT>(value);
48 }
49 template <typename AppArnT = Aws::String>
51 SetAppArn(std::forward<AppArnT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::Vector<FailedGroupingRecommendationEntry>& GetFailedEntries() const { return m_failedEntries; }
62 template <typename FailedEntriesT = Aws::Vector<FailedGroupingRecommendationEntry>>
63 void SetFailedEntries(FailedEntriesT&& value) {
64 m_failedEntriesHasBeenSet = true;
65 m_failedEntries = std::forward<FailedEntriesT>(value);
66 }
67 template <typename FailedEntriesT = Aws::Vector<FailedGroupingRecommendationEntry>>
69 SetFailedEntries(std::forward<FailedEntriesT>(value));
70 return *this;
71 }
72 template <typename FailedEntriesT = FailedGroupingRecommendationEntry>
74 m_failedEntriesHasBeenSet = true;
75 m_failedEntries.emplace_back(std::forward<FailedEntriesT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
95
96 private:
97 Aws::String m_appArn;
98
100
101 Aws::String m_requestId;
102 Aws::Http::HttpResponseCode m_HttpResponseCode;
103 bool m_appArnHasBeenSet = false;
104 bool m_failedEntriesHasBeenSet = false;
105 bool m_requestIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace ResilienceHub
110} // namespace Aws
const Aws::Vector< FailedGroupingRecommendationEntry > & GetFailedEntries() const
AWS_RESILIENCEHUB_API AcceptResourceGroupingRecommendationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AcceptResourceGroupingRecommendationsResult & AddFailedEntries(FailedEntriesT &&value)
AcceptResourceGroupingRecommendationsResult & WithRequestId(RequestIdT &&value)
AcceptResourceGroupingRecommendationsResult & WithFailedEntries(FailedEntriesT &&value)
AWS_RESILIENCEHUB_API AcceptResourceGroupingRecommendationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue