7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/ComplianceStatus.h>
10#include <aws/ssm/model/ComplianceSeverity.h>
11#include <aws/ssm/model/ComplianceExecutionSummary.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
57 inline void SetComplianceType(
const char* value) { m_complianceTypeHasBeenSet =
true; m_complianceType.assign(value); }
72 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
86 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
102 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
118 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
180 inline ComplianceItem&
AddDetails(
const char* key,
const char* value) { m_detailsHasBeenSet =
true; m_details.emplace(key, value);
return *
this; }
185 bool m_complianceTypeHasBeenSet =
false;
188 bool m_resourceTypeHasBeenSet =
false;
191 bool m_resourceIdHasBeenSet =
false;
194 bool m_idHasBeenSet =
false;
197 bool m_titleHasBeenSet =
false;
200 bool m_statusHasBeenSet =
false;
203 bool m_severityHasBeenSet =
false;
206 bool m_executionSummaryHasBeenSet =
false;
209 bool m_detailsHasBeenSet =
false;
ComplianceItem & WithTitle(const Aws::String &value)
ComplianceItem & AddDetails(Aws::String &&key, const Aws::String &value)
ComplianceItem & WithComplianceType(const char *value)
const Aws::String & GetId() const
void SetResourceId(const char *value)
AWS_SSM_API ComplianceItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ComplianceItem & WithExecutionSummary(const ComplianceExecutionSummary &value)
ComplianceItem & WithResourceId(const Aws::String &value)
void SetComplianceType(const Aws::String &value)
const Aws::String & GetTitle() const
void SetTitle(const Aws::String &value)
ComplianceItem & WithResourceType(const char *value)
ComplianceItem & WithTitle(const char *value)
void SetId(const Aws::String &value)
ComplianceItem & WithResourceType(Aws::String &&value)
bool ResourceIdHasBeenSet() const
bool SeverityHasBeenSet() const
ComplianceItem & AddDetails(Aws::String &&key, Aws::String &&value)
ComplianceItem & WithDetails(Aws::Map< Aws::String, Aws::String > &&value)
void SetSeverity(const ComplianceSeverity &value)
void SetTitle(Aws::String &&value)
ComplianceItem & WithTitle(Aws::String &&value)
void SetExecutionSummary(const ComplianceExecutionSummary &value)
ComplianceItem & AddDetails(const char *key, const char *value)
void SetResourceId(const Aws::String &value)
ComplianceItem & WithResourceId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetDetails() const
void SetDetails(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SSM_API ComplianceItem()
ComplianceItem & WithDetails(const Aws::Map< Aws::String, Aws::String > &value)
ComplianceItem & AddDetails(const Aws::String &key, Aws::String &&value)
void SetResourceType(const char *value)
void SetResourceType(Aws::String &&value)
ComplianceItem & WithStatus(ComplianceStatus &&value)
ComplianceItem & WithComplianceType(const Aws::String &value)
bool DetailsHasBeenSet() const
void SetResourceType(const Aws::String &value)
ComplianceItem & WithStatus(const ComplianceStatus &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
bool TitleHasBeenSet() const
void SetStatus(const ComplianceStatus &value)
const Aws::String & GetResourceType() const
bool ComplianceTypeHasBeenSet() const
void SetDetails(Aws::Map< Aws::String, Aws::String > &&value)
const ComplianceExecutionSummary & GetExecutionSummary() const
bool ResourceTypeHasBeenSet() const
ComplianceItem & AddDetails(Aws::String &&key, const char *value)
void SetExecutionSummary(ComplianceExecutionSummary &&value)
const Aws::String & GetResourceId() const
void SetTitle(const char *value)
ComplianceItem & WithResourceId(Aws::String &&value)
const Aws::String & GetComplianceType() const
bool IdHasBeenSet() const
const ComplianceSeverity & GetSeverity() const
ComplianceItem & WithId(const Aws::String &value)
ComplianceItem & WithId(Aws::String &&value)
void SetStatus(ComplianceStatus &&value)
AWS_SSM_API ComplianceItem(Aws::Utils::Json::JsonView jsonValue)
void SetResourceId(Aws::String &&value)
const ComplianceStatus & GetStatus() const
void SetComplianceType(const char *value)
ComplianceItem & WithComplianceType(Aws::String &&value)
ComplianceItem & AddDetails(const char *key, Aws::String &&value)
void SetId(Aws::String &&value)
ComplianceItem & WithExecutionSummary(ComplianceExecutionSummary &&value)
void SetComplianceType(Aws::String &&value)
bool ExecutionSummaryHasBeenSet() const
ComplianceItem & AddDetails(const Aws::String &key, const Aws::String &value)
bool StatusHasBeenSet() const
ComplianceItem & WithId(const char *value)
void SetId(const char *value)
ComplianceItem & WithSeverity(const ComplianceSeverity &value)
void SetSeverity(ComplianceSeverity &&value)
ComplianceItem & WithSeverity(ComplianceSeverity &&value)
ComplianceItem & WithResourceType(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