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/core/utils/DateTime.h>
11#include <aws/inspector/model/Attribute.h>
52 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
53 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 inline void SetAssessmentTargetArn(
const char* value) { m_assessmentTargetArnHasBeenSet =
true; m_assessmentTargetArn.assign(value); }
96 inline void SetDurationInSeconds(
int value) { m_durationInSecondsHasBeenSet =
true; m_durationInSeconds = value; }
140 inline void SetLastAssessmentRunArn(
const char* value) { m_lastAssessmentRunArnHasBeenSet =
true; m_lastAssessmentRunArn.assign(value); }
153 inline void SetAssessmentRunCount(
int value) { m_assessmentRunCountHasBeenSet =
true; m_assessmentRunCount = value; }
171 bool m_arnHasBeenSet =
false;
174 bool m_nameHasBeenSet =
false;
177 bool m_assessmentTargetArnHasBeenSet =
false;
179 int m_durationInSeconds;
180 bool m_durationInSecondsHasBeenSet =
false;
183 bool m_rulesPackageArnsHasBeenSet =
false;
186 bool m_userAttributesForFindingsHasBeenSet =
false;
189 bool m_lastAssessmentRunArnHasBeenSet =
false;
191 int m_assessmentRunCount;
192 bool m_assessmentRunCountHasBeenSet =
false;
195 bool m_createdAtHasBeenSet =
false;
void SetArn(const char *value)
const Aws::String & GetArn() const
AssessmentTemplate & WithAssessmentTargetArn(const Aws::String &value)
void SetAssessmentTargetArn(const Aws::String &value)
bool LastAssessmentRunArnHasBeenSet() const
bool UserAttributesForFindingsHasBeenSet() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Vector< Attribute > & GetUserAttributesForFindings() const
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentTemplate & WithName(const Aws::String &value)
AssessmentTemplate & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
AssessmentTemplate & WithLastAssessmentRunArn(const char *value)
AssessmentTemplate & WithName(const char *value)
int GetAssessmentRunCount() const
void SetDurationInSeconds(int value)
bool AssessmentRunCountHasBeenSet() const
void SetRulesPackageArns(Aws::Vector< Aws::String > &&value)
void SetLastAssessmentRunArn(const char *value)
AssessmentTemplate & WithLastAssessmentRunArn(const Aws::String &value)
AssessmentTemplate & AddUserAttributesForFindings(Attribute &&value)
AssessmentTemplate & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetAssessmentTargetArn() const
AWS_INSPECTOR_API AssessmentTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR_API AssessmentTemplate(Aws::Utils::Json::JsonView jsonValue)
bool AssessmentTargetArnHasBeenSet() const
AssessmentTemplate & WithLastAssessmentRunArn(Aws::String &&value)
const Aws::String & GetName() const
void SetArn(const Aws::String &value)
AssessmentTemplate & WithArn(const Aws::String &value)
AssessmentTemplate & AddRulesPackageArns(const char *value)
bool DurationInSecondsHasBeenSet() const
void SetLastAssessmentRunArn(Aws::String &&value)
int GetDurationInSeconds() const
const Aws::Vector< Aws::String > & GetRulesPackageArns() const
void SetUserAttributesForFindings(const Aws::Vector< Attribute > &value)
void SetUserAttributesForFindings(Aws::Vector< Attribute > &&value)
AssessmentTemplate & WithCreatedAt(Aws::Utils::DateTime &&value)
AssessmentTemplate & AddRulesPackageArns(const Aws::String &value)
void SetLastAssessmentRunArn(const Aws::String &value)
AWS_INSPECTOR_API AssessmentTemplate()
AssessmentTemplate & WithUserAttributesForFindings(const Aws::Vector< Attribute > &value)
void SetAssessmentTargetArn(const char *value)
AssessmentTemplate & WithUserAttributesForFindings(Aws::Vector< Attribute > &&value)
AssessmentTemplate & WithArn(const char *value)
AssessmentTemplate & WithAssessmentRunCount(int value)
const Aws::String & GetLastAssessmentRunArn() const
AssessmentTemplate & WithRulesPackageArns(const Aws::Vector< Aws::String > &value)
void SetName(const char *value)
AssessmentTemplate & WithAssessmentTargetArn(Aws::String &&value)
AssessmentTemplate & AddUserAttributesForFindings(const Attribute &value)
AssessmentTemplate & WithRulesPackageArns(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AssessmentTemplate & WithAssessmentTargetArn(const char *value)
AssessmentTemplate & WithDurationInSeconds(int value)
bool RulesPackageArnsHasBeenSet() const
bool NameHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetAssessmentTargetArn(Aws::String &&value)
void SetAssessmentRunCount(int value)
void SetRulesPackageArns(const Aws::Vector< Aws::String > &value)
AssessmentTemplate & WithArn(Aws::String &&value)
AssessmentTemplate & AddRulesPackageArns(Aws::String &&value)
bool CreatedAtHasBeenSet() const
bool ArnHasBeenSet() const
void SetName(Aws::String &&value)
void SetArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue