7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/CodeBuildRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codebuild/model/ServerType.h>
11#include <aws/codebuild/model/AuthType.h>
46 template<
typename UsernameT = Aws::String>
47 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
48 template<
typename UsernameT = Aws::String>
62 template<
typename TokenT = Aws::String>
63 void SetToken(TokenT&& value) { m_tokenHasBeenSet =
true; m_token = std::forward<TokenT>(value); }
64 template<
typename TokenT = Aws::String>
98 inline void SetShouldOverwrite(
bool value) { m_shouldOverwriteHasBeenSet =
true; m_shouldOverwrite = value; }
104 bool m_usernameHasBeenSet =
false;
107 bool m_tokenHasBeenSet =
false;
110 bool m_serverTypeHasBeenSet =
false;
113 bool m_authTypeHasBeenSet =
false;
115 bool m_shouldOverwrite{
false};
116 bool m_shouldOverwriteHasBeenSet =
false;
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportSourceCredentialsRequest & WithAuthType(AuthType value)
bool TokenHasBeenSet() const
const Aws::String & GetUsername() const
void SetUsername(UsernameT &&value)
const Aws::String & GetToken() const
ImportSourceCredentialsRequest & WithServerType(ServerType value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
void SetShouldOverwrite(bool value)
void SetToken(TokenT &&value)
ImportSourceCredentialsRequest & WithToken(TokenT &&value)
bool UsernameHasBeenSet() const
bool ServerTypeHasBeenSet() const
ServerType GetServerType() const
virtual const char * GetServiceRequestName() const override
void SetAuthType(AuthType value)
bool AuthTypeHasBeenSet() const
ImportSourceCredentialsRequest & WithShouldOverwrite(bool value)
ImportSourceCredentialsRequest & WithUsername(UsernameT &&value)
void SetServerType(ServerType value)
bool ShouldOverwriteHasBeenSet() const
bool GetShouldOverwrite() const
AWS_CODEBUILD_API ImportSourceCredentialsRequest()=default
AuthType GetAuthType() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String