7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/model/SourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
53 inline void SetType(
SourceType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
66 inline void SetUrl(
Aws::String&& value) { m_urlHasBeenSet =
true; m_url = std::move(value); }
67 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
84 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
105 inline void SetPassword(
const char* value) { m_passwordHasBeenSet =
true; m_password.assign(value); }
120 inline void SetSshKey(
const char* value) { m_sshKeyHasBeenSet =
true; m_sshKey.assign(value); }
137 inline void SetRevision(
const char* value) { m_revisionHasBeenSet =
true; m_revision.assign(value); }
145 bool m_typeHasBeenSet =
false;
148 bool m_urlHasBeenSet =
false;
151 bool m_usernameHasBeenSet =
false;
154 bool m_passwordHasBeenSet =
false;
157 bool m_sshKeyHasBeenSet =
false;
160 bool m_revisionHasBeenSet =
false;
void SetUsername(const char *value)
Source & WithPassword(const Aws::String &value)
bool TypeHasBeenSet() const
Source & WithUsername(Aws::String &&value)
void SetPassword(const char *value)
void SetUsername(const Aws::String &value)
void SetUrl(const Aws::String &value)
const Aws::String & GetUrl() const
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
Source & WithRevision(const char *value)
const Aws::String & GetSshKey() const
const Aws::String & GetUsername() const
Source & WithUrl(Aws::String &&value)
void SetSshKey(const char *value)
Source & WithSshKey(Aws::String &&value)
bool SshKeyHasBeenSet() const
void SetRevision(const char *value)
void SetRevision(const Aws::String &value)
Source & WithRevision(const Aws::String &value)
void SetType(const SourceType &value)
bool UrlHasBeenSet() const
Source & WithUrl(const char *value)
void SetPassword(const Aws::String &value)
void SetPassword(Aws::String &&value)
void SetUrl(Aws::String &&value)
void SetSshKey(const Aws::String &value)
Source & WithUsername(const Aws::String &value)
AWS_OPSWORKS_API Source(Aws::Utils::Json::JsonView jsonValue)
Source & WithType(const SourceType &value)
Source & WithRevision(Aws::String &&value)
void SetUrl(const char *value)
Source & WithType(SourceType &&value)
void SetType(SourceType &&value)
const SourceType & GetType() const
void SetRevision(Aws::String &&value)
void SetSshKey(Aws::String &&value)
Source & WithPassword(const char *value)
Source & WithUrl(const Aws::String &value)
Source & WithUsername(const char *value)
Source & WithSshKey(const Aws::String &value)
const Aws::String & GetPassword() const
bool RevisionHasBeenSet() const
AWS_OPSWORKS_API Source()
void SetUsername(Aws::String &&value)
const Aws::String & GetRevision() const
bool UsernameHasBeenSet() const
bool PasswordHasBeenSet() const
AWS_OPSWORKS_API Source & operator=(Aws::Utils::Json::JsonView jsonValue)
Source & WithSshKey(const char *value)
Source & WithPassword(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue