7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/model/SourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
63 template<
typename UrlT = Aws::String>
64 void SetUrl(UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
65 template<
typename UrlT = Aws::String>
78 template<
typename UsernameT = Aws::String>
79 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
80 template<
typename UsernameT = Aws::String>
97 template<
typename PasswordT = Aws::String>
98 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
99 template<
typename PasswordT = Aws::String>
110 template<
typename SshKeyT = Aws::String>
111 void SetSshKey(SshKeyT&& value) { m_sshKeyHasBeenSet =
true; m_sshKey = std::forward<SshKeyT>(value); }
112 template<
typename SshKeyT = Aws::String>
125 template<
typename RevisionT = Aws::String>
126 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet =
true; m_revision = std::forward<RevisionT>(value); }
127 template<
typename RevisionT = Aws::String>
133 bool m_typeHasBeenSet =
false;
136 bool m_urlHasBeenSet =
false;
139 bool m_usernameHasBeenSet =
false;
142 bool m_passwordHasBeenSet =
false;
145 bool m_sshKeyHasBeenSet =
false;
148 bool m_revisionHasBeenSet =
false;
bool TypeHasBeenSet() const
void SetPassword(PasswordT &&value)
const Aws::String & GetUrl() const
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSshKey() const
const Aws::String & GetUsername() const
bool SshKeyHasBeenSet() const
AWS_OPSWORKS_API Source()=default
void SetUrl(UrlT &&value)
bool UrlHasBeenSet() const
void SetType(SourceType value)
SourceType GetType() const
Source & WithRevision(RevisionT &&value)
void SetRevision(RevisionT &&value)
AWS_OPSWORKS_API Source(Aws::Utils::Json::JsonView jsonValue)
Source & WithType(SourceType value)
Source & WithUrl(UrlT &&value)
Source & WithUsername(UsernameT &&value)
const Aws::String & GetPassword() const
bool RevisionHasBeenSet() const
Source & WithPassword(PasswordT &&value)
Source & WithSshKey(SshKeyT &&value)
void SetSshKey(SshKeyT &&value)
void SetUsername(UsernameT &&value)
const Aws::String & GetRevision() const
bool UsernameHasBeenSet() const
bool PasswordHasBeenSet() const
AWS_OPSWORKS_API Source & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue