7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsEc2LaunchTemplateDataDetails.h>
50 inline void SetLaunchTemplateName(
const char* value) { m_launchTemplateNameHasBeenSet =
true; m_launchTemplateName.assign(value); }
63 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
64 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
88 inline void SetDefaultVersionNumber(
long long value) { m_defaultVersionNumberHasBeenSet =
true; m_defaultVersionNumber = value; }
98 inline void SetLatestVersionNumber(
long long value) { m_latestVersionNumberHasBeenSet =
true; m_latestVersionNumber = value; }
104 bool m_launchTemplateNameHasBeenSet =
false;
107 bool m_idHasBeenSet =
false;
110 bool m_launchTemplateDataHasBeenSet =
false;
112 long long m_defaultVersionNumber;
113 bool m_defaultVersionNumberHasBeenSet =
false;
115 long long m_latestVersionNumber;
116 bool m_latestVersionNumberHasBeenSet =
false;
AwsEc2LaunchTemplateDetails & WithId(const char *value)
AwsEc2LaunchTemplateDetails & WithLaunchTemplateName(const Aws::String &value)
void SetLaunchTemplateName(const char *value)
bool IdHasBeenSet() const
void SetLaunchTemplateData(const AwsEc2LaunchTemplateDataDetails &value)
void SetDefaultVersionNumber(long long value)
void SetLaunchTemplateData(AwsEc2LaunchTemplateDataDetails &&value)
void SetLaunchTemplateName(Aws::String &&value)
AWS_SECURITYHUB_API AwsEc2LaunchTemplateDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2LaunchTemplateDetails & WithLaunchTemplateName(Aws::String &&value)
void SetLatestVersionNumber(long long value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLaunchTemplateName() const
AwsEc2LaunchTemplateDetails & WithLaunchTemplateName(const char *value)
void SetLaunchTemplateName(const Aws::String &value)
bool LatestVersionNumberHasBeenSet() const
bool LaunchTemplateDataHasBeenSet() const
void SetId(Aws::String &&value)
bool LaunchTemplateNameHasBeenSet() const
bool DefaultVersionNumberHasBeenSet() const
AwsEc2LaunchTemplateDetails & WithId(Aws::String &&value)
AwsEc2LaunchTemplateDetails & WithId(const Aws::String &value)
AwsEc2LaunchTemplateDetails & WithDefaultVersionNumber(long long value)
long long GetLatestVersionNumber() const
const AwsEc2LaunchTemplateDataDetails & GetLaunchTemplateData() const
AWS_SECURITYHUB_API AwsEc2LaunchTemplateDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEc2LaunchTemplateDetails & WithLaunchTemplateData(AwsEc2LaunchTemplateDataDetails &&value)
AWS_SECURITYHUB_API AwsEc2LaunchTemplateDetails()
const Aws::String & GetId() const
void SetId(const Aws::String &value)
AwsEc2LaunchTemplateDetails & WithLaunchTemplateData(const AwsEc2LaunchTemplateDataDetails &value)
long long GetDefaultVersionNumber() const
void SetId(const char *value)
AwsEc2LaunchTemplateDetails & WithLatestVersionNumber(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue