AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RejectResourceGroupingRecommendationsResult.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/resiliencehub/model/FailedGroupingRecommendationEntry.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ResilienceHub
26{
27namespace Model
28{
30 {
31 public:
35
36
38
47 inline const Aws::String& GetAppArn() const{ return m_appArn; }
48 inline void SetAppArn(const Aws::String& value) { m_appArn = value; }
49 inline void SetAppArn(Aws::String&& value) { m_appArn = std::move(value); }
50 inline void SetAppArn(const char* value) { m_appArn.assign(value); }
51 inline RejectResourceGroupingRecommendationsResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
52 inline RejectResourceGroupingRecommendationsResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
53 inline RejectResourceGroupingRecommendationsResult& WithAppArn(const char* value) { SetAppArn(value); return *this;}
55
57
61 inline const Aws::Vector<FailedGroupingRecommendationEntry>& GetFailedEntries() const{ return m_failedEntries; }
62 inline void SetFailedEntries(const Aws::Vector<FailedGroupingRecommendationEntry>& value) { m_failedEntries = value; }
63 inline void SetFailedEntries(Aws::Vector<FailedGroupingRecommendationEntry>&& value) { m_failedEntries = std::move(value); }
66 inline RejectResourceGroupingRecommendationsResult& AddFailedEntries(const FailedGroupingRecommendationEntry& value) { m_failedEntries.push_back(value); return *this; }
67 inline RejectResourceGroupingRecommendationsResult& AddFailedEntries(FailedGroupingRecommendationEntry&& value) { m_failedEntries.push_back(std::move(value)); return *this; }
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline RejectResourceGroupingRecommendationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline RejectResourceGroupingRecommendationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_appArn;
83
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace ResilienceHub
91} // namespace Aws
AWS_RESILIENCEHUB_API RejectResourceGroupingRecommendationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RejectResourceGroupingRecommendationsResult & WithAppArn(const Aws::String &value)
RejectResourceGroupingRecommendationsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< FailedGroupingRecommendationEntry > & GetFailedEntries() const
RejectResourceGroupingRecommendationsResult & WithFailedEntries(const Aws::Vector< FailedGroupingRecommendationEntry > &value)
RejectResourceGroupingRecommendationsResult & AddFailedEntries(const FailedGroupingRecommendationEntry &value)
RejectResourceGroupingRecommendationsResult & WithRequestId(const char *value)
void SetFailedEntries(const Aws::Vector< FailedGroupingRecommendationEntry > &value)
AWS_RESILIENCEHUB_API RejectResourceGroupingRecommendationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RejectResourceGroupingRecommendationsResult & WithAppArn(Aws::String &&value)
RejectResourceGroupingRecommendationsResult & AddFailedEntries(FailedGroupingRecommendationEntry &&value)
RejectResourceGroupingRecommendationsResult & WithFailedEntries(Aws::Vector< FailedGroupingRecommendationEntry > &&value)
RejectResourceGroupingRecommendationsResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue