AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePluginRequest.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/PluginType.h>
11#include <aws/qbusiness/model/PluginAuthConfiguration.h>
12#include <aws/qbusiness/model/CustomPluginConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/qbusiness/model/Tag.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace QBusiness
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_QBUSINESS_API CreatePluginRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreatePlugin"; }
37
38 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
46 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
47 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
48 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
49 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
50 inline CreatePluginRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
51 inline CreatePluginRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
52 inline CreatePluginRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
54
56
59 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
60 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
61 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
62 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
63 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
64 inline CreatePluginRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
65 inline CreatePluginRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
66 inline CreatePluginRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
68
70
73 inline const PluginType& GetType() const{ return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 inline void SetType(const PluginType& value) { m_typeHasBeenSet = true; m_type = value; }
76 inline void SetType(PluginType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
77 inline CreatePluginRequest& WithType(const PluginType& value) { SetType(value); return *this;}
78 inline CreatePluginRequest& WithType(PluginType&& value) { SetType(std::move(value)); return *this;}
80
82
83 inline const PluginAuthConfiguration& GetAuthConfiguration() const{ return m_authConfiguration; }
84 inline bool AuthConfigurationHasBeenSet() const { return m_authConfigurationHasBeenSet; }
85 inline void SetAuthConfiguration(const PluginAuthConfiguration& value) { m_authConfigurationHasBeenSet = true; m_authConfiguration = value; }
86 inline void SetAuthConfiguration(PluginAuthConfiguration&& value) { m_authConfigurationHasBeenSet = true; m_authConfiguration = std::move(value); }
90
92
95 inline const Aws::String& GetServerUrl() const{ return m_serverUrl; }
96 inline bool ServerUrlHasBeenSet() const { return m_serverUrlHasBeenSet; }
97 inline void SetServerUrl(const Aws::String& value) { m_serverUrlHasBeenSet = true; m_serverUrl = value; }
98 inline void SetServerUrl(Aws::String&& value) { m_serverUrlHasBeenSet = true; m_serverUrl = std::move(value); }
99 inline void SetServerUrl(const char* value) { m_serverUrlHasBeenSet = true; m_serverUrl.assign(value); }
100 inline CreatePluginRequest& WithServerUrl(const Aws::String& value) { SetServerUrl(value); return *this;}
101 inline CreatePluginRequest& WithServerUrl(Aws::String&& value) { SetServerUrl(std::move(value)); return *this;}
102 inline CreatePluginRequest& WithServerUrl(const char* value) { SetServerUrl(value); return *this;}
104
106
109 inline const CustomPluginConfiguration& GetCustomPluginConfiguration() const{ return m_customPluginConfiguration; }
110 inline bool CustomPluginConfigurationHasBeenSet() const { return m_customPluginConfigurationHasBeenSet; }
111 inline void SetCustomPluginConfiguration(const CustomPluginConfiguration& value) { m_customPluginConfigurationHasBeenSet = true; m_customPluginConfiguration = value; }
112 inline void SetCustomPluginConfiguration(CustomPluginConfiguration&& value) { m_customPluginConfigurationHasBeenSet = true; m_customPluginConfiguration = std::move(value); }
116
118
124 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
125 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
126 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
127 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
128 inline CreatePluginRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
129 inline CreatePluginRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
130 inline CreatePluginRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
131 inline CreatePluginRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
133
135
139 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
140 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
141 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
142 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
143 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
144 inline CreatePluginRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
145 inline CreatePluginRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
146 inline CreatePluginRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
148 private:
149
150 Aws::String m_applicationId;
151 bool m_applicationIdHasBeenSet = false;
152
153 Aws::String m_displayName;
154 bool m_displayNameHasBeenSet = false;
155
156 PluginType m_type;
157 bool m_typeHasBeenSet = false;
158
159 PluginAuthConfiguration m_authConfiguration;
160 bool m_authConfigurationHasBeenSet = false;
161
162 Aws::String m_serverUrl;
163 bool m_serverUrlHasBeenSet = false;
164
165 CustomPluginConfiguration m_customPluginConfiguration;
166 bool m_customPluginConfigurationHasBeenSet = false;
167
168 Aws::Vector<Tag> m_tags;
169 bool m_tagsHasBeenSet = false;
170
171 Aws::String m_clientToken;
172 bool m_clientTokenHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace QBusiness
177} // namespace Aws
void SetCustomPluginConfiguration(const CustomPluginConfiguration &value)
void SetClientToken(const Aws::String &value)
CreatePluginRequest & WithApplicationId(const char *value)
void SetAuthConfiguration(PluginAuthConfiguration &&value)
void SetApplicationId(const Aws::String &value)
CreatePluginRequest & WithDisplayName(const char *value)
void SetCustomPluginConfiguration(CustomPluginConfiguration &&value)
CreatePluginRequest & WithServerUrl(Aws::String &&value)
CreatePluginRequest & WithCustomPluginConfiguration(const CustomPluginConfiguration &value)
CreatePluginRequest & WithTags(Aws::Vector< Tag > &&value)
CreatePluginRequest & AddTags(const Tag &value)
CreatePluginRequest & WithServerUrl(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetAuthConfiguration(const PluginAuthConfiguration &value)
CreatePluginRequest & WithClientToken(const Aws::String &value)
CreatePluginRequest & WithServerUrl(const char *value)
const PluginAuthConfiguration & GetAuthConfiguration() const
CreatePluginRequest & WithType(PluginType &&value)
const Aws::Vector< Tag > & GetTags() const
CreatePluginRequest & WithClientToken(const char *value)
CreatePluginRequest & WithType(const PluginType &value)
const CustomPluginConfiguration & GetCustomPluginConfiguration() const
CreatePluginRequest & AddTags(Tag &&value)
CreatePluginRequest & WithApplicationId(const Aws::String &value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreatePluginRequest & WithApplicationId(Aws::String &&value)
CreatePluginRequest & WithAuthConfiguration(PluginAuthConfiguration &&value)
void SetServerUrl(const Aws::String &value)
CreatePluginRequest & WithDisplayName(const Aws::String &value)
CreatePluginRequest & WithAuthConfiguration(const PluginAuthConfiguration &value)
CreatePluginRequest & WithCustomPluginConfiguration(CustomPluginConfiguration &&value)
void SetDisplayName(const Aws::String &value)
CreatePluginRequest & WithClientToken(Aws::String &&value)
CreatePluginRequest & WithDisplayName(Aws::String &&value)
CreatePluginRequest & WithTags(const Aws::Vector< Tag > &value)
void SetTags(const Aws::Vector< Tag > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector