7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/FastLaunchLaunchTemplateSpecification.h>
10#include <aws/imagebuilder/model/FastLaunchSnapshotConfiguration.h>
21namespace imagebuilder {
46 m_enabledHasBeenSet =
true;
63 template <
typename SnapshotConfigurationT = FastLaunchSnapshotConfiguration>
65 m_snapshotConfigurationHasBeenSet =
true;
66 m_snapshotConfiguration = std::forward<SnapshotConfigurationT>(value);
68 template <
typename SnapshotConfigurationT = FastLaunchSnapshotConfiguration>
83 m_maxParallelLaunchesHasBeenSet =
true;
84 m_maxParallelLaunches = value;
99 template <
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecification>
101 m_launchTemplateHasBeenSet =
true;
102 m_launchTemplate = std::forward<LaunchTemplateT>(value);
104 template <
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecification>
117 template <
typename AccountIdT = Aws::String>
119 m_accountIdHasBeenSet =
true;
120 m_accountId = std::forward<AccountIdT>(value);
122 template <
typename AccountIdT = Aws::String>
129 bool m_enabled{
false};
131 FastLaunchSnapshotConfiguration m_snapshotConfiguration;
133 int m_maxParallelLaunches{0};
135 FastLaunchLaunchTemplateSpecification m_launchTemplate;
138 bool m_enabledHasBeenSet =
false;
139 bool m_snapshotConfigurationHasBeenSet =
false;
140 bool m_maxParallelLaunchesHasBeenSet =
false;
141 bool m_launchTemplateHasBeenSet =
false;
142 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