7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/StatusCounts.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/inspector2/model/CisTargetStatus.h>
12#include <aws/inspector2/model/CisTargetStatusReason.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
53 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
67 inline void SetPlatform(
const char* value) { m_platformHasBeenSet =
true; m_platform.assign(value); }
81 inline void SetScanArn(
const char* value) { m_scanArnHasBeenSet =
true; m_scanArn.assign(value); }
107 inline void SetTargetResourceId(
const char* value) { m_targetResourceIdHasBeenSet =
true; m_targetResourceId.assign(value); }
157 bool m_accountIdHasBeenSet =
false;
160 bool m_platformHasBeenSet =
false;
163 bool m_scanArnHasBeenSet =
false;
166 bool m_statusCountsHasBeenSet =
false;
169 bool m_targetResourceIdHasBeenSet =
false;
172 bool m_targetResourceTagsHasBeenSet =
false;
175 bool m_targetStatusHasBeenSet =
false;
178 bool m_targetStatusReasonHasBeenSet =
false;
CisTargetResourceAggregation & WithTargetStatus(CisTargetStatus &&value)
CisTargetResourceAggregation & WithTargetResourceId(const Aws::String &value)
void SetStatusCounts(const StatusCounts &value)
CisTargetResourceAggregation & AddTargetResourceTags(const Aws::String &key, Aws::Vector< Aws::String > &&value)
AWS_INSPECTOR2_API CisTargetResourceAggregation()
void SetTargetResourceTags(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
bool TargetResourceIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetTargetResourceTags() const
void SetStatusCounts(StatusCounts &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
CisTargetResourceAggregation & WithTargetResourceId(Aws::String &&value)
void SetTargetStatus(CisTargetStatus &&value)
void SetScanArn(const Aws::String &value)
void SetPlatform(const Aws::String &value)
CisTargetResourceAggregation & AddTargetResourceTags(const char *key, const Aws::Vector< Aws::String > &value)
CisTargetResourceAggregation & WithTargetStatusReason(const CisTargetStatusReason &value)
void SetTargetResourceId(const Aws::String &value)
CisTargetResourceAggregation & WithStatusCounts(const StatusCounts &value)
void SetAccountId(Aws::String &&value)
void SetTargetResourceTags(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
bool PlatformHasBeenSet() const
CisTargetResourceAggregation & WithAccountId(Aws::String &&value)
bool AccountIdHasBeenSet() const
void SetScanArn(const char *value)
CisTargetResourceAggregation & WithStatusCounts(StatusCounts &&value)
bool TargetStatusHasBeenSet() const
const Aws::String & GetScanArn() const
bool ScanArnHasBeenSet() const
void SetAccountId(const char *value)
const CisTargetStatus & GetTargetStatus() const
CisTargetResourceAggregation & WithPlatform(Aws::String &&value)
void SetPlatform(const char *value)
CisTargetResourceAggregation & WithTargetStatusReason(CisTargetStatusReason &&value)
CisTargetResourceAggregation & AddTargetResourceTags(const char *key, Aws::Vector< Aws::String > &&value)
CisTargetResourceAggregation & WithAccountId(const Aws::String &value)
CisTargetResourceAggregation & WithScanArn(Aws::String &&value)
bool StatusCountsHasBeenSet() const
void SetScanArn(Aws::String &&value)
CisTargetResourceAggregation & WithTargetResourceId(const char *value)
AWS_INSPECTOR2_API CisTargetResourceAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTargetStatus(const CisTargetStatus &value)
bool TargetResourceTagsHasBeenSet() const
const CisTargetStatusReason & GetTargetStatusReason() const
void SetPlatform(Aws::String &&value)
CisTargetResourceAggregation & WithTargetStatus(const CisTargetStatus &value)
const Aws::String & GetTargetResourceId() const
CisTargetResourceAggregation & AddTargetResourceTags(Aws::String &&key, Aws::Vector< Aws::String > &&value)
CisTargetResourceAggregation & WithTargetResourceTags(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::String & GetAccountId() const
CisTargetResourceAggregation & WithAccountId(const char *value)
CisTargetResourceAggregation & AddTargetResourceTags(const Aws::String &key, const Aws::Vector< Aws::String > &value)
AWS_INSPECTOR2_API CisTargetResourceAggregation(Aws::Utils::Json::JsonView jsonValue)
CisTargetResourceAggregation & WithScanArn(const Aws::String &value)
CisTargetResourceAggregation & WithTargetResourceTags(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const StatusCounts & GetStatusCounts() const
CisTargetResourceAggregation & WithScanArn(const char *value)
void SetTargetStatusReason(const CisTargetStatusReason &value)
CisTargetResourceAggregation & AddTargetResourceTags(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetTargetResourceId(const char *value)
void SetAccountId(const Aws::String &value)
CisTargetResourceAggregation & WithPlatform(const char *value)
bool TargetStatusReasonHasBeenSet() const
CisTargetResourceAggregation & WithPlatform(const Aws::String &value)
void SetTargetStatusReason(CisTargetStatusReason &&value)
void SetTargetResourceId(Aws::String &&value)
const Aws::String & GetPlatform() 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