AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
UpdatePortalRequest.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2Request.h>
8#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
9#include <aws/apigatewayv2/model/Authorization.h>
10#include <aws/apigatewayv2/model/EndpointConfigurationRequest.h>
11#include <aws/apigatewayv2/model/PortalContent.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18namespace ApiGatewayV2 {
19namespace Model {
20
27 public:
28 AWS_APIGATEWAYV2_API UpdatePortalRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdatePortal"; }
35
36 AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override;
37
39
42 inline const Authorization& GetAuthorization() const { return m_authorization; }
43 inline bool AuthorizationHasBeenSet() const { return m_authorizationHasBeenSet; }
44 template <typename AuthorizationT = Authorization>
45 void SetAuthorization(AuthorizationT&& value) {
46 m_authorizationHasBeenSet = true;
47 m_authorization = std::forward<AuthorizationT>(value);
48 }
49 template <typename AuthorizationT = Authorization>
50 UpdatePortalRequest& WithAuthorization(AuthorizationT&& value) {
51 SetAuthorization(std::forward<AuthorizationT>(value));
52 return *this;
53 }
55
57
60 inline const EndpointConfigurationRequest& GetEndpointConfiguration() const { return m_endpointConfiguration; }
61 inline bool EndpointConfigurationHasBeenSet() const { return m_endpointConfigurationHasBeenSet; }
62 template <typename EndpointConfigurationT = EndpointConfigurationRequest>
63 void SetEndpointConfiguration(EndpointConfigurationT&& value) {
64 m_endpointConfigurationHasBeenSet = true;
65 m_endpointConfiguration = std::forward<EndpointConfigurationT>(value);
66 }
67 template <typename EndpointConfigurationT = EndpointConfigurationRequest>
68 UpdatePortalRequest& WithEndpointConfiguration(EndpointConfigurationT&& value) {
69 SetEndpointConfiguration(std::forward<EndpointConfigurationT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Vector<Aws::String>& GetIncludedPortalProductArns() const { return m_includedPortalProductArns; }
79 inline bool IncludedPortalProductArnsHasBeenSet() const { return m_includedPortalProductArnsHasBeenSet; }
80 template <typename IncludedPortalProductArnsT = Aws::Vector<Aws::String>>
81 void SetIncludedPortalProductArns(IncludedPortalProductArnsT&& value) {
82 m_includedPortalProductArnsHasBeenSet = true;
83 m_includedPortalProductArns = std::forward<IncludedPortalProductArnsT>(value);
84 }
85 template <typename IncludedPortalProductArnsT = Aws::Vector<Aws::String>>
86 UpdatePortalRequest& WithIncludedPortalProductArns(IncludedPortalProductArnsT&& value) {
87 SetIncludedPortalProductArns(std::forward<IncludedPortalProductArnsT>(value));
88 return *this;
89 }
90 template <typename IncludedPortalProductArnsT = Aws::String>
91 UpdatePortalRequest& AddIncludedPortalProductArns(IncludedPortalProductArnsT&& value) {
92 m_includedPortalProductArnsHasBeenSet = true;
93 m_includedPortalProductArns.emplace_back(std::forward<IncludedPortalProductArnsT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetLogoUri() const { return m_logoUri; }
103 inline bool LogoUriHasBeenSet() const { return m_logoUriHasBeenSet; }
104 template <typename LogoUriT = Aws::String>
105 void SetLogoUri(LogoUriT&& value) {
106 m_logoUriHasBeenSet = true;
107 m_logoUri = std::forward<LogoUriT>(value);
108 }
109 template <typename LogoUriT = Aws::String>
110 UpdatePortalRequest& WithLogoUri(LogoUriT&& value) {
111 SetLogoUri(std::forward<LogoUriT>(value));
112 return *this;
113 }
115
117
121 inline const PortalContent& GetPortalContent() const { return m_portalContent; }
122 inline bool PortalContentHasBeenSet() const { return m_portalContentHasBeenSet; }
123 template <typename PortalContentT = PortalContent>
124 void SetPortalContent(PortalContentT&& value) {
125 m_portalContentHasBeenSet = true;
126 m_portalContent = std::forward<PortalContentT>(value);
127 }
128 template <typename PortalContentT = PortalContent>
129 UpdatePortalRequest& WithPortalContent(PortalContentT&& value) {
130 SetPortalContent(std::forward<PortalContentT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetPortalId() const { return m_portalId; }
140 inline bool PortalIdHasBeenSet() const { return m_portalIdHasBeenSet; }
141 template <typename PortalIdT = Aws::String>
142 void SetPortalId(PortalIdT&& value) {
143 m_portalIdHasBeenSet = true;
144 m_portalId = std::forward<PortalIdT>(value);
145 }
146 template <typename PortalIdT = Aws::String>
147 UpdatePortalRequest& WithPortalId(PortalIdT&& value) {
148 SetPortalId(std::forward<PortalIdT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetRumAppMonitorName() const { return m_rumAppMonitorName; }
158 inline bool RumAppMonitorNameHasBeenSet() const { return m_rumAppMonitorNameHasBeenSet; }
159 template <typename RumAppMonitorNameT = Aws::String>
160 void SetRumAppMonitorName(RumAppMonitorNameT&& value) {
161 m_rumAppMonitorNameHasBeenSet = true;
162 m_rumAppMonitorName = std::forward<RumAppMonitorNameT>(value);
163 }
164 template <typename RumAppMonitorNameT = Aws::String>
165 UpdatePortalRequest& WithRumAppMonitorName(RumAppMonitorNameT&& value) {
166 SetRumAppMonitorName(std::forward<RumAppMonitorNameT>(value));
167 return *this;
168 }
170 private:
171 Authorization m_authorization;
172
173 EndpointConfigurationRequest m_endpointConfiguration;
174
175 Aws::Vector<Aws::String> m_includedPortalProductArns;
176
177 Aws::String m_logoUri;
178
179 PortalContent m_portalContent;
180
181 Aws::String m_portalId;
182
183 Aws::String m_rumAppMonitorName;
184 bool m_authorizationHasBeenSet = false;
185 bool m_endpointConfigurationHasBeenSet = false;
186 bool m_includedPortalProductArnsHasBeenSet = false;
187 bool m_logoUriHasBeenSet = false;
188 bool m_portalContentHasBeenSet = false;
189 bool m_portalIdHasBeenSet = false;
190 bool m_rumAppMonitorNameHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace ApiGatewayV2
195} // namespace Aws
UpdatePortalRequest & WithIncludedPortalProductArns(IncludedPortalProductArnsT &&value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
UpdatePortalRequest & WithEndpointConfiguration(EndpointConfigurationT &&value)
UpdatePortalRequest & WithRumAppMonitorName(RumAppMonitorNameT &&value)
virtual const char * GetServiceRequestName() const override
UpdatePortalRequest & WithLogoUri(LogoUriT &&value)
UpdatePortalRequest & WithPortalId(PortalIdT &&value)
AWS_APIGATEWAYV2_API UpdatePortalRequest()=default
UpdatePortalRequest & WithAuthorization(AuthorizationT &&value)
UpdatePortalRequest & AddIncludedPortalProductArns(IncludedPortalProductArnsT &&value)
const EndpointConfigurationRequest & GetEndpointConfiguration() const
void SetEndpointConfiguration(EndpointConfigurationT &&value)
UpdatePortalRequest & WithPortalContent(PortalContentT &&value)
void SetRumAppMonitorName(RumAppMonitorNameT &&value)
void SetIncludedPortalProductArns(IncludedPortalProductArnsT &&value)
const Aws::Vector< Aws::String > & GetIncludedPortalProductArns() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector