AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
45 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
46 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
47 inline UpdatePluginRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
48 inline UpdatePluginRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
49 inline UpdatePluginRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
51
53
56 inline const Aws::String& GetPluginId() const{ return m_pluginId; }
57 inline bool PluginIdHasBeenSet() const { return m_pluginIdHasBeenSet; }
58 inline void SetPluginId(const Aws::String& value) { m_pluginIdHasBeenSet = true; m_pluginId = value; }
59 inline void SetPluginId(Aws::String&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::move(value); }
60 inline void SetPluginId(const char* value) { m_pluginIdHasBeenSet = true; m_pluginId.assign(value); }
61 inline UpdatePluginRequest& WithPluginId(const Aws::String& value) { SetPluginId(value); return *this;}
62 inline UpdatePluginRequest& WithPluginId(Aws::String&& value) { SetPluginId(std::move(value)); return *this;}
63 inline UpdatePluginRequest& WithPluginId(const char* value) { SetPluginId(value); return *this;}
65
67
70 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
71 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
72 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
73 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
74 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
75 inline UpdatePluginRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
76 inline UpdatePluginRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
77 inline UpdatePluginRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
79
81
84 inline const PluginState& GetState() const{ return m_state; }
85 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
86 inline void SetState(const PluginState& value) { m_stateHasBeenSet = true; m_state = value; }
87 inline void SetState(PluginState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
88 inline UpdatePluginRequest& WithState(const PluginState& value) { SetState(value); return *this;}
89 inline UpdatePluginRequest& WithState(PluginState&& value) { SetState(std::move(value)); return *this;}
91
93
96 inline const Aws::String& GetServerUrl() const{ return m_serverUrl; }
97 inline bool ServerUrlHasBeenSet() const { return m_serverUrlHasBeenSet; }
98 inline void SetServerUrl(const Aws::String& value) { m_serverUrlHasBeenSet = true; m_serverUrl = value; }
99 inline void SetServerUrl(Aws::String&& value) { m_serverUrlHasBeenSet = true; m_serverUrl = std::move(value); }
100 inline void SetServerUrl(const char* value) { m_serverUrlHasBeenSet = true; m_serverUrl.assign(value); }
101 inline UpdatePluginRequest& WithServerUrl(const Aws::String& value) { SetServerUrl(value); return *this;}
102 inline UpdatePluginRequest& WithServerUrl(Aws::String&& value) { SetServerUrl(std::move(value)); return *this;}
103 inline UpdatePluginRequest& WithServerUrl(const char* value) { SetServerUrl(value); return *this;}
105
107
110 inline const CustomPluginConfiguration& GetCustomPluginConfiguration() const{ return m_customPluginConfiguration; }
111 inline bool CustomPluginConfigurationHasBeenSet() const { return m_customPluginConfigurationHasBeenSet; }
112 inline void SetCustomPluginConfiguration(const CustomPluginConfiguration& value) { m_customPluginConfigurationHasBeenSet = true; m_customPluginConfiguration = value; }
113 inline void SetCustomPluginConfiguration(CustomPluginConfiguration&& value) { m_customPluginConfigurationHasBeenSet = true; m_customPluginConfiguration = std::move(value); }
117
119
122 inline const PluginAuthConfiguration& GetAuthConfiguration() const{ return m_authConfiguration; }
123 inline bool AuthConfigurationHasBeenSet() const { return m_authConfigurationHasBeenSet; }
124 inline void SetAuthConfiguration(const PluginAuthConfiguration& value) { m_authConfigurationHasBeenSet = true; m_authConfiguration = value; }
125 inline void SetAuthConfiguration(PluginAuthConfiguration&& value) { m_authConfigurationHasBeenSet = true; m_authConfiguration = std::move(value); }
129 private:
130
131 Aws::String m_applicationId;
132 bool m_applicationIdHasBeenSet = false;
133
134 Aws::String m_pluginId;
135 bool m_pluginIdHasBeenSet = false;
136
137 Aws::String m_displayName;
138 bool m_displayNameHasBeenSet = false;
139
140 PluginState m_state;
141 bool m_stateHasBeenSet = false;
142
143 Aws::String m_serverUrl;
144 bool m_serverUrlHasBeenSet = false;
145
146 CustomPluginConfiguration m_customPluginConfiguration;
147 bool m_customPluginConfigurationHasBeenSet = false;
148
149 PluginAuthConfiguration m_authConfiguration;
150 bool m_authConfigurationHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace QBusiness
155} // namespace Aws
UpdatePluginRequest & WithCustomPluginConfiguration(CustomPluginConfiguration &&value)
UpdatePluginRequest & WithApplicationId(const Aws::String &value)
void SetPluginId(const Aws::String &value)
UpdatePluginRequest & WithPluginId(const Aws::String &value)
UpdatePluginRequest & WithServerUrl(const char *value)
UpdatePluginRequest & WithDisplayName(const char *value)
void SetServerUrl(const Aws::String &value)
UpdatePluginRequest & WithAuthConfiguration(const PluginAuthConfiguration &value)
UpdatePluginRequest & WithState(PluginState &&value)
UpdatePluginRequest & WithState(const PluginState &value)
const CustomPluginConfiguration & GetCustomPluginConfiguration() const
UpdatePluginRequest & WithCustomPluginConfiguration(const CustomPluginConfiguration &value)
virtual const char * GetServiceRequestName() const override
UpdatePluginRequest & WithPluginId(const char *value)
UpdatePluginRequest & WithApplicationId(Aws::String &&value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
UpdatePluginRequest & WithDisplayName(const Aws::String &value)
UpdatePluginRequest & WithApplicationId(const char *value)
void SetDisplayName(const Aws::String &value)
void SetCustomPluginConfiguration(CustomPluginConfiguration &&value)
UpdatePluginRequest & WithDisplayName(Aws::String &&value)
UpdatePluginRequest & WithServerUrl(Aws::String &&value)
UpdatePluginRequest & WithAuthConfiguration(PluginAuthConfiguration &&value)
void SetAuthConfiguration(const PluginAuthConfiguration &value)
void SetApplicationId(const Aws::String &value)
UpdatePluginRequest & WithPluginId(Aws::String &&value)
void SetCustomPluginConfiguration(const CustomPluginConfiguration &value)
UpdatePluginRequest & WithServerUrl(const Aws::String &value)
void SetAuthConfiguration(PluginAuthConfiguration &&value)
const PluginAuthConfiguration & GetAuthConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String