AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 AppType GetAppType() const { return m_appType; }
45 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
46 inline void SetAppType(AppType value) { m_appTypeHasBeenSet = true; m_appType = value; }
49
51
55 inline const Aws::String& GetApplicationComponentId() const { return m_applicationComponentId; }
56 inline bool ApplicationComponentIdHasBeenSet() const { return m_applicationComponentIdHasBeenSet; }
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>
60 UpdateApplicationComponentConfigRequest& WithApplicationComponentId(ApplicationComponentIdT&& value) { SetApplicationComponentId(std::forward<ApplicationComponentIdT>(value)); return *this;}
62
64
70 inline bool GetConfigureOnly() const { return m_configureOnly; }
71 inline bool ConfigureOnlyHasBeenSet() const { return m_configureOnlyHasBeenSet; }
72 inline void SetConfigureOnly(bool value) { m_configureOnlyHasBeenSet = true; m_configureOnly = value; }
75
77
81 inline InclusionStatus GetInclusionStatus() const { return m_inclusionStatus; }
82 inline bool InclusionStatusHasBeenSet() const { return m_inclusionStatusHasBeenSet; }
83 inline void SetInclusionStatus(InclusionStatus value) { m_inclusionStatusHasBeenSet = true; m_inclusionStatus = value; }
86
88
91 inline const Aws::String& GetSecretsManagerKey() const { return m_secretsManagerKey; }
92 inline bool SecretsManagerKeyHasBeenSet() const { return m_secretsManagerKeyHasBeenSet; }
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>
96 UpdateApplicationComponentConfigRequest& WithSecretsManagerKey(SecretsManagerKeyT&& value) { SetSecretsManagerKey(std::forward<SecretsManagerKeyT>(value)); return *this;}
98
100
104 inline const Aws::Vector<SourceCode>& GetSourceCodeList() const { return m_sourceCodeList; }
105 inline bool SourceCodeListHasBeenSet() const { return m_sourceCodeListHasBeenSet; }
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>>
109 UpdateApplicationComponentConfigRequest& WithSourceCodeList(SourceCodeListT&& value) { SetSourceCodeList(std::forward<SourceCodeListT>(value)); return *this;}
110 template<typename SourceCodeListT = SourceCode>
111 UpdateApplicationComponentConfigRequest& AddSourceCodeList(SourceCodeListT&& value) { m_sourceCodeListHasBeenSet = true; m_sourceCodeList.emplace_back(std::forward<SourceCodeListT>(value)); return *this; }
113
115
119 inline const StrategyOption& GetStrategyOption() const { return m_strategyOption; }
120 inline bool StrategyOptionHasBeenSet() const { return m_strategyOptionHasBeenSet; }
121 template<typename StrategyOptionT = StrategyOption>
122 void SetStrategyOption(StrategyOptionT&& value) { m_strategyOptionHasBeenSet = true; m_strategyOption = std::forward<StrategyOptionT>(value); }
123 template<typename StrategyOptionT = StrategyOption>
124 UpdateApplicationComponentConfigRequest& WithStrategyOption(StrategyOptionT&& value) { SetStrategyOption(std::forward<StrategyOptionT>(value)); return *this;}
126 private:
127
128 AppType m_appType{AppType::NOT_SET};
129 bool m_appTypeHasBeenSet = false;
130
131 Aws::String m_applicationComponentId;
132 bool m_applicationComponentIdHasBeenSet = false;
133
134 bool m_configureOnly{false};
135 bool m_configureOnlyHasBeenSet = false;
136
137 InclusionStatus m_inclusionStatus{InclusionStatus::NOT_SET};
138 bool m_inclusionStatusHasBeenSet = false;
139
140 Aws::String m_secretsManagerKey;
141 bool m_secretsManagerKeyHasBeenSet = false;
142
143 Aws::Vector<SourceCode> m_sourceCodeList;
144 bool m_sourceCodeListHasBeenSet = false;
145
146 StrategyOption m_strategyOption;
147 bool m_strategyOptionHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace MigrationHubStrategyRecommendations
152} // namespace Aws
UpdateApplicationComponentConfigRequest & WithApplicationComponentId(ApplicationComponentIdT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API UpdateApplicationComponentConfigRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector