AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdatePluginRequest.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/model/PluginState.h>
11#include <aws/qbusiness/model/CustomPluginConfiguration.h>
12#include <aws/qbusiness/model/PluginAuthConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace QBusiness
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_QBUSINESS_API UpdatePluginRequest() = 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 "UpdatePlugin"; }
34
35 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
43 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
44 template<typename ApplicationIdT = Aws::String>
45 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
46 template<typename ApplicationIdT = Aws::String>
47 UpdatePluginRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetPluginId() const { return m_pluginId; }
55 inline bool PluginIdHasBeenSet() const { return m_pluginIdHasBeenSet; }
56 template<typename PluginIdT = Aws::String>
57 void SetPluginId(PluginIdT&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::forward<PluginIdT>(value); }
58 template<typename PluginIdT = Aws::String>
59 UpdatePluginRequest& WithPluginId(PluginIdT&& value) { SetPluginId(std::forward<PluginIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDisplayName() const { return m_displayName; }
67 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
68 template<typename DisplayNameT = Aws::String>
69 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
70 template<typename DisplayNameT = Aws::String>
71 UpdatePluginRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
73
75
78 inline PluginState GetState() const { return m_state; }
79 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
80 inline void SetState(PluginState value) { m_stateHasBeenSet = true; m_state = value; }
81 inline UpdatePluginRequest& WithState(PluginState value) { SetState(value); return *this;}
83
85
88 inline const Aws::String& GetServerUrl() const { return m_serverUrl; }
89 inline bool ServerUrlHasBeenSet() const { return m_serverUrlHasBeenSet; }
90 template<typename ServerUrlT = Aws::String>
91 void SetServerUrl(ServerUrlT&& value) { m_serverUrlHasBeenSet = true; m_serverUrl = std::forward<ServerUrlT>(value); }
92 template<typename ServerUrlT = Aws::String>
93 UpdatePluginRequest& WithServerUrl(ServerUrlT&& value) { SetServerUrl(std::forward<ServerUrlT>(value)); return *this;}
95
97
100 inline const CustomPluginConfiguration& GetCustomPluginConfiguration() const { return m_customPluginConfiguration; }
101 inline bool CustomPluginConfigurationHasBeenSet() const { return m_customPluginConfigurationHasBeenSet; }
102 template<typename CustomPluginConfigurationT = CustomPluginConfiguration>
103 void SetCustomPluginConfiguration(CustomPluginConfigurationT&& value) { m_customPluginConfigurationHasBeenSet = true; m_customPluginConfiguration = std::forward<CustomPluginConfigurationT>(value); }
104 template<typename CustomPluginConfigurationT = CustomPluginConfiguration>
105 UpdatePluginRequest& WithCustomPluginConfiguration(CustomPluginConfigurationT&& value) { SetCustomPluginConfiguration(std::forward<CustomPluginConfigurationT>(value)); return *this;}
107
109
112 inline const PluginAuthConfiguration& GetAuthConfiguration() const { return m_authConfiguration; }
113 inline bool AuthConfigurationHasBeenSet() const { return m_authConfigurationHasBeenSet; }
114 template<typename AuthConfigurationT = PluginAuthConfiguration>
115 void SetAuthConfiguration(AuthConfigurationT&& value) { m_authConfigurationHasBeenSet = true; m_authConfiguration = std::forward<AuthConfigurationT>(value); }
116 template<typename AuthConfigurationT = PluginAuthConfiguration>
117 UpdatePluginRequest& WithAuthConfiguration(AuthConfigurationT&& value) { SetAuthConfiguration(std::forward<AuthConfigurationT>(value)); return *this;}
119 private:
120
121 Aws::String m_applicationId;
122 bool m_applicationIdHasBeenSet = false;
123
124 Aws::String m_pluginId;
125 bool m_pluginIdHasBeenSet = false;
126
127 Aws::String m_displayName;
128 bool m_displayNameHasBeenSet = false;
129
131 bool m_stateHasBeenSet = false;
132
133 Aws::String m_serverUrl;
134 bool m_serverUrlHasBeenSet = false;
135
136 CustomPluginConfiguration m_customPluginConfiguration;
137 bool m_customPluginConfigurationHasBeenSet = false;
138
139 PluginAuthConfiguration m_authConfiguration;
140 bool m_authConfigurationHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace QBusiness
145} // namespace Aws
UpdatePluginRequest & WithDisplayName(DisplayNameT &&value)
UpdatePluginRequest & WithCustomPluginConfiguration(CustomPluginConfigurationT &&value)
void SetCustomPluginConfiguration(CustomPluginConfigurationT &&value)
UpdatePluginRequest & WithAuthConfiguration(AuthConfigurationT &&value)
const CustomPluginConfiguration & GetCustomPluginConfiguration() const
UpdatePluginRequest & WithState(PluginState value)
virtual const char * GetServiceRequestName() const override
void SetAuthConfiguration(AuthConfigurationT &&value)
UpdatePluginRequest & WithPluginId(PluginIdT &&value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
UpdatePluginRequest & WithApplicationId(ApplicationIdT &&value)
UpdatePluginRequest & WithServerUrl(ServerUrlT &&value)
AWS_QBUSINESS_API UpdatePluginRequest()=default
void SetApplicationId(ApplicationIdT &&value)
const PluginAuthConfiguration & GetAuthConfiguration() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String