7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/credentialbroker/CredentialBrokerRequest.h>
11#include <aws/credentialbroker/CredentialBroker_EXPORTS.h>
16namespace CredentialBroker {
40 template <
typename CredentialProv
iderArnT = Aws::String>
42 m_credentialProviderArnHasBeenSet =
true;
43 m_credentialProviderArn = std::forward<CredentialProviderArnT>(value);
45 template <
typename CredentialProv
iderArnT = Aws::String>
58 template <
typename ScopesT = Aws::Vector<Aws::String>>
60 m_scopesHasBeenSet =
true;
61 m_scopes = std::forward<ScopesT>(value);
63 template <
typename ScopesT = Aws::Vector<Aws::String>>
68 template <
typename ScopesT = Aws::String>
70 m_scopesHasBeenSet =
true;
71 m_scopes.emplace_back(std::forward<ScopesT>(value));
84 template <
typename SessionBindingUrlT = Aws::String>
86 m_sessionBindingUrlHasBeenSet =
true;
87 m_sessionBindingUrl = std::forward<SessionBindingUrlT>(value);
89 template <
typename SessionBindingUrlT = Aws::String>
103 template <
typename ResourcesT = Aws::Vector<Aws::String>>
105 m_resourcesHasBeenSet =
true;
106 m_resources = std::forward<ResourcesT>(value);
108 template <
typename ResourcesT = Aws::Vector<Aws::String>>
113 template <
typename ResourcesT = Aws::String>
115 m_resourcesHasBeenSet =
true;
116 m_resources.emplace_back(std::forward<ResourcesT>(value));
128 template <
typename AudiencesT = Aws::Vector<Aws::String>>
130 m_audiencesHasBeenSet =
true;
131 m_audiences = std::forward<AudiencesT>(value);
133 template <
typename AudiencesT = Aws::Vector<Aws::String>>
138 template <
typename AudiencesT = Aws::String>
140 m_audiencesHasBeenSet =
true;
141 m_audiences.emplace_back(std::forward<AudiencesT>(value));
154 template <
typename CustomParametersT = Aws::Map<Aws::String, Aws::String>>
156 m_customParametersHasBeenSet =
true;
157 m_customParameters = std::forward<CustomParametersT>(value);
159 template <
typename CustomParametersT = Aws::Map<Aws::String, Aws::String>>
164 template <
typename CustomParametersKeyT = Aws::String,
typename CustomParametersValueT = Aws::String>
166 m_customParametersHasBeenSet =
true;
167 m_customParameters.emplace(std::forward<CustomParametersKeyT>(key), std::forward<CustomParametersValueT>(value));
180 template <
typename CustomStateT = Aws::String>
182 m_customStateHasBeenSet =
true;
183 m_customState = std::forward<CustomStateT>(value);
185 template <
typename CustomStateT = Aws::String>
205 bool m_credentialProviderArnHasBeenSet =
false;
206 bool m_scopesHasBeenSet =
false;
207 bool m_sessionBindingUrlHasBeenSet =
false;
208 bool m_resourcesHasBeenSet =
false;
209 bool m_audiencesHasBeenSet =
false;
210 bool m_customParametersHasBeenSet =
false;
211 bool m_customStateHasBeenSet =
false;
StartOAuthSessionRequest & WithSessionBindingUrl(SessionBindingUrlT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomParameters() const
const Aws::String & GetSessionBindingUrl() const
StartOAuthSessionRequest & AddCustomParameters(CustomParametersKeyT &&key, CustomParametersValueT &&value)
void SetCustomParameters(CustomParametersT &&value)
void SetCredentialProviderArn(CredentialProviderArnT &&value)
void SetAudiences(AudiencesT &&value)
StartOAuthSessionRequest & AddAudiences(AudiencesT &&value)
const Aws::Vector< Aws::String > & GetScopes() const
StartOAuthSessionRequest & WithResources(ResourcesT &&value)
const Aws::Vector< Aws::String > & GetAudiences() const
void SetResources(ResourcesT &&value)
StartOAuthSessionRequest & WithScopes(ScopesT &&value)
const Aws::String & GetCustomState() const
bool CustomParametersHasBeenSet() const
const Aws::String & GetCredentialProviderArn() const
bool SessionBindingUrlHasBeenSet() const
AWS_CREDENTIALBROKER_API StartOAuthSessionRequest()=default
virtual const char * GetServiceRequestName() const override
StartOAuthSessionRequest & WithCredentialProviderArn(CredentialProviderArnT &&value)
StartOAuthSessionRequest & WithCustomParameters(CustomParametersT &&value)
bool AudiencesHasBeenSet() const
void SetSessionBindingUrl(SessionBindingUrlT &&value)
StartOAuthSessionRequest & WithAudiences(AudiencesT &&value)
AWS_CREDENTIALBROKER_API Aws::String SerializePayload() const override
StartOAuthSessionRequest & AddResources(ResourcesT &&value)
StartOAuthSessionRequest & WithCustomState(CustomStateT &&value)
StartOAuthSessionRequest & AddScopes(ScopesT &&value)
bool CustomStateHasBeenSet() const
void SetScopes(ScopesT &&value)
bool ResourcesHasBeenSet() const
const Aws::Vector< Aws::String > & GetResources() const
void SetCustomState(CustomStateT &&value)
bool CredentialProviderArnHasBeenSet() const
bool ScopesHasBeenSet() const
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
std::vector< T, Aws::Allocator< T > > Vector