AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
InfrastructureAndCodeRecommendation.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/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace resiliencehubv2 {
21namespace Model {
22
30 public:
31 AWS_RESILIENCEHUBV2_API InfrastructureAndCodeRecommendation() = default;
34 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::String>& GetSuggestedChanges() const { return m_suggestedChanges; }
41 inline bool SuggestedChangesHasBeenSet() const { return m_suggestedChangesHasBeenSet; }
42 template <typename SuggestedChangesT = Aws::Vector<Aws::String>>
43 void SetSuggestedChanges(SuggestedChangesT&& value) {
44 m_suggestedChangesHasBeenSet = true;
45 m_suggestedChanges = std::forward<SuggestedChangesT>(value);
46 }
47 template <typename SuggestedChangesT = Aws::Vector<Aws::String>>
49 SetSuggestedChanges(std::forward<SuggestedChangesT>(value));
50 return *this;
51 }
52 template <typename SuggestedChangesT = Aws::String>
54 m_suggestedChangesHasBeenSet = true;
55 m_suggestedChanges.emplace_back(std::forward<SuggestedChangesT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<Aws::String> m_suggestedChanges;
61 bool m_suggestedChangesHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace resiliencehubv2
66} // namespace Aws
AWS_RESILIENCEHUBV2_API InfrastructureAndCodeRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API InfrastructureAndCodeRecommendation(Aws::Utils::Json::JsonView jsonValue)
InfrastructureAndCodeRecommendation & AddSuggestedChanges(SuggestedChangesT &&value)
AWS_RESILIENCEHUBV2_API InfrastructureAndCodeRecommendation()=default
InfrastructureAndCodeRecommendation & WithSuggestedChanges(SuggestedChangesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue