7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendationsRequest.h>
9#include <aws/migrationhubstrategy/model/AppType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/migrationhubstrategy/model/InclusionStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/migrationhubstrategy/model/StrategyOption.h>
14#include <aws/migrationhubstrategy/model/SourceCode.h>
19namespace MigrationHubStrategyRecommendations
35 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateApplicationComponentConfig"; }
57 template<
typename ApplicationComponentIdT = Aws::String>
58 void SetApplicationComponentId(ApplicationComponentIdT&& value) { m_applicationComponentIdHasBeenSet =
true; m_applicationComponentId = std::forward<ApplicationComponentIdT>(value); }
59 template<
typename ApplicationComponentIdT = Aws::String>
72 inline void SetConfigureOnly(
bool value) { m_configureOnlyHasBeenSet =
true; m_configureOnly = value; }
93 template<
typename SecretsManagerKeyT = Aws::String>
94 void SetSecretsManagerKey(SecretsManagerKeyT&& value) { m_secretsManagerKeyHasBeenSet =
true; m_secretsManagerKey = std::forward<SecretsManagerKeyT>(value); }
95 template<
typename SecretsManagerKeyT = Aws::String>
106 template<
typename SourceCodeListT = Aws::Vector<SourceCode>>
107 void SetSourceCodeList(SourceCodeListT&& value) { m_sourceCodeListHasBeenSet =
true; m_sourceCodeList = std::forward<SourceCodeListT>(value); }
108 template<
typename SourceCodeListT = Aws::Vector<SourceCode>>
110 template<
typename SourceCodeListT = SourceCode>
121 template<
typename StrategyOptionT = StrategyOption>
122 void SetStrategyOption(StrategyOptionT&& value) { m_strategyOptionHasBeenSet =
true; m_strategyOption = std::forward<StrategyOptionT>(value); }
123 template<
typename StrategyOptionT = StrategyOption>
129 bool m_appTypeHasBeenSet =
false;
132 bool m_applicationComponentIdHasBeenSet =
false;
134 bool m_configureOnly{
false};
135 bool m_configureOnlyHasBeenSet =
false;
138 bool m_inclusionStatusHasBeenSet =
false;
141 bool m_secretsManagerKeyHasBeenSet =
false;
144 bool m_sourceCodeListHasBeenSet =
false;
146 StrategyOption m_strategyOption;
147 bool m_strategyOptionHasBeenSet =
false;
UpdateApplicationComponentConfigRequest & WithSourceCodeList(SourceCodeListT &&value)
UpdateApplicationComponentConfigRequest & WithSecretsManagerKey(SecretsManagerKeyT &&value)
bool ApplicationComponentIdHasBeenSet() const
void SetInclusionStatus(InclusionStatus value)
void SetApplicationComponentId(ApplicationComponentIdT &&value)
const StrategyOption & GetStrategyOption() const
void SetSecretsManagerKey(SecretsManagerKeyT &&value)
const Aws::String & GetApplicationComponentId() const
UpdateApplicationComponentConfigRequest & WithApplicationComponentId(ApplicationComponentIdT &&value)
UpdateApplicationComponentConfigRequest & WithConfigureOnly(bool value)
bool SourceCodeListHasBeenSet() const
bool StrategyOptionHasBeenSet() const
bool GetConfigureOnly() const
void SetSourceCodeList(SourceCodeListT &&value)
void SetAppType(AppType value)
AppType GetAppType() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override
bool AppTypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateApplicationComponentConfigRequest & WithInclusionStatus(InclusionStatus value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API UpdateApplicationComponentConfigRequest()=default
void SetConfigureOnly(bool value)
const Aws::String & GetSecretsManagerKey() const
bool SecretsManagerKeyHasBeenSet() const
UpdateApplicationComponentConfigRequest & WithAppType(AppType value)
void SetStrategyOption(StrategyOptionT &&value)
const Aws::Vector< SourceCode > & GetSourceCodeList() const
bool InclusionStatusHasBeenSet() const
InclusionStatus GetInclusionStatus() const
UpdateApplicationComponentConfigRequest & WithStrategyOption(StrategyOptionT &&value)
bool ConfigureOnlyHasBeenSet() const
UpdateApplicationComponentConfigRequest & AddSourceCodeList(SourceCodeListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector