AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchUpdateRecommendationStatusResult.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/BatchUpdateRecommendationStatusFailedEntry.h>
11#include <aws/resiliencehub/model/BatchUpdateRecommendationStatusSuccessfulEntry.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ResilienceHub
27{
28namespace Model
29{
31 {
32 public:
36
37
39
48 inline const Aws::String& GetAppArn() const{ return m_appArn; }
49 inline void SetAppArn(const Aws::String& value) { m_appArn = value; }
50 inline void SetAppArn(Aws::String&& value) { m_appArn = std::move(value); }
51 inline void SetAppArn(const char* value) { m_appArn.assign(value); }
52 inline BatchUpdateRecommendationStatusResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
53 inline BatchUpdateRecommendationStatusResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
54 inline BatchUpdateRecommendationStatusResult& WithAppArn(const char* value) { SetAppArn(value); return *this;}
56
58
62 inline const Aws::Vector<BatchUpdateRecommendationStatusFailedEntry>& GetFailedEntries() const{ return m_failedEntries; }
63 inline void SetFailedEntries(const Aws::Vector<BatchUpdateRecommendationStatusFailedEntry>& value) { m_failedEntries = value; }
64 inline void SetFailedEntries(Aws::Vector<BatchUpdateRecommendationStatusFailedEntry>&& value) { m_failedEntries = std::move(value); }
67 inline BatchUpdateRecommendationStatusResult& AddFailedEntries(const BatchUpdateRecommendationStatusFailedEntry& value) { m_failedEntries.push_back(value); return *this; }
68 inline BatchUpdateRecommendationStatusResult& AddFailedEntries(BatchUpdateRecommendationStatusFailedEntry&& value) { m_failedEntries.push_back(std::move(value)); return *this; }
70
72
75 inline const Aws::Vector<BatchUpdateRecommendationStatusSuccessfulEntry>& GetSuccessfulEntries() const{ return m_successfulEntries; }
76 inline void SetSuccessfulEntries(const Aws::Vector<BatchUpdateRecommendationStatusSuccessfulEntry>& value) { m_successfulEntries = value; }
77 inline void SetSuccessfulEntries(Aws::Vector<BatchUpdateRecommendationStatusSuccessfulEntry>&& value) { m_successfulEntries = std::move(value); }
80 inline BatchUpdateRecommendationStatusResult& AddSuccessfulEntries(const BatchUpdateRecommendationStatusSuccessfulEntry& value) { m_successfulEntries.push_back(value); return *this; }
81 inline BatchUpdateRecommendationStatusResult& AddSuccessfulEntries(BatchUpdateRecommendationStatusSuccessfulEntry&& value) { m_successfulEntries.push_back(std::move(value)); return *this; }
83
85
86 inline const Aws::String& GetRequestId() const{ return m_requestId; }
87 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
88 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
89 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
90 inline BatchUpdateRecommendationStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
91 inline BatchUpdateRecommendationStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
92 inline BatchUpdateRecommendationStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
94 private:
95
96 Aws::String m_appArn;
97
99
101
102 Aws::String m_requestId;
103 };
104
105} // namespace Model
106} // namespace ResilienceHub
107} // namespace Aws
BatchUpdateRecommendationStatusResult & AddSuccessfulEntries(const BatchUpdateRecommendationStatusSuccessfulEntry &value)
const Aws::Vector< BatchUpdateRecommendationStatusSuccessfulEntry > & GetSuccessfulEntries() const
BatchUpdateRecommendationStatusResult & WithFailedEntries(const Aws::Vector< BatchUpdateRecommendationStatusFailedEntry > &value)
void SetFailedEntries(Aws::Vector< BatchUpdateRecommendationStatusFailedEntry > &&value)
BatchUpdateRecommendationStatusResult & WithSuccessfulEntries(const Aws::Vector< BatchUpdateRecommendationStatusSuccessfulEntry > &value)
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BatchUpdateRecommendationStatusFailedEntry > & GetFailedEntries() const
BatchUpdateRecommendationStatusResult & WithRequestId(const char *value)
BatchUpdateRecommendationStatusResult & WithSuccessfulEntries(Aws::Vector< BatchUpdateRecommendationStatusSuccessfulEntry > &&value)
void SetSuccessfulEntries(Aws::Vector< BatchUpdateRecommendationStatusSuccessfulEntry > &&value)
BatchUpdateRecommendationStatusResult & AddFailedEntries(BatchUpdateRecommendationStatusFailedEntry &&value)
BatchUpdateRecommendationStatusResult & AddSuccessfulEntries(BatchUpdateRecommendationStatusSuccessfulEntry &&value)
BatchUpdateRecommendationStatusResult & WithAppArn(const Aws::String &value)
BatchUpdateRecommendationStatusResult & WithRequestId(const Aws::String &value)
BatchUpdateRecommendationStatusResult & WithAppArn(const char *value)
BatchUpdateRecommendationStatusResult & WithRequestId(Aws::String &&value)
void SetFailedEntries(const Aws::Vector< BatchUpdateRecommendationStatusFailedEntry > &value)
BatchUpdateRecommendationStatusResult & AddFailedEntries(const BatchUpdateRecommendationStatusFailedEntry &value)
BatchUpdateRecommendationStatusResult & WithAppArn(Aws::String &&value)
BatchUpdateRecommendationStatusResult & WithFailedEntries(Aws::Vector< BatchUpdateRecommendationStatusFailedEntry > &&value)
void SetSuccessfulEntries(const Aws::Vector< BatchUpdateRecommendationStatusSuccessfulEntry > &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