7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/model/FastLaunchSnapshotConfiguration.h>
9#include <aws/imagebuilder/model/FastLaunchLaunchTemplateSpecification.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
63 template<
typename SnapshotConfigurationT = FastLaunchSnapshotConfiguration>
64 void SetSnapshotConfiguration(SnapshotConfigurationT&& value) { m_snapshotConfigurationHasBeenSet =
true; m_snapshotConfiguration = std::forward<SnapshotConfigurationT>(value); }
65 template<
typename SnapshotConfigurationT = FastLaunchSnapshotConfiguration>
76 inline void SetMaxParallelLaunches(
int value) { m_maxParallelLaunchesHasBeenSet =
true; m_maxParallelLaunches = value; }
87 template<
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecification>
88 void SetLaunchTemplate(LaunchTemplateT&& value) { m_launchTemplateHasBeenSet =
true; m_launchTemplate = std::forward<LaunchTemplateT>(value); }
89 template<
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecification>
99 template<
typename AccountIdT = Aws::String>
100 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
101 template<
typename AccountIdT = Aws::String>
106 bool m_enabled{
false};
107 bool m_enabledHasBeenSet =
false;
109 FastLaunchSnapshotConfiguration m_snapshotConfiguration;
110 bool m_snapshotConfigurationHasBeenSet =
false;
112 int m_maxParallelLaunches{0};
113 bool m_maxParallelLaunchesHasBeenSet =
false;
115 FastLaunchLaunchTemplateSpecification m_launchTemplate;
116 bool m_launchTemplateHasBeenSet =
false;
119 bool m_accountIdHasBeenSet =
false;
FastLaunchConfiguration & WithSnapshotConfiguration(SnapshotConfigurationT &&value)
void SetLaunchTemplate(LaunchTemplateT &&value)
AWS_IMAGEBUILDER_API FastLaunchConfiguration(Aws::Utils::Json::JsonView jsonValue)
FastLaunchConfiguration & WithEnabled(bool value)
void SetEnabled(bool value)
const FastLaunchSnapshotConfiguration & GetSnapshotConfiguration() const
int GetMaxParallelLaunches() const
bool LaunchTemplateHasBeenSet() const
AWS_IMAGEBUILDER_API FastLaunchConfiguration()=default
void SetSnapshotConfiguration(SnapshotConfigurationT &&value)
const Aws::String & GetAccountId() const
const FastLaunchLaunchTemplateSpecification & GetLaunchTemplate() const
void SetMaxParallelLaunches(int value)
FastLaunchConfiguration & WithMaxParallelLaunches(int value)
bool AccountIdHasBeenSet() const
AWS_IMAGEBUILDER_API FastLaunchConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
FastLaunchConfiguration & WithLaunchTemplate(LaunchTemplateT &&value)
bool EnabledHasBeenSet() const
bool MaxParallelLaunchesHasBeenSet() const
FastLaunchConfiguration & WithAccountId(AccountIdT &&value)
void SetAccountId(AccountIdT &&value)
bool SnapshotConfigurationHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue