7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/inspector/model/Scope.h>
11#include <aws/inspector/model/Attribute.h>
50 template<
typename TitleT = Aws::String>
51 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
52 template<
typename TitleT = Aws::String>
62 template<
typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
64 template<
typename DescriptionT = Aws::String>
74 template<
typename RecommendationT = Aws::String>
75 void SetRecommendation(RecommendationT&& value) { m_recommendationHasBeenSet =
true; m_recommendation = std::forward<RecommendationT>(value); }
76 template<
typename RecommendationT = Aws::String>
86 template<
typename ScopesT = Aws::Vector<Scope>>
87 void SetScopes(ScopesT&& value) { m_scopesHasBeenSet =
true; m_scopes = std::forward<ScopesT>(value); }
88 template<
typename ScopesT = Aws::Vector<Scope>>
90 template<
typename ScopesT = Scope>
91 ExclusionPreview&
AddScopes(ScopesT&& value) { m_scopesHasBeenSet =
true; m_scopes.emplace_back(std::forward<ScopesT>(value));
return *
this; }
100 template<
typename AttributesT = Aws::Vector<Attribute>>
101 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
102 template<
typename AttributesT = Aws::Vector<Attribute>>
104 template<
typename AttributesT = Attribute>
105 ExclusionPreview&
AddAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes.emplace_back(std::forward<AttributesT>(value));
return *
this; }
110 bool m_titleHasBeenSet =
false;
113 bool m_descriptionHasBeenSet =
false;
116 bool m_recommendationHasBeenSet =
false;
119 bool m_scopesHasBeenSet =
false;
122 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