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>
48 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
66 inline void SetToken(
const char* value) { m_tokenHasBeenSet =
true; m_token.assign(value); }
93 inline void SetAuthType(
AuthType&& value) { m_authTypeHasBeenSet =
true; m_authType = std::move(value); }
106 inline void SetShouldOverwrite(
bool value) { m_shouldOverwriteHasBeenSet =
true; m_shouldOverwrite = value; }
112 bool m_usernameHasBeenSet =
false;
115 bool m_tokenHasBeenSet =
false;
118 bool m_serverTypeHasBeenSet =
false;
121 bool m_authTypeHasBeenSet =
false;
123 bool m_shouldOverwrite;
124 bool m_shouldOverwriteHasBeenSet =
false;
void SetToken(const Aws::String &value)
ImportSourceCredentialsRequest & WithServerType(ServerType &&value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportSourceCredentialsRequest & WithToken(const Aws::String &value)
bool TokenHasBeenSet() const
const Aws::String & GetUsername() const
void SetUsername(const Aws::String &value)
const Aws::String & GetToken() const
void SetToken(Aws::String &&value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
void SetServerType(ServerType &&value)
ImportSourceCredentialsRequest & WithAuthType(AuthType &&value)
ImportSourceCredentialsRequest & WithServerType(const ServerType &value)
void SetShouldOverwrite(bool value)
bool UsernameHasBeenSet() const
void SetAuthType(const AuthType &value)
ImportSourceCredentialsRequest & WithUsername(const char *value)
ImportSourceCredentialsRequest & WithAuthType(const AuthType &value)
ImportSourceCredentialsRequest & WithToken(const char *value)
void SetToken(const char *value)
void SetAuthType(AuthType &&value)
const ServerType & GetServerType() const
void SetUsername(const char *value)
bool ServerTypeHasBeenSet() const
void SetServerType(const ServerType &value)
ImportSourceCredentialsRequest & WithToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool AuthTypeHasBeenSet() const
ImportSourceCredentialsRequest & WithUsername(const Aws::String &value)
const AuthType & GetAuthType() const
ImportSourceCredentialsRequest & WithShouldOverwrite(bool value)
ImportSourceCredentialsRequest & WithUsername(Aws::String &&value)
void SetUsername(Aws::String &&value)
bool ShouldOverwriteHasBeenSet() const
bool GetShouldOverwrite() const
AWS_CODEBUILD_API ImportSourceCredentialsRequest()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String