7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cognito-idp/model/ResourceServerScopeType.h>
16namespace CognitoIdentityProvider
45 template<
typename UserPoolIdT = Aws::String>
46 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet =
true; m_userPoolId = std::forward<UserPoolIdT>(value); }
47 template<
typename UserPoolIdT = Aws::String>
62 template<
typename IdentifierT = Aws::String>
63 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet =
true; m_identifier = std::forward<IdentifierT>(value); }
64 template<
typename IdentifierT = Aws::String>
74 template<
typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
76 template<
typename NameT = Aws::String>
90 template<
typename ScopesT = Aws::Vector<ResourceServerScopeType>>
91 void SetScopes(ScopesT&& value) { m_scopesHasBeenSet =
true; m_scopes = std::forward<ScopesT>(value); }
92 template<
typename ScopesT = Aws::Vector<ResourceServerScopeType>>
94 template<
typename ScopesT = ResourceServerScopeType>
100 bool m_userPoolIdHasBeenSet =
false;
103 bool m_identifierHasBeenSet =
false;
106 bool m_nameHasBeenSet =
false;
109 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