AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
RejectResourceGroupingRecommendationsRequest.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/ResilienceHubRequest.h>
10#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
11#include <aws/resiliencehub/model/RejectGroupingRecommendationEntry.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ResilienceHub {
17namespace Model {
18
22 public:
23 AWS_RESILIENCEHUB_API RejectResourceGroupingRecommendationsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "RejectResourceGroupingRecommendations"; }
30
31 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
32
34
43 inline const Aws::String& GetAppArn() const { return m_appArn; }
44 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
45 template <typename AppArnT = Aws::String>
46 void SetAppArn(AppArnT&& value) {
47 m_appArnHasBeenSet = true;
48 m_appArn = std::forward<AppArnT>(value);
49 }
50 template <typename AppArnT = Aws::String>
52 SetAppArn(std::forward<AppArnT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::Vector<RejectGroupingRecommendationEntry>& GetEntries() const { return m_entries; }
63 inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; }
64 template <typename EntriesT = Aws::Vector<RejectGroupingRecommendationEntry>>
65 void SetEntries(EntriesT&& value) {
66 m_entriesHasBeenSet = true;
67 m_entries = std::forward<EntriesT>(value);
68 }
69 template <typename EntriesT = Aws::Vector<RejectGroupingRecommendationEntry>>
71 SetEntries(std::forward<EntriesT>(value));
72 return *this;
73 }
74 template <typename EntriesT = RejectGroupingRecommendationEntry>
76 m_entriesHasBeenSet = true;
77 m_entries.emplace_back(std::forward<EntriesT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_appArn;
83 bool m_appArnHasBeenSet = false;
84
86 bool m_entriesHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace ResilienceHub
91} // namespace Aws
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector