AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateApplicationComponentConfigRequest.h
1
6#pragma once
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>
15#include <utility>
16
17namespace Aws
18{
19namespace MigrationHubStrategyRecommendations
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API UpdateApplicationComponentConfigRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateApplicationComponentConfig"; }
36
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override;
38
39
41
44 inline const AppType& GetAppType() const{ return m_appType; }
45 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
46 inline void SetAppType(const AppType& value) { m_appTypeHasBeenSet = true; m_appType = value; }
47 inline void SetAppType(AppType&& value) { m_appTypeHasBeenSet = true; m_appType = std::move(value); }
48 inline UpdateApplicationComponentConfigRequest& WithAppType(const AppType& value) { SetAppType(value); return *this;}
49 inline UpdateApplicationComponentConfigRequest& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;}
51
53
57 inline const Aws::String& GetApplicationComponentId() const{ return m_applicationComponentId; }
58 inline bool ApplicationComponentIdHasBeenSet() const { return m_applicationComponentIdHasBeenSet; }
59 inline void SetApplicationComponentId(const Aws::String& value) { m_applicationComponentIdHasBeenSet = true; m_applicationComponentId = value; }
60 inline void SetApplicationComponentId(Aws::String&& value) { m_applicationComponentIdHasBeenSet = true; m_applicationComponentId = std::move(value); }
61 inline void SetApplicationComponentId(const char* value) { m_applicationComponentIdHasBeenSet = true; m_applicationComponentId.assign(value); }
66
68
74 inline bool GetConfigureOnly() const{ return m_configureOnly; }
75 inline bool ConfigureOnlyHasBeenSet() const { return m_configureOnlyHasBeenSet; }
76 inline void SetConfigureOnly(bool value) { m_configureOnlyHasBeenSet = true; m_configureOnly = value; }
79
81
85 inline const InclusionStatus& GetInclusionStatus() const{ return m_inclusionStatus; }
86 inline bool InclusionStatusHasBeenSet() const { return m_inclusionStatusHasBeenSet; }
87 inline void SetInclusionStatus(const InclusionStatus& value) { m_inclusionStatusHasBeenSet = true; m_inclusionStatus = value; }
88 inline void SetInclusionStatus(InclusionStatus&& value) { m_inclusionStatusHasBeenSet = true; m_inclusionStatus = std::move(value); }
92
94
97 inline const Aws::String& GetSecretsManagerKey() const{ return m_secretsManagerKey; }
98 inline bool SecretsManagerKeyHasBeenSet() const { return m_secretsManagerKeyHasBeenSet; }
99 inline void SetSecretsManagerKey(const Aws::String& value) { m_secretsManagerKeyHasBeenSet = true; m_secretsManagerKey = value; }
100 inline void SetSecretsManagerKey(Aws::String&& value) { m_secretsManagerKeyHasBeenSet = true; m_secretsManagerKey = std::move(value); }
101 inline void SetSecretsManagerKey(const char* value) { m_secretsManagerKeyHasBeenSet = true; m_secretsManagerKey.assign(value); }
106
108
112 inline const Aws::Vector<SourceCode>& GetSourceCodeList() const{ return m_sourceCodeList; }
113 inline bool SourceCodeListHasBeenSet() const { return m_sourceCodeListHasBeenSet; }
114 inline void SetSourceCodeList(const Aws::Vector<SourceCode>& value) { m_sourceCodeListHasBeenSet = true; m_sourceCodeList = value; }
115 inline void SetSourceCodeList(Aws::Vector<SourceCode>&& value) { m_sourceCodeListHasBeenSet = true; m_sourceCodeList = std::move(value); }
118 inline UpdateApplicationComponentConfigRequest& AddSourceCodeList(const SourceCode& value) { m_sourceCodeListHasBeenSet = true; m_sourceCodeList.push_back(value); return *this; }
119 inline UpdateApplicationComponentConfigRequest& AddSourceCodeList(SourceCode&& value) { m_sourceCodeListHasBeenSet = true; m_sourceCodeList.push_back(std::move(value)); return *this; }
121
123
127 inline const StrategyOption& GetStrategyOption() const{ return m_strategyOption; }
128 inline bool StrategyOptionHasBeenSet() const { return m_strategyOptionHasBeenSet; }
129 inline void SetStrategyOption(const StrategyOption& value) { m_strategyOptionHasBeenSet = true; m_strategyOption = value; }
130 inline void SetStrategyOption(StrategyOption&& value) { m_strategyOptionHasBeenSet = true; m_strategyOption = std::move(value); }
134 private:
135
136 AppType m_appType;
137 bool m_appTypeHasBeenSet = false;
138
139 Aws::String m_applicationComponentId;
140 bool m_applicationComponentIdHasBeenSet = false;
141
142 bool m_configureOnly;
143 bool m_configureOnlyHasBeenSet = false;
144
145 InclusionStatus m_inclusionStatus;
146 bool m_inclusionStatusHasBeenSet = false;
147
148 Aws::String m_secretsManagerKey;
149 bool m_secretsManagerKeyHasBeenSet = false;
150
151 Aws::Vector<SourceCode> m_sourceCodeList;
152 bool m_sourceCodeListHasBeenSet = false;
153
154 StrategyOption m_strategyOption;
155 bool m_strategyOptionHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace MigrationHubStrategyRecommendations
160} // namespace Aws
UpdateApplicationComponentConfigRequest & WithSourceCodeList(Aws::Vector< SourceCode > &&value)
UpdateApplicationComponentConfigRequest & WithInclusionStatus(const InclusionStatus &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override
UpdateApplicationComponentConfigRequest & WithSourceCodeList(const Aws::Vector< SourceCode > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector