AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComponentRecommendation.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/RecommendationComplianceStatus.h>
11#include <aws/resiliencehub/model/ConfigRecommendation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ResilienceHub
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_RESILIENCEHUB_API ComponentRecommendation();
40 AWS_RESILIENCEHUB_API ComponentRecommendation(Aws::Utils::Json::JsonView jsonValue);
42 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetAppComponentName() const{ return m_appComponentName; }
50 inline bool AppComponentNameHasBeenSet() const { return m_appComponentNameHasBeenSet; }
51 inline void SetAppComponentName(const Aws::String& value) { m_appComponentNameHasBeenSet = true; m_appComponentName = value; }
52 inline void SetAppComponentName(Aws::String&& value) { m_appComponentNameHasBeenSet = true; m_appComponentName = std::move(value); }
53 inline void SetAppComponentName(const char* value) { m_appComponentNameHasBeenSet = true; m_appComponentName.assign(value); }
54 inline ComponentRecommendation& WithAppComponentName(const Aws::String& value) { SetAppComponentName(value); return *this;}
55 inline ComponentRecommendation& WithAppComponentName(Aws::String&& value) { SetAppComponentName(std::move(value)); return *this;}
56 inline ComponentRecommendation& WithAppComponentName(const char* value) { SetAppComponentName(value); return *this;}
58
60
63 inline const Aws::Vector<ConfigRecommendation>& GetConfigRecommendations() const{ return m_configRecommendations; }
64 inline bool ConfigRecommendationsHasBeenSet() const { return m_configRecommendationsHasBeenSet; }
65 inline void SetConfigRecommendations(const Aws::Vector<ConfigRecommendation>& value) { m_configRecommendationsHasBeenSet = true; m_configRecommendations = value; }
66 inline void SetConfigRecommendations(Aws::Vector<ConfigRecommendation>&& value) { m_configRecommendationsHasBeenSet = true; m_configRecommendations = std::move(value); }
69 inline ComponentRecommendation& AddConfigRecommendations(const ConfigRecommendation& value) { m_configRecommendationsHasBeenSet = true; m_configRecommendations.push_back(value); return *this; }
70 inline ComponentRecommendation& AddConfigRecommendations(ConfigRecommendation&& value) { m_configRecommendationsHasBeenSet = true; m_configRecommendations.push_back(std::move(value)); return *this; }
72
74
77 inline const RecommendationComplianceStatus& GetRecommendationStatus() const{ return m_recommendationStatus; }
78 inline bool RecommendationStatusHasBeenSet() const { return m_recommendationStatusHasBeenSet; }
79 inline void SetRecommendationStatus(const RecommendationComplianceStatus& value) { m_recommendationStatusHasBeenSet = true; m_recommendationStatus = value; }
80 inline void SetRecommendationStatus(RecommendationComplianceStatus&& value) { m_recommendationStatusHasBeenSet = true; m_recommendationStatus = std::move(value); }
84 private:
85
86 Aws::String m_appComponentName;
87 bool m_appComponentNameHasBeenSet = false;
88
89 Aws::Vector<ConfigRecommendation> m_configRecommendations;
90 bool m_configRecommendationsHasBeenSet = false;
91
92 RecommendationComplianceStatus m_recommendationStatus;
93 bool m_recommendationStatusHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ResilienceHub
98} // namespace Aws
ComponentRecommendation & WithAppComponentName(const char *value)
void SetConfigRecommendations(Aws::Vector< ConfigRecommendation > &&value)
AWS_RESILIENCEHUB_API ComponentRecommendation(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ConfigRecommendation > & GetConfigRecommendations() const
void SetRecommendationStatus(const RecommendationComplianceStatus &value)
void SetConfigRecommendations(const Aws::Vector< ConfigRecommendation > &value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentRecommendation & WithRecommendationStatus(RecommendationComplianceStatus &&value)
ComponentRecommendation & WithAppComponentName(const Aws::String &value)
ComponentRecommendation & WithAppComponentName(Aws::String &&value)
ComponentRecommendation & WithRecommendationStatus(const RecommendationComplianceStatus &value)
ComponentRecommendation & AddConfigRecommendations(ConfigRecommendation &&value)
ComponentRecommendation & AddConfigRecommendations(const ConfigRecommendation &value)
ComponentRecommendation & WithConfigRecommendations(const Aws::Vector< ConfigRecommendation > &value)
const RecommendationComplianceStatus & GetRecommendationStatus() const
AWS_RESILIENCEHUB_API ComponentRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRecommendationStatus(RecommendationComplianceStatus &&value)
ComponentRecommendation & WithConfigRecommendations(Aws::Vector< ConfigRecommendation > &&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