7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codebuild/model/ServerType.h>
10#include <aws/codebuild/model/AuthType.h>
50 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
51 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
78 inline void SetAuthType(
AuthType&& value) { m_authTypeHasBeenSet =
true; m_authType = std::move(value); }
92 inline void SetResource(
const char* value) { m_resourceHasBeenSet =
true; m_resource.assign(value); }
100 bool m_arnHasBeenSet =
false;
103 bool m_serverTypeHasBeenSet =
false;
106 bool m_authTypeHasBeenSet =
false;
109 bool m_resourceHasBeenSet =
false;
SourceCredentialsInfo & WithResource(const char *value)
bool AuthTypeHasBeenSet() const
SourceCredentialsInfo & WithServerType(ServerType &&value)
SourceCredentialsInfo & WithAuthType(AuthType &&value)
bool ResourceHasBeenSet() const
const ServerType & GetServerType() const
bool ServerTypeHasBeenSet() const
bool ArnHasBeenSet() const
AWS_CODEBUILD_API SourceCredentialsInfo(Aws::Utils::Json::JsonView jsonValue)
void SetAuthType(AuthType &&value)
void SetServerType(const ServerType &value)
SourceCredentialsInfo & WithResource(Aws::String &&value)
SourceCredentialsInfo & WithArn(const char *value)
void SetResource(const Aws::String &value)
void SetArn(const char *value)
const Aws::String & GetResource() const
AWS_CODEBUILD_API SourceCredentialsInfo()
void SetServerType(ServerType &&value)
SourceCredentialsInfo & WithArn(const Aws::String &value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResource(const char *value)
void SetArn(Aws::String &&value)
AWS_CODEBUILD_API SourceCredentialsInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResource(Aws::String &&value)
void SetAuthType(const AuthType &value)
SourceCredentialsInfo & WithAuthType(const AuthType &value)
SourceCredentialsInfo & WithResource(const Aws::String &value)
SourceCredentialsInfo & WithArn(Aws::String &&value)
const Aws::String & GetArn() const
void SetArn(const Aws::String &value)
SourceCredentialsInfo & WithServerType(const ServerType &value)
const AuthType & GetAuthType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue