7#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/trustedadvisor/model/RecommendationSource.h>
12#include <aws/trustedadvisor/model/RecommendationPillar.h>
25namespace TrustedAdvisor
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 AwsServicesT = Aws::Vector<Aws::String>>
63 void SetAwsServices(AwsServicesT&& value) { m_awsServicesHasBeenSet =
true; m_awsServices = std::forward<AwsServicesT>(value); }
64 template<
typename AwsServicesT = Aws::Vector<Aws::String>>
66 template<
typename AwsServicesT = Aws::String>
67 CheckSummary&
AddAwsServices(AwsServicesT&& value) { m_awsServicesHasBeenSet =
true; m_awsServices.emplace_back(std::forward<AwsServicesT>(value));
return *
this; }
76 template<
typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
78 template<
typename DescriptionT = Aws::String>
88 template<
typename IdT = Aws::String>
89 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
90 template<
typename IdT = Aws::String>
100 template<
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
101 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
102 template<
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
104 template<
typename MetadataKeyT = Aws::String,
typename MetadataValueT = Aws::String>
106 m_metadataHasBeenSet =
true; m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
return *
this;
116 template<
typename NameT = Aws::String>
117 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
118 template<
typename NameT = Aws::String>
128 template<
typename PillarsT = Aws::Vector<RecommendationPillar>>
129 void SetPillars(PillarsT&& value) { m_pillarsHasBeenSet =
true; m_pillars = std::forward<PillarsT>(value); }
130 template<
typename PillarsT = Aws::Vector<RecommendationPillar>>
147 bool m_arnHasBeenSet =
false;
150 bool m_awsServicesHasBeenSet =
false;
153 bool m_descriptionHasBeenSet =
false;
156 bool m_idHasBeenSet =
false;
159 bool m_metadataHasBeenSet =
false;
162 bool m_nameHasBeenSet =
false;
165 bool m_pillarsHasBeenSet =
false;
168 bool m_sourceHasBeenSet =
false;
bool MetadataHasBeenSet() const
CheckSummary & AddAwsServices(AwsServicesT &&value)
const Aws::String & GetName() const
AWS_TRUSTEDADVISOR_API CheckSummary()=default
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
bool ArnHasBeenSet() const
AWS_TRUSTEDADVISOR_API CheckSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RecommendationPillar > & GetPillars() const
bool PillarsHasBeenSet() const
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPillars(PillarsT &&value)
CheckSummary & WithDescription(DescriptionT &&value)
CheckSummary & WithPillars(PillarsT &&value)
void SetMetadata(MetadataT &&value)
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
void SetArn(ArnT &&value)
CheckSummary & WithId(IdT &&value)
bool DescriptionHasBeenSet() const
bool SourceHasBeenSet() const
CheckSummary & AddPillars(RecommendationPillar value)
bool AwsServicesHasBeenSet() const
CheckSummary & WithMetadata(MetadataT &&value)
const Aws::Vector< Aws::String > & GetAwsServices() const
CheckSummary & WithSource(RecommendationSource value)
CheckSummary & WithArn(ArnT &&value)
RecommendationSource GetSource() const
const Aws::String & GetDescription() const
bool IdHasBeenSet() const
CheckSummary & WithAwsServices(AwsServicesT &&value)
AWS_TRUSTEDADVISOR_API CheckSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
void SetAwsServices(AwsServicesT &&value)
const Aws::String & GetId() const
void SetSource(RecommendationSource value)
CheckSummary & WithName(NameT &&value)
CheckSummary & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
bool NameHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue