7#include <aws/codebuild/CodeBuildRequest.h>
8#include <aws/codebuild/CodeBuild_EXPORTS.h>
9#include <aws/codebuild/model/AuthType.h>
10#include <aws/codebuild/model/ServerType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
42 template <
typename UsernameT = Aws::String>
44 m_usernameHasBeenSet =
true;
45 m_username = std::forward<UsernameT>(value);
47 template <
typename UsernameT = Aws::String>
64 template <
typename TokenT = Aws::String>
66 m_tokenHasBeenSet =
true;
67 m_token = std::forward<TokenT>(value);
69 template <
typename TokenT = Aws::String>
71 SetToken(std::forward<TokenT>(value));
83 m_serverTypeHasBeenSet =
true;
101 m_authTypeHasBeenSet =
true;
119 m_shouldOverwriteHasBeenSet =
true;
120 m_shouldOverwrite = value;
129 bool m_usernameHasBeenSet =
false;
132 bool m_tokenHasBeenSet =
false;
135 bool m_serverTypeHasBeenSet =
false;
138 bool m_authTypeHasBeenSet =
false;
140 bool m_shouldOverwrite{
false};
141 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