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>
49 template<
typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
51 template<
typename ArnT = Aws::String>
84 template<
typename ResourceT = Aws::String>
85 void SetResource(ResourceT&& value) { m_resourceHasBeenSet =
true; m_resource = std::forward<ResourceT>(value); }
86 template<
typename ResourceT = Aws::String>
92 bool m_arnHasBeenSet =
false;
95 bool m_serverTypeHasBeenSet =
false;
98 bool m_authTypeHasBeenSet =
false;
101 bool m_resourceHasBeenSet =
false;
bool AuthTypeHasBeenSet() const
bool ResourceHasBeenSet() const
SourceCredentialsInfo & WithAuthType(AuthType value)
bool ServerTypeHasBeenSet() const
bool ArnHasBeenSet() const
SourceCredentialsInfo & WithServerType(ServerType value)
AWS_CODEBUILD_API SourceCredentialsInfo(Aws::Utils::Json::JsonView jsonValue)
AuthType GetAuthType() const
const Aws::String & GetResource() const
ServerType GetServerType() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServerType(ServerType value)
AWS_CODEBUILD_API SourceCredentialsInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceCredentialsInfo & WithResource(ResourceT &&value)
AWS_CODEBUILD_API SourceCredentialsInfo()=default
const Aws::String & GetArn() const
void SetResource(ResourceT &&value)
void SetArn(ArnT &&value)
void SetAuthType(AuthType value)
SourceCredentialsInfo & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue