7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/inspector/Inspector_EXPORTS.h>
10#include <aws/inspector/model/Attribute.h>
11#include <aws/inspector/model/Scope.h>
44 template <
typename TitleT = Aws::String>
46 m_titleHasBeenSet =
true;
47 m_title = std::forward<TitleT>(value);
49 template <
typename TitleT = Aws::String>
51 SetTitle(std::forward<TitleT>(value));
62 template <
typename DescriptionT = Aws::String>
64 m_descriptionHasBeenSet =
true;
65 m_description = std::forward<DescriptionT>(value);
67 template <
typename DescriptionT = Aws::String>
80 template <
typename RecommendationT = Aws::String>
82 m_recommendationHasBeenSet =
true;
83 m_recommendation = std::forward<RecommendationT>(value);
85 template <
typename RecommendationT = Aws::String>
98 template <
typename ScopesT = Aws::Vector<Scope>>
100 m_scopesHasBeenSet =
true;
101 m_scopes = std::forward<ScopesT>(value);
103 template <
typename ScopesT = Aws::Vector<Scope>>
108 template <
typename ScopesT = Scope>
110 m_scopesHasBeenSet =
true;
111 m_scopes.emplace_back(std::forward<ScopesT>(value));
122 template <
typename AttributesT = Aws::Vector<Attribute>>
124 m_attributesHasBeenSet =
true;
125 m_attributes = std::forward<AttributesT>(value);
127 template <
typename AttributesT = Aws::Vector<Attribute>>
132 template <
typename AttributesT = Attribute>
134 m_attributesHasBeenSet =
true;
135 m_attributes.emplace_back(std::forward<AttributesT>(value));
149 bool m_titleHasBeenSet =
false;
150 bool m_descriptionHasBeenSet =
false;
151 bool m_recommendationHasBeenSet =
false;
152 bool m_scopesHasBeenSet =
false;
153 bool m_attributesHasBeenSet =
false;
ExclusionPreview & WithScopes(ScopesT &&value)
ExclusionPreview & WithTitle(TitleT &&value)
void SetScopes(ScopesT &&value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRecommendation() const
void SetAttributes(AttributesT &&value)
ExclusionPreview & WithRecommendation(RecommendationT &&value)
AWS_INSPECTOR_API ExclusionPreview()=default
void SetTitle(TitleT &&value)
bool AttributesHasBeenSet() const
ExclusionPreview & WithAttributes(AttributesT &&value)
const Aws::Vector< Attribute > & GetAttributes() const
bool TitleHasBeenSet() const
AWS_INSPECTOR_API ExclusionPreview(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
const Aws::String & GetTitle() const
AWS_INSPECTOR_API ExclusionPreview & operator=(Aws::Utils::Json::JsonView jsonValue)
ExclusionPreview & AddScopes(ScopesT &&value)
ExclusionPreview & WithDescription(DescriptionT &&value)
const Aws::Vector< Scope > & GetScopes() const
bool ScopesHasBeenSet() const
bool DescriptionHasBeenSet() const
bool RecommendationHasBeenSet() const
ExclusionPreview & AddAttributes(AttributesT &&value)
const Aws::String & GetDescription() const
void SetRecommendation(RecommendationT &&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