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 ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
52 template<
typename ArnT = Aws::String>
62 template<
typename TitleT = Aws::String>
63 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
64 template<
typename TitleT = Aws::String>
74 template<
typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
76 template<
typename DescriptionT = Aws::String>
86 template<
typename RecommendationT = Aws::String>
87 void SetRecommendation(RecommendationT&& value) { m_recommendationHasBeenSet =
true; m_recommendation = std::forward<RecommendationT>(value); }
88 template<
typename RecommendationT = Aws::String>
98 template<
typename ScopesT = Aws::Vector<Scope>>
99 void SetScopes(ScopesT&& value) { m_scopesHasBeenSet =
true; m_scopes = std::forward<ScopesT>(value); }
100 template<
typename ScopesT = Aws::Vector<Scope>>
102 template<
typename ScopesT = Scope>
103 Exclusion&
AddScopes(ScopesT&& value) { m_scopesHasBeenSet =
true; m_scopes.emplace_back(std::forward<ScopesT>(value));
return *
this; }
112 template<
typename AttributesT = Aws::Vector<Attribute>>
113 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
114 template<
typename AttributesT = Aws::Vector<Attribute>>
116 template<
typename AttributesT = Attribute>
117 Exclusion&
AddAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes.emplace_back(std::forward<AttributesT>(value));
return *
this; }
122 bool m_arnHasBeenSet =
false;
125 bool m_titleHasBeenSet =
false;
128 bool m_descriptionHasBeenSet =
false;
131 bool m_recommendationHasBeenSet =
false;
134 bool m_scopesHasBeenSet =
false;
137 bool m_attributesHasBeenSet =
false;
void SetTitle(TitleT &&value)
void SetDescription(DescriptionT &&value)
Exclusion & AddScopes(ScopesT &&value)
const Aws::Vector< Scope > & GetScopes() const
void SetRecommendation(RecommendationT &&value)
Exclusion & WithArn(ArnT &&value)
Exclusion & WithRecommendation(RecommendationT &&value)
Exclusion & WithAttributes(AttributesT &&value)
Exclusion & WithTitle(TitleT &&value)
const Aws::String & GetDescription() const
Exclusion & WithDescription(DescriptionT &&value)
bool ScopesHasBeenSet() const
AWS_INSPECTOR_API Exclusion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(ArnT &&value)
bool ArnHasBeenSet() const
Exclusion & AddAttributes(AttributesT &&value)
const Aws::String & GetRecommendation() const
Exclusion & WithScopes(ScopesT &&value)
const Aws::String & GetArn() const
AWS_INSPECTOR_API Exclusion()=default
bool RecommendationHasBeenSet() const
void SetAttributes(AttributesT &&value)
const Aws::Vector< Attribute > & GetAttributes() const
AWS_INSPECTOR_API Exclusion(Aws::Utils::Json::JsonView jsonValue)
void SetScopes(ScopesT &&value)
bool AttributesHasBeenSet() const
bool DescriptionHasBeenSet() const
bool TitleHasBeenSet() const
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTitle() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue