7#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
8#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
9#include <aws/cognito-idp/model/ResourceServerScopeType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16namespace CognitoIdentityProvider {
41 template <
typename UserPoolIdT = Aws::String>
43 m_userPoolIdHasBeenSet =
true;
44 m_userPoolId = std::forward<UserPoolIdT>(value);
46 template <
typename UserPoolIdT = Aws::String>
64 template <
typename IdentifierT = Aws::String>
66 m_identifierHasBeenSet =
true;
67 m_identifier = std::forward<IdentifierT>(value);
69 template <
typename IdentifierT = Aws::String>
82 template <
typename NameT = Aws::String>
84 m_nameHasBeenSet =
true;
85 m_name = std::forward<NameT>(value);
87 template <
typename NameT = Aws::String>
89 SetName(std::forward<NameT>(value));
104 template <
typename ScopesT = Aws::Vector<ResourceServerScopeType>>
106 m_scopesHasBeenSet =
true;
107 m_scopes = std::forward<ScopesT>(value);
109 template <
typename ScopesT = Aws::Vector<ResourceServerScopeType>>
114 template <
typename ScopesT = ResourceServerScopeType>
116 m_scopesHasBeenSet =
true;
117 m_scopes.emplace_back(std::forward<ScopesT>(value));
129 bool m_userPoolIdHasBeenSet =
false;
130 bool m_identifierHasBeenSet =
false;
131 bool m_nameHasBeenSet =
false;
132 bool m_scopesHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
const Aws::String & GetUserPoolId() const
void SetName(NameT &&value)
const Aws::String & GetIdentifier() const
CreateResourceServerRequest & AddScopes(ScopesT &&value)
bool ScopesHasBeenSet() const
const Aws::String & GetName() const
bool NameHasBeenSet() const
CreateResourceServerRequest & WithName(NameT &&value)
const Aws::Vector< ResourceServerScopeType > & GetScopes() const
void SetIdentifier(IdentifierT &&value)
CreateResourceServerRequest & WithUserPoolId(UserPoolIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateResourceServerRequest & WithIdentifier(IdentifierT &&value)
CreateResourceServerRequest & WithScopes(ScopesT &&value)
AWS_COGNITOIDENTITYPROVIDER_API CreateResourceServerRequest()=default
bool IdentifierHasBeenSet() const
void SetUserPoolId(UserPoolIdT &&value)
void SetScopes(ScopesT &&value)
bool UserPoolIdHasBeenSet() const
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector