7#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/trustedadvisor/model/ExclusionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/trustedadvisor/model/ResourceStatus.h>
25namespace TrustedAdvisor
51 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
52 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
66 inline void SetAwsResourceId(
const char* value) { m_awsResourceIdHasBeenSet =
true; m_awsResourceId.assign(value); }
91 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
92 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
137 inline void SetRecommendationArn(
const char* value) { m_recommendationArnHasBeenSet =
true; m_recommendationArn.assign(value); }
151 inline void SetRegionCode(
const char* value) { m_regionCodeHasBeenSet =
true; m_regionCode.assign(value); }
171 bool m_arnHasBeenSet =
false;
174 bool m_awsResourceIdHasBeenSet =
false;
177 bool m_exclusionStatusHasBeenSet =
false;
180 bool m_idHasBeenSet =
false;
183 bool m_lastUpdatedAtHasBeenSet =
false;
186 bool m_metadataHasBeenSet =
false;
189 bool m_recommendationArnHasBeenSet =
false;
192 bool m_regionCodeHasBeenSet =
false;
195 bool m_statusHasBeenSet =
false;
RecommendationResourceSummary & WithAwsResourceId(Aws::String &&value)
RecommendationResourceSummary & WithAwsResourceId(const Aws::String &value)
void SetRecommendationArn(const Aws::String &value)
RecommendationResourceSummary & WithId(Aws::String &&value)
bool RecommendationArnHasBeenSet() const
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
RecommendationResourceSummary & WithExclusionStatus(const ExclusionStatus &value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
RecommendationResourceSummary & WithArn(const Aws::String &value)
const Aws::String & GetRecommendationArn() const
void SetId(Aws::String &&value)
const Aws::String & GetArn() const
RecommendationResourceSummary & WithRegionCode(Aws::String &&value)
const Aws::String & GetRegionCode() const
AWS_TRUSTEDADVISOR_API RecommendationResourceSummary()
RecommendationResourceSummary & AddMetadata(const Aws::String &key, const Aws::String &value)
bool ExclusionStatusHasBeenSet() const
void SetArn(const char *value)
AWS_TRUSTEDADVISOR_API RecommendationResourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetAwsResourceId(Aws::String &&value)
RecommendationResourceSummary & WithRecommendationArn(const Aws::String &value)
void SetRegionCode(const char *value)
RecommendationResourceSummary & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetExclusionStatus(const ExclusionStatus &value)
bool IdHasBeenSet() const
RecommendationResourceSummary & AddMetadata(const Aws::String &key, Aws::String &&value)
bool AwsResourceIdHasBeenSet() const
RecommendationResourceSummary & AddMetadata(Aws::String &&key, const char *value)
RecommendationResourceSummary & WithExclusionStatus(ExclusionStatus &&value)
RecommendationResourceSummary & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
RecommendationResourceSummary & WithId(const char *value)
bool RegionCodeHasBeenSet() const
void SetArn(Aws::String &&value)
RecommendationResourceSummary & AddMetadata(Aws::String &&key, Aws::String &&value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetAwsResourceId(const char *value)
void SetId(const char *value)
RecommendationResourceSummary & WithRegionCode(const char *value)
RecommendationResourceSummary & WithAwsResourceId(const char *value)
void SetRecommendationArn(const char *value)
RecommendationResourceSummary & WithArn(const char *value)
RecommendationResourceSummary & WithStatus(const ResourceStatus &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
RecommendationResourceSummary & AddMetadata(const char *key, const char *value)
const Aws::String & GetId() const
const ResourceStatus & GetStatus() const
RecommendationResourceSummary & WithArn(Aws::String &&value)
RecommendationResourceSummary & WithRecommendationArn(const char *value)
void SetStatus(const ResourceStatus &value)
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
const ExclusionStatus & GetExclusionStatus() const
bool StatusHasBeenSet() const
void SetRecommendationArn(Aws::String &&value)
AWS_TRUSTEDADVISOR_API RecommendationResourceSummary(Aws::Utils::Json::JsonView jsonValue)
void SetRegionCode(const Aws::String &value)
RecommendationResourceSummary & WithRegionCode(const Aws::String &value)
bool LastUpdatedAtHasBeenSet() const
RecommendationResourceSummary & WithId(const Aws::String &value)
RecommendationResourceSummary & WithRecommendationArn(Aws::String &&value)
void SetRegionCode(Aws::String &&value)
RecommendationResourceSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetAwsResourceId(const Aws::String &value)
void SetExclusionStatus(ExclusionStatus &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
RecommendationResourceSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetStatus(ResourceStatus &&value)
bool MetadataHasBeenSet() const
const Aws::String & GetAwsResourceId() const
void SetArn(const Aws::String &value)
bool ArnHasBeenSet() const
RecommendationResourceSummary & AddMetadata(const char *key, Aws::String &&value)
RecommendationResourceSummary & WithStatus(ResourceStatus &&value)
void SetId(const Aws::String &value)
RecommendationResourceSummary & AddMetadata(Aws::String &&key, const Aws::String &value)
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
Aws::Utils::Json::JsonValue JsonValue