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 TermsIdT = Aws::String>
44 m_termsIdHasBeenSet =
true;
45 m_termsId = std::forward<TermsIdT>(value);
47 template <
typename TermsIdT = Aws::String>
60 template <
typename UserPoolIdT = Aws::String>
62 m_userPoolIdHasBeenSet =
true;
63 m_userPoolId = std::forward<UserPoolIdT>(value);
65 template <
typename UserPoolIdT = Aws::String>
78 template <
typename TermsNameT = Aws::String>
80 m_termsNameHasBeenSet =
true;
81 m_termsName = std::forward<TermsNameT>(value);
83 template <
typename TermsNameT = Aws::String>
98 m_termsSourceHasBeenSet =
true;
99 m_termsSource = value;
115 m_enforcementHasBeenSet =
true;
116 m_enforcement = value;
135 template <
typename LinksT = Aws::Map<Aws::String, Aws::String>>
137 m_linksHasBeenSet =
true;
138 m_links = std::forward<LinksT>(value);
140 template <
typename LinksT = Aws::Map<Aws::String, Aws::String>>
142 SetLinks(std::forward<LinksT>(value));
145 template <
typename LinksKeyT = Aws::String,
typename LinksValueT = Aws::String>
147 m_linksHasBeenSet =
true;
148 m_links.emplace(std::forward<LinksKeyT>(key), std::forward<LinksValueT>(value));
164 bool m_termsIdHasBeenSet =
false;
165 bool m_userPoolIdHasBeenSet =
false;
166 bool m_termsNameHasBeenSet =
false;
167 bool m_termsSourceHasBeenSet =
false;
168 bool m_enforcementHasBeenSet =
false;
169 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