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/cognito-idp/model/TermsSourceType.h>
11#include <aws/cognito-idp/model/TermsEnforcementType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
17namespace CognitoIdentityProvider
46 template<
typename TermsIdT = Aws::String>
47 void SetTermsId(TermsIdT&& value) { m_termsIdHasBeenSet =
true; m_termsId = std::forward<TermsIdT>(value); }
48 template<
typename TermsIdT = Aws::String>
58 template<
typename UserPoolIdT = Aws::String>
59 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet =
true; m_userPoolId = std::forward<UserPoolIdT>(value); }
60 template<
typename UserPoolIdT = Aws::String>
70 template<
typename TermsNameT = Aws::String>
71 void SetTermsName(TermsNameT&& value) { m_termsNameHasBeenSet =
true; m_termsName = std::forward<TermsNameT>(value); }
72 template<
typename TermsNameT = Aws::String>
109 template<
typename LinksT = Aws::Map<Aws::String, Aws::String>>
110 void SetLinks(LinksT&& value) { m_linksHasBeenSet =
true; m_links = std::forward<LinksT>(value); }
111 template<
typename LinksT = Aws::Map<Aws::String, Aws::String>>
113 template<
typename LinksKeyT = Aws::String,
typename LinksValueT = Aws::String>
115 m_linksHasBeenSet =
true; m_links.emplace(std::forward<LinksKeyT>(key), std::forward<LinksValueT>(value));
return *
this;
121 bool m_termsIdHasBeenSet =
false;
124 bool m_userPoolIdHasBeenSet =
false;
127 bool m_termsNameHasBeenSet =
false;
130 bool m_termsSourceHasBeenSet =
false;
133 bool m_enforcementHasBeenSet =
false;
136 bool m_linksHasBeenSet =
false;
UpdateTermsRequest & WithTermsId(TermsIdT &&value)
UpdateTermsRequest & WithTermsName(TermsNameT &&value)
bool LinksHasBeenSet() const
bool UserPoolIdHasBeenSet() const
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool EnforcementHasBeenSet() const
TermsSourceType GetTermsSource() const
TermsEnforcementType GetEnforcement() const
void SetUserPoolId(UserPoolIdT &&value)
UpdateTermsRequest & WithTermsSource(TermsSourceType value)
UpdateTermsRequest & AddLinks(LinksKeyT &&key, LinksValueT &&value)
void SetTermsName(TermsNameT &&value)
bool TermsSourceHasBeenSet() const
UpdateTermsRequest & WithLinks(LinksT &&value)
const Aws::String & GetTermsName() const
bool TermsIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetLinks() const
void SetLinks(LinksT &&value)
bool TermsNameHasBeenSet() const
void SetEnforcement(TermsEnforcementType value)
const Aws::String & GetUserPoolId() const
UpdateTermsRequest & WithUserPoolId(UserPoolIdT &&value)
UpdateTermsRequest & WithEnforcement(TermsEnforcementType value)
virtual const char * GetServiceRequestName() const override
void SetTermsSource(TermsSourceType value)
const Aws::String & GetTermsId() const
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
AWS_COGNITOIDENTITYPROVIDER_API UpdateTermsRequest()=default
void SetTermsId(TermsIdT &&value)
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