AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
BatchUpdateRecommendationStatusResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
10#include <aws/resiliencehub/model/BatchUpdateRecommendationStatusFailedEntry.h>
11#include <aws/resiliencehub/model/BatchUpdateRecommendationStatusSuccessfulEntry.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 BatchUpdateRecommendationStatusResult() = 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<BatchUpdateRecommendationStatusFailedEntry>& GetFailedEntries() const { return m_failedEntries; }
62 template <typename FailedEntriesT = Aws::Vector<BatchUpdateRecommendationStatusFailedEntry>>
63 void SetFailedEntries(FailedEntriesT&& value) {
64 m_failedEntriesHasBeenSet = true;
65 m_failedEntries = std::forward<FailedEntriesT>(value);
66 }
67 template <typename FailedEntriesT = Aws::Vector<BatchUpdateRecommendationStatusFailedEntry>>
69 SetFailedEntries(std::forward<FailedEntriesT>(value));
70 return *this;
71 }
72 template <typename FailedEntriesT = BatchUpdateRecommendationStatusFailedEntry>
74 m_failedEntriesHasBeenSet = true;
75 m_failedEntries.emplace_back(std::forward<FailedEntriesT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::Vector<BatchUpdateRecommendationStatusSuccessfulEntry>& GetSuccessfulEntries() const { return m_successfulEntries; }
85 template <typename SuccessfulEntriesT = Aws::Vector<BatchUpdateRecommendationStatusSuccessfulEntry>>
86 void SetSuccessfulEntries(SuccessfulEntriesT&& value) {
87 m_successfulEntriesHasBeenSet = true;
88 m_successfulEntries = std::forward<SuccessfulEntriesT>(value);
89 }
90 template <typename SuccessfulEntriesT = Aws::Vector<BatchUpdateRecommendationStatusSuccessfulEntry>>
92 SetSuccessfulEntries(std::forward<SuccessfulEntriesT>(value));
93 return *this;
94 }
95 template <typename SuccessfulEntriesT = BatchUpdateRecommendationStatusSuccessfulEntry>
97 m_successfulEntriesHasBeenSet = true;
98 m_successfulEntries.emplace_back(std::forward<SuccessfulEntriesT>(value));
99 return *this;
100 }
102
104
105 inline const Aws::String& GetRequestId() const { return m_requestId; }
106 template <typename RequestIdT = Aws::String>
107 void SetRequestId(RequestIdT&& value) {
108 m_requestIdHasBeenSet = true;
109 m_requestId = std::forward<RequestIdT>(value);
110 }
111 template <typename RequestIdT = Aws::String>
113 SetRequestId(std::forward<RequestIdT>(value));
114 return *this;
115 }
117 private:
118 Aws::String m_appArn;
119
121
123
124 Aws::String m_requestId;
125 bool m_appArnHasBeenSet = false;
126 bool m_failedEntriesHasBeenSet = false;
127 bool m_successfulEntriesHasBeenSet = false;
128 bool m_requestIdHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace ResilienceHub
133} // namespace Aws
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusResult()=default
const Aws::Vector< BatchUpdateRecommendationStatusSuccessfulEntry > & GetSuccessfulEntries() const
BatchUpdateRecommendationStatusResult & AddSuccessfulEntries(SuccessfulEntriesT &&value)
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BatchUpdateRecommendationStatusFailedEntry > & GetFailedEntries() const
BatchUpdateRecommendationStatusResult & WithSuccessfulEntries(SuccessfulEntriesT &&value)
BatchUpdateRecommendationStatusResult & AddFailedEntries(FailedEntriesT &&value)
BatchUpdateRecommendationStatusResult & WithRequestId(RequestIdT &&value)
BatchUpdateRecommendationStatusResult & WithFailedEntries(FailedEntriesT &&value)
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusResult(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