7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/AuthType.h>
9#include <aws/codebuild/model/ServerType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
43 template <
typename ArnT = Aws::String>
45 m_arnHasBeenSet =
true;
46 m_arn = std::forward<ArnT>(value);
48 template <
typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
63 m_serverTypeHasBeenSet =
true;
80 m_authTypeHasBeenSet =
true;
96 template <
typename ResourceT = Aws::String>
98 m_resourceHasBeenSet =
true;
99 m_resource = std::forward<ResourceT>(value);
101 template <
typename ResourceT = Aws::String>
115 bool m_arnHasBeenSet =
false;
116 bool m_serverTypeHasBeenSet =
false;
117 bool m_authTypeHasBeenSet =
false;
118 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