7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/OAuth2ClientApplication.h>
11#include <aws/datazone/model/OAuth2GrantType.h>
46 m_oAuth2GrantTypeHasBeenSet =
true;
47 m_oAuth2GrantType = value;
61 template <
typename OAuth2ClientApplicationT = OAuth2ClientApplication>
63 m_oAuth2ClientApplicationHasBeenSet =
true;
64 m_oAuth2ClientApplication = std::forward<OAuth2ClientApplicationT>(value);
66 template <
typename OAuth2ClientApplicationT = OAuth2ClientApplication>
79 template <
typename TokenUrlT = Aws::String>
81 m_tokenUrlHasBeenSet =
true;
82 m_tokenUrl = std::forward<TokenUrlT>(value);
84 template <
typename TokenUrlT = Aws::String>
99 template <
typename TokenUrlParametersMapT = Aws::Map<Aws::String, Aws::String>>
101 m_tokenUrlParametersMapHasBeenSet =
true;
102 m_tokenUrlParametersMap = std::forward<TokenUrlParametersMapT>(value);
104 template <
typename TokenUrlParametersMapT = Aws::Map<Aws::String, Aws::String>>
109 template <
typename TokenUrlParametersMapKeyT = Aws::String,
typename TokenUrlParametersMapValueT = Aws::String>
111 m_tokenUrlParametersMapHasBeenSet =
true;
112 m_tokenUrlParametersMap.emplace(std::forward<TokenUrlParametersMapKeyT>(key), std::forward<TokenUrlParametersMapValueT>(value));
119 OAuth2ClientApplication m_oAuth2ClientApplication;
124 bool m_oAuth2GrantTypeHasBeenSet =
false;
125 bool m_oAuth2ClientApplicationHasBeenSet =
false;
126 bool m_tokenUrlHasBeenSet =
false;
127 bool m_tokenUrlParametersMapHasBeenSet =
false;
void SetTokenUrl(TokenUrlT &&value)
void SetOAuth2GrantType(OAuth2GrantType value)
bool OAuth2GrantTypeHasBeenSet() const
bool OAuth2ClientApplicationHasBeenSet() const
bool TokenUrlHasBeenSet() const
AWS_DATAZONE_API OAuth2PropertiesPatch(Aws::Utils::Json::JsonView jsonValue)
OAuth2PropertiesPatch & WithOAuth2ClientApplication(OAuth2ClientApplicationT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTokenUrlParametersMap(TokenUrlParametersMapT &&value)
OAuth2PropertiesPatch & AddTokenUrlParametersMap(TokenUrlParametersMapKeyT &&key, TokenUrlParametersMapValueT &&value)
const Aws::String & GetTokenUrl() const
const OAuth2ClientApplication & GetOAuth2ClientApplication() const
OAuth2GrantType GetOAuth2GrantType() const
AWS_DATAZONE_API OAuth2PropertiesPatch()=default
OAuth2PropertiesPatch & WithTokenUrlParametersMap(TokenUrlParametersMapT &&value)
AWS_DATAZONE_API OAuth2PropertiesPatch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOAuth2ClientApplication(OAuth2ClientApplicationT &&value)
OAuth2PropertiesPatch & WithTokenUrl(TokenUrlT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTokenUrlParametersMap() const
bool TokenUrlParametersMapHasBeenSet() const
OAuth2PropertiesPatch & WithOAuth2GrantType(OAuth2GrantType value)
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
Aws::Utils::Json::JsonValue JsonValue