7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/inspector/InspectorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/inspector/model/Attribute.h>
48 inline void SetAssessmentTargetArn(
const char* value) { m_assessmentTargetArnHasBeenSet =
true; m_assessmentTargetArn.assign(value); }
65 inline void SetAssessmentTemplateName(
const char* value) { m_assessmentTemplateNameHasBeenSet =
true; m_assessmentTemplateName.assign(value); }
77 inline void SetDurationInSeconds(
int value) { m_durationInSecondsHasBeenSet =
true; m_durationInSeconds = value; }
116 bool m_assessmentTargetArnHasBeenSet =
false;
119 bool m_assessmentTemplateNameHasBeenSet =
false;
121 int m_durationInSeconds;
122 bool m_durationInSecondsHasBeenSet =
false;
125 bool m_rulesPackageArnsHasBeenSet =
false;
128 bool m_userAttributesForFindingsHasBeenSet =
false;
CreateAssessmentTemplateRequest & WithAssessmentTargetArn(Aws::String &&value)
CreateAssessmentTemplateRequest & AddUserAttributesForFindings(Attribute &&value)
void SetAssessmentTargetArn(Aws::String &&value)
CreateAssessmentTemplateRequest & WithDurationInSeconds(int value)
void SetAssessmentTemplateName(const char *value)
CreateAssessmentTemplateRequest & WithAssessmentTemplateName(const Aws::String &value)
const Aws::String & GetAssessmentTemplateName() const
void SetAssessmentTemplateName(const Aws::String &value)
void SetDurationInSeconds(int value)
void SetUserAttributesForFindings(const Aws::Vector< Attribute > &value)
bool RulesPackageArnsHasBeenSet() const
void SetRulesPackageArns(const Aws::Vector< Aws::String > &value)
CreateAssessmentTemplateRequest & WithRulesPackageArns(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetRulesPackageArns() const
CreateAssessmentTemplateRequest & AddRulesPackageArns(const char *value)
CreateAssessmentTemplateRequest & WithUserAttributesForFindings(Aws::Vector< Attribute > &&value)
void SetAssessmentTargetArn(const Aws::String &value)
CreateAssessmentTemplateRequest & WithAssessmentTargetArn(const Aws::String &value)
CreateAssessmentTemplateRequest & WithUserAttributesForFindings(const Aws::Vector< Attribute > &value)
CreateAssessmentTemplateRequest & WithRulesPackageArns(const Aws::Vector< Aws::String > &value)
bool UserAttributesForFindingsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetAssessmentTemplateName(Aws::String &&value)
int GetDurationInSeconds() const
AWS_INSPECTOR_API Aws::String SerializePayload() const override
bool AssessmentTemplateNameHasBeenSet() const
bool DurationInSecondsHasBeenSet() const
CreateAssessmentTemplateRequest & AddRulesPackageArns(const Aws::String &value)
void SetRulesPackageArns(Aws::Vector< Aws::String > &&value)
void SetUserAttributesForFindings(Aws::Vector< Attribute > &&value)
const Aws::Vector< Attribute > & GetUserAttributesForFindings() const
AWS_INSPECTOR_API CreateAssessmentTemplateRequest()
CreateAssessmentTemplateRequest & WithAssessmentTemplateName(Aws::String &&value)
CreateAssessmentTemplateRequest & WithAssessmentTargetArn(const char *value)
const Aws::String & GetAssessmentTargetArn() const
CreateAssessmentTemplateRequest & AddUserAttributesForFindings(const Attribute &value)
CreateAssessmentTemplateRequest & WithAssessmentTemplateName(const char *value)
void SetAssessmentTargetArn(const char *value)
bool AssessmentTargetArnHasBeenSet() const
AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAssessmentTemplateRequest & AddRulesPackageArns(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector