7#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
8#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
9#include <aws/cognito-idp/model/TermsEnforcementType.h>
10#include <aws/cognito-idp/model/TermsSourceType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17namespace CognitoIdentityProvider {
42 template <
typename UserPoolIdT = Aws::String>
44 m_userPoolIdHasBeenSet =
true;
45 m_userPoolId = std::forward<UserPoolIdT>(value);
47 template <
typename UserPoolIdT = Aws::String>
61 template <
typename ClientIdT = Aws::String>
63 m_clientIdHasBeenSet =
true;
64 m_clientId = std::forward<ClientIdT>(value);
66 template <
typename ClientIdT = Aws::String>
83 template <
typename TermsNameT = Aws::String>
85 m_termsNameHasBeenSet =
true;
86 m_termsName = std::forward<TermsNameT>(value);
88 template <
typename TermsNameT = Aws::String>
103 m_termsSourceHasBeenSet =
true;
104 m_termsSource = value;
120 m_enforcementHasBeenSet =
true;
121 m_enforcement = value;
140 template <
typename LinksT = Aws::Map<Aws::String, Aws::String>>
142 m_linksHasBeenSet =
true;
143 m_links = std::forward<LinksT>(value);
145 template <
typename LinksT = Aws::Map<Aws::String, Aws::String>>
147 SetLinks(std::forward<LinksT>(value));
150 template <
typename LinksKeyT = Aws::String,
typename LinksValueT = Aws::String>
152 m_linksHasBeenSet =
true;
153 m_links.emplace(std::forward<LinksKeyT>(key), std::forward<LinksValueT>(value));
169 bool m_userPoolIdHasBeenSet =
false;
170 bool m_clientIdHasBeenSet =
false;
171 bool m_termsNameHasBeenSet =
false;
172 bool m_termsSourceHasBeenSet =
false;
173 bool m_enforcementHasBeenSet =
false;
174 bool m_linksHasBeenSet =
false;
CreateTermsRequest & WithUserPoolId(UserPoolIdT &&value)
CreateTermsRequest & AddLinks(LinksKeyT &&key, LinksValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetLinks() const
CreateTermsRequest & WithTermsSource(TermsSourceType value)
virtual const char * GetServiceRequestName() const override
void SetLinks(LinksT &&value)
bool TermsSourceHasBeenSet() const
bool LinksHasBeenSet() const
void SetTermsSource(TermsSourceType value)
CreateTermsRequest & WithLinks(LinksT &&value)
void SetEnforcement(TermsEnforcementType value)
bool TermsNameHasBeenSet() const
const Aws::String & GetClientId() const
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
void SetTermsName(TermsNameT &&value)
TermsSourceType GetTermsSource() const
bool ClientIdHasBeenSet() const
AWS_COGNITOIDENTITYPROVIDER_API CreateTermsRequest()=default
bool EnforcementHasBeenSet() const
const Aws::String & GetTermsName() const
void SetClientId(ClientIdT &&value)
bool UserPoolIdHasBeenSet() const
void SetUserPoolId(UserPoolIdT &&value)
TermsEnforcementType GetEnforcement() const
CreateTermsRequest & WithEnforcement(TermsEnforcementType value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTermsRequest & WithTermsName(TermsNameT &&value)
CreateTermsRequest & WithClientId(ClientIdT &&value)
const Aws::String & GetUserPoolId() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String