AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchUpdateRecommendationStatusRequest.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/ResilienceHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/resiliencehub/model/UpdateRecommendationStatusRequestEntry.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ResilienceHub
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchUpdateRecommendationStatus"; }
33
34 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
35
36
38
47 inline const Aws::String& GetAppArn() const{ return m_appArn; }
48 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
49 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
50 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
51 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
52 inline BatchUpdateRecommendationStatusRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
53 inline BatchUpdateRecommendationStatusRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
54 inline BatchUpdateRecommendationStatusRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
56
58
62 inline const Aws::Vector<UpdateRecommendationStatusRequestEntry>& GetRequestEntries() const{ return m_requestEntries; }
63 inline bool RequestEntriesHasBeenSet() const { return m_requestEntriesHasBeenSet; }
64 inline void SetRequestEntries(const Aws::Vector<UpdateRecommendationStatusRequestEntry>& value) { m_requestEntriesHasBeenSet = true; m_requestEntries = value; }
65 inline void SetRequestEntries(Aws::Vector<UpdateRecommendationStatusRequestEntry>&& value) { m_requestEntriesHasBeenSet = true; m_requestEntries = std::move(value); }
68 inline BatchUpdateRecommendationStatusRequest& AddRequestEntries(const UpdateRecommendationStatusRequestEntry& value) { m_requestEntriesHasBeenSet = true; m_requestEntries.push_back(value); return *this; }
69 inline BatchUpdateRecommendationStatusRequest& AddRequestEntries(UpdateRecommendationStatusRequestEntry&& value) { m_requestEntriesHasBeenSet = true; m_requestEntries.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::String m_appArn;
74 bool m_appArnHasBeenSet = false;
75
77 bool m_requestEntriesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ResilienceHub
82} // namespace Aws
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
BatchUpdateRecommendationStatusRequest & WithRequestEntries(const Aws::Vector< UpdateRecommendationStatusRequestEntry > &value)
BatchUpdateRecommendationStatusRequest & AddRequestEntries(const UpdateRecommendationStatusRequestEntry &value)
BatchUpdateRecommendationStatusRequest & WithAppArn(const char *value)
BatchUpdateRecommendationStatusRequest & WithAppArn(const Aws::String &value)
BatchUpdateRecommendationStatusRequest & WithRequestEntries(Aws::Vector< UpdateRecommendationStatusRequestEntry > &&value)
void SetRequestEntries(Aws::Vector< UpdateRecommendationStatusRequestEntry > &&value)
BatchUpdateRecommendationStatusRequest & WithAppArn(Aws::String &&value)
void SetRequestEntries(const Aws::Vector< UpdateRecommendationStatusRequestEntry > &value)
const Aws::Vector< UpdateRecommendationStatusRequestEntry > & GetRequestEntries() const
BatchUpdateRecommendationStatusRequest & AddRequestEntries(UpdateRecommendationStatusRequestEntry &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector