AWS SDK for C++

AWS SDK for C++ Version 1.11.902

Loading...
Searching...
No Matches
UpdateApplicationRequest.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsServiceRequest.h>
8#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
9#include <aws/appintegrations/model/ApplicationConfig.h>
10#include <aws/appintegrations/model/ApplicationSourceConfig.h>
11#include <aws/appintegrations/model/ApplicationType.h>
12#include <aws/appintegrations/model/AuthConfig.h>
13#include <aws/appintegrations/model/IframeConfig.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16
17#include <utility>
18
19namespace Aws {
20namespace AppIntegrationsService {
21namespace Model {
22
26 public:
27 AWS_APPINTEGRATIONSSERVICE_API UpdateApplicationRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateApplication"; }
34
35 AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
95 inline const ApplicationSourceConfig& GetApplicationSourceConfig() const { return m_applicationSourceConfig; }
96 inline bool ApplicationSourceConfigHasBeenSet() const { return m_applicationSourceConfigHasBeenSet; }
97 template <typename ApplicationSourceConfigT = ApplicationSourceConfig>
98 void SetApplicationSourceConfig(ApplicationSourceConfigT&& value) {
99 m_applicationSourceConfigHasBeenSet = true;
100 m_applicationSourceConfig = std::forward<ApplicationSourceConfigT>(value);
101 }
102 template <typename ApplicationSourceConfigT = ApplicationSourceConfig>
103 UpdateApplicationRequest& WithApplicationSourceConfig(ApplicationSourceConfigT&& value) {
104 SetApplicationSourceConfig(std::forward<ApplicationSourceConfigT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::Vector<Aws::String>& GetPermissions() const { return m_permissions; }
115 inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
116 template <typename PermissionsT = Aws::Vector<Aws::String>>
117 void SetPermissions(PermissionsT&& value) {
118 m_permissionsHasBeenSet = true;
119 m_permissions = std::forward<PermissionsT>(value);
120 }
121 template <typename PermissionsT = Aws::Vector<Aws::String>>
123 SetPermissions(std::forward<PermissionsT>(value));
124 return *this;
125 }
126 template <typename PermissionsT = Aws::String>
128 m_permissionsHasBeenSet = true;
129 m_permissions.emplace_back(std::forward<PermissionsT>(value));
130 return *this;
131 }
133
135
139 inline int GetInitializationTimeout() const { return m_initializationTimeout; }
140 inline bool InitializationTimeoutHasBeenSet() const { return m_initializationTimeoutHasBeenSet; }
141 inline void SetInitializationTimeout(int value) {
142 m_initializationTimeoutHasBeenSet = true;
143 m_initializationTimeout = value;
144 }
147 return *this;
148 }
150
152
155 inline const ApplicationConfig& GetApplicationConfig() const { return m_applicationConfig; }
156 inline bool ApplicationConfigHasBeenSet() const { return m_applicationConfigHasBeenSet; }
157 template <typename ApplicationConfigT = ApplicationConfig>
158 void SetApplicationConfig(ApplicationConfigT&& value) {
159 m_applicationConfigHasBeenSet = true;
160 m_applicationConfig = std::forward<ApplicationConfigT>(value);
161 }
162 template <typename ApplicationConfigT = ApplicationConfig>
163 UpdateApplicationRequest& WithApplicationConfig(ApplicationConfigT&& value) {
164 SetApplicationConfig(std::forward<ApplicationConfigT>(value));
165 return *this;
166 }
168
170
173 inline const IframeConfig& GetIframeConfig() const { return m_iframeConfig; }
174 inline bool IframeConfigHasBeenSet() const { return m_iframeConfigHasBeenSet; }
175 template <typename IframeConfigT = IframeConfig>
176 void SetIframeConfig(IframeConfigT&& value) {
177 m_iframeConfigHasBeenSet = true;
178 m_iframeConfig = std::forward<IframeConfigT>(value);
179 }
180 template <typename IframeConfigT = IframeConfig>
182 SetIframeConfig(std::forward<IframeConfigT>(value));
183 return *this;
184 }
186
188
191 inline ApplicationType GetApplicationType() const { return m_applicationType; }
192 inline bool ApplicationTypeHasBeenSet() const { return m_applicationTypeHasBeenSet; }
194 m_applicationTypeHasBeenSet = true;
195 m_applicationType = value;
196 }
198 SetApplicationType(value);
199 return *this;
200 }
202
204
208 inline const AuthConfig& GetAuthConfig() const { return m_authConfig; }
209 inline bool AuthConfigHasBeenSet() const { return m_authConfigHasBeenSet; }
210 template <typename AuthConfigT = AuthConfig>
211 void SetAuthConfig(AuthConfigT&& value) {
212 m_authConfigHasBeenSet = true;
213 m_authConfig = std::forward<AuthConfigT>(value);
214 }
215 template <typename AuthConfigT = AuthConfig>
217 SetAuthConfig(std::forward<AuthConfigT>(value));
218 return *this;
219 }
221 private:
222 Aws::String m_arn;
223
224 Aws::String m_name;
225
226 Aws::String m_description;
227
228 ApplicationSourceConfig m_applicationSourceConfig;
229
230 Aws::Vector<Aws::String> m_permissions;
231
232 int m_initializationTimeout{0};
233
234 ApplicationConfig m_applicationConfig;
235
236 IframeConfig m_iframeConfig;
237
238 ApplicationType m_applicationType{ApplicationType::NOT_SET};
239
240 AuthConfig m_authConfig;
241 bool m_arnHasBeenSet = false;
242 bool m_nameHasBeenSet = false;
243 bool m_descriptionHasBeenSet = false;
244 bool m_applicationSourceConfigHasBeenSet = false;
245 bool m_permissionsHasBeenSet = false;
246 bool m_initializationTimeoutHasBeenSet = false;
247 bool m_applicationConfigHasBeenSet = false;
248 bool m_iframeConfigHasBeenSet = false;
249 bool m_applicationTypeHasBeenSet = false;
250 bool m_authConfigHasBeenSet = false;
251};
252
253} // namespace Model
254} // namespace AppIntegrationsService
255} // namespace Aws
UpdateApplicationRequest & WithDescription(DescriptionT &&value)
UpdateApplicationRequest & WithIframeConfig(IframeConfigT &&value)
UpdateApplicationRequest & WithApplicationSourceConfig(ApplicationSourceConfigT &&value)
UpdateApplicationRequest & WithAuthConfig(AuthConfigT &&value)
AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override
UpdateApplicationRequest & WithPermissions(PermissionsT &&value)
AWS_APPINTEGRATIONSSERVICE_API UpdateApplicationRequest()=default
UpdateApplicationRequest & WithApplicationConfig(ApplicationConfigT &&value)
UpdateApplicationRequest & WithApplicationType(ApplicationType value)
UpdateApplicationRequest & AddPermissions(PermissionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector