AWS SDK for C++  1.8.93
AWS SDK for C++
Public Member Functions | List of all members
Aws::OpsWorks::Model::Source Class Reference

#include <Source.h>

Public Member Functions

 Source ()
 
 Source (Aws::Utils::Json::JsonView jsonValue)
 
Sourceoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const SourceTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const SourceType &value)
 
void SetType (SourceType &&value)
 
SourceWithType (const SourceType &value)
 
SourceWithType (SourceType &&value)
 
const Aws::StringGetUrl () const
 
bool UrlHasBeenSet () const
 
void SetUrl (const Aws::String &value)
 
void SetUrl (Aws::String &&value)
 
void SetUrl (const char *value)
 
SourceWithUrl (const Aws::String &value)
 
SourceWithUrl (Aws::String &&value)
 
SourceWithUrl (const char *value)
 
const Aws::StringGetUsername () const
 
bool UsernameHasBeenSet () const
 
void SetUsername (const Aws::String &value)
 
void SetUsername (Aws::String &&value)
 
void SetUsername (const char *value)
 
SourceWithUsername (const Aws::String &value)
 
SourceWithUsername (Aws::String &&value)
 
SourceWithUsername (const char *value)
 
const Aws::StringGetPassword () const
 
bool PasswordHasBeenSet () const
 
void SetPassword (const Aws::String &value)
 
void SetPassword (Aws::String &&value)
 
void SetPassword (const char *value)
 
SourceWithPassword (const Aws::String &value)
 
SourceWithPassword (Aws::String &&value)
 
SourceWithPassword (const char *value)
 
const Aws::StringGetSshKey () const
 
bool SshKeyHasBeenSet () const
 
void SetSshKey (const Aws::String &value)
 
void SetSshKey (Aws::String &&value)
 
void SetSshKey (const char *value)
 
SourceWithSshKey (const Aws::String &value)
 
SourceWithSshKey (Aws::String &&value)
 
SourceWithSshKey (const char *value)
 
const Aws::StringGetRevision () const
 
bool RevisionHasBeenSet () const
 
void SetRevision (const Aws::String &value)
 
void SetRevision (Aws::String &&value)
 
void SetRevision (const char *value)
 
SourceWithRevision (const Aws::String &value)
 
SourceWithRevision (Aws::String &&value)
 
SourceWithRevision (const char *value)
 

Detailed Description

Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps or Custom Recipes and Cookbooks.

See Also:

AWS API Reference

Definition at line 37 of file Source.h.

Constructor & Destructor Documentation

◆ Source() [1/2]

Aws::OpsWorks::Model::Source::Source ( )

◆ Source() [2/2]

Aws::OpsWorks::Model::Source::Source ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetPassword()

const Aws::String& Aws::OpsWorks::Model::Source::GetPassword ( ) const
inline

When included in a request, the parameter depends on the repository type.

  • For Amazon S3 bundles, set Password to the appropriate IAM secret access key.

  • For HTTP bundles and Subversion repositories, set Password to the password.

For more information on how to safely handle IAM credentials, see https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 201 of file Source.h.

◆ GetRevision()

const Aws::String& Aws::OpsWorks::Model::Source::GetRevision ( ) const
inline

The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.

Definition at line 343 of file Source.h.

◆ GetSshKey()

const Aws::String& Aws::OpsWorks::Model::Source::GetSshKey ( ) const
inline

In requests, the repository's SSH key.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 292 of file Source.h.

◆ GetType()

const SourceType& Aws::OpsWorks::Model::Source::GetType ( ) const
inline

The repository type.

Definition at line 49 of file Source.h.

◆ GetUrl()

const Aws::String& Aws::OpsWorks::Model::Source::GetUrl ( ) const
inline

The source URL. The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz.

Definition at line 81 of file Source.h.

◆ GetUsername()

const Aws::String& Aws::OpsWorks::Model::Source::GetUsername ( ) const
inline

This parameter depends on the repository type.

  • For Amazon S3 bundles, set Username to the appropriate IAM access key ID.

  • For HTTP bundles, Git repositories, and Subversion repositories, set Username to the user name.

Definition at line 132 of file Source.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::OpsWorks::Model::Source::Jsonize ( ) const

◆ operator=()

Source& Aws::OpsWorks::Model::Source::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PasswordHasBeenSet()

bool Aws::OpsWorks::Model::Source::PasswordHasBeenSet ( ) const
inline

When included in a request, the parameter depends on the repository type.

  • For Amazon S3 bundles, set Password to the appropriate IAM secret access key.

  • For HTTP bundles and Subversion repositories, set Password to the password.

For more information on how to safely handle IAM credentials, see https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 213 of file Source.h.

◆ RevisionHasBeenSet()

bool Aws::OpsWorks::Model::Source::RevisionHasBeenSet ( ) const
inline

The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.

Definition at line 351 of file Source.h.

◆ SetPassword() [1/3]

void Aws::OpsWorks::Model::Source::SetPassword ( const Aws::String value)
inline

When included in a request, the parameter depends on the repository type.

  • For Amazon S3 bundles, set Password to the appropriate IAM secret access key.

  • For HTTP bundles and Subversion repositories, set Password to the password.

For more information on how to safely handle IAM credentials, see https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 225 of file Source.h.

◆ SetPassword() [2/3]

void Aws::OpsWorks::Model::Source::SetPassword ( Aws::String &&  value)
inline

When included in a request, the parameter depends on the repository type.

  • For Amazon S3 bundles, set Password to the appropriate IAM secret access key.

  • For HTTP bundles and Subversion repositories, set Password to the password.

For more information on how to safely handle IAM credentials, see https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 237 of file Source.h.

◆ SetPassword() [3/3]

void Aws::OpsWorks::Model::Source::SetPassword ( const char *  value)
inline

When included in a request, the parameter depends on the repository type.

  • For Amazon S3 bundles, set Password to the appropriate IAM secret access key.

  • For HTTP bundles and Subversion repositories, set Password to the password.

For more information on how to safely handle IAM credentials, see https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 249 of file Source.h.

◆ SetRevision() [1/3]

void Aws::OpsWorks::Model::Source::SetRevision ( const Aws::String value)
inline

The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.

Definition at line 359 of file Source.h.

◆ SetRevision() [2/3]

void Aws::OpsWorks::Model::Source::SetRevision ( Aws::String &&  value)
inline

The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.

Definition at line 367 of file Source.h.

◆ SetRevision() [3/3]

void Aws::OpsWorks::Model::Source::SetRevision ( const char *  value)
inline

The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.

Definition at line 375 of file Source.h.

◆ SetSshKey() [1/3]

void Aws::OpsWorks::Model::Source::SetSshKey ( const Aws::String value)
inline

In requests, the repository's SSH key.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 304 of file Source.h.

◆ SetSshKey() [2/3]

void Aws::OpsWorks::Model::Source::SetSshKey ( Aws::String &&  value)
inline

In requests, the repository's SSH key.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 310 of file Source.h.

◆ SetSshKey() [3/3]

void Aws::OpsWorks::Model::Source::SetSshKey ( const char *  value)
inline

In requests, the repository's SSH key.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 316 of file Source.h.

◆ SetType() [1/2]

void Aws::OpsWorks::Model::Source::SetType ( const SourceType value)
inline

The repository type.

Definition at line 59 of file Source.h.

◆ SetType() [2/2]

void Aws::OpsWorks::Model::Source::SetType ( SourceType &&  value)
inline

The repository type.

Definition at line 64 of file Source.h.

◆ SetUrl() [1/3]

void Aws::OpsWorks::Model::Source::SetUrl ( const Aws::String value)
inline

The source URL. The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz.

Definition at line 93 of file Source.h.

◆ SetUrl() [2/3]

void Aws::OpsWorks::Model::Source::SetUrl ( Aws::String &&  value)
inline

The source URL. The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz.

Definition at line 99 of file Source.h.

◆ SetUrl() [3/3]

void Aws::OpsWorks::Model::Source::SetUrl ( const char *  value)
inline

The source URL. The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz.

Definition at line 105 of file Source.h.

◆ SetUsername() [1/3]

void Aws::OpsWorks::Model::Source::SetUsername ( const Aws::String value)
inline

This parameter depends on the repository type.

  • For Amazon S3 bundles, set Username to the appropriate IAM access key ID.

  • For HTTP bundles, Git repositories, and Subversion repositories, set Username to the user name.

Definition at line 148 of file Source.h.

◆ SetUsername() [2/3]

void Aws::OpsWorks::Model::Source::SetUsername ( Aws::String &&  value)
inline

This parameter depends on the repository type.

  • For Amazon S3 bundles, set Username to the appropriate IAM access key ID.

  • For HTTP bundles, Git repositories, and Subversion repositories, set Username to the user name.

Definition at line 156 of file Source.h.

◆ SetUsername() [3/3]

void Aws::OpsWorks::Model::Source::SetUsername ( const char *  value)
inline

This parameter depends on the repository type.

  • For Amazon S3 bundles, set Username to the appropriate IAM access key ID.

  • For HTTP bundles, Git repositories, and Subversion repositories, set Username to the user name.

Definition at line 164 of file Source.h.

◆ SshKeyHasBeenSet()

bool Aws::OpsWorks::Model::Source::SshKeyHasBeenSet ( ) const
inline

In requests, the repository's SSH key.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 298 of file Source.h.

◆ TypeHasBeenSet()

bool Aws::OpsWorks::Model::Source::TypeHasBeenSet ( ) const
inline

The repository type.

Definition at line 54 of file Source.h.

◆ UrlHasBeenSet()

bool Aws::OpsWorks::Model::Source::UrlHasBeenSet ( ) const
inline

The source URL. The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz.

Definition at line 87 of file Source.h.

◆ UsernameHasBeenSet()

bool Aws::OpsWorks::Model::Source::UsernameHasBeenSet ( ) const
inline

This parameter depends on the repository type.

  • For Amazon S3 bundles, set Username to the appropriate IAM access key ID.

  • For HTTP bundles, Git repositories, and Subversion repositories, set Username to the user name.

Definition at line 140 of file Source.h.

◆ WithPassword() [1/3]

Source& Aws::OpsWorks::Model::Source::WithPassword ( const Aws::String value)
inline

When included in a request, the parameter depends on the repository type.

  • For Amazon S3 bundles, set Password to the appropriate IAM secret access key.

  • For HTTP bundles and Subversion repositories, set Password to the password.

For more information on how to safely handle IAM credentials, see https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 261 of file Source.h.

◆ WithPassword() [2/3]

Source& Aws::OpsWorks::Model::Source::WithPassword ( Aws::String &&  value)
inline

When included in a request, the parameter depends on the repository type.

  • For Amazon S3 bundles, set Password to the appropriate IAM secret access key.

  • For HTTP bundles and Subversion repositories, set Password to the password.

For more information on how to safely handle IAM credentials, see https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 273 of file Source.h.

◆ WithPassword() [3/3]

Source& Aws::OpsWorks::Model::Source::WithPassword ( const char *  value)
inline

When included in a request, the parameter depends on the repository type.

  • For Amazon S3 bundles, set Password to the appropriate IAM secret access key.

  • For HTTP bundles and Subversion repositories, set Password to the password.

For more information on how to safely handle IAM credentials, see https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 285 of file Source.h.

◆ WithRevision() [1/3]

Source& Aws::OpsWorks::Model::Source::WithRevision ( const Aws::String value)
inline

The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.

Definition at line 383 of file Source.h.

◆ WithRevision() [2/3]

Source& Aws::OpsWorks::Model::Source::WithRevision ( Aws::String &&  value)
inline

The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.

Definition at line 391 of file Source.h.

◆ WithRevision() [3/3]

Source& Aws::OpsWorks::Model::Source::WithRevision ( const char *  value)
inline

The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.

Definition at line 399 of file Source.h.

◆ WithSshKey() [1/3]

Source& Aws::OpsWorks::Model::Source::WithSshKey ( const Aws::String value)
inline

In requests, the repository's SSH key.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 322 of file Source.h.

◆ WithSshKey() [2/3]

Source& Aws::OpsWorks::Model::Source::WithSshKey ( Aws::String &&  value)
inline

In requests, the repository's SSH key.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 328 of file Source.h.

◆ WithSshKey() [3/3]

Source& Aws::OpsWorks::Model::Source::WithSshKey ( const char *  value)
inline

In requests, the repository's SSH key.

In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.

Definition at line 334 of file Source.h.

◆ WithType() [1/2]

Source& Aws::OpsWorks::Model::Source::WithType ( const SourceType value)
inline

The repository type.

Definition at line 69 of file Source.h.

◆ WithType() [2/2]

Source& Aws::OpsWorks::Model::Source::WithType ( SourceType &&  value)
inline

The repository type.

Definition at line 74 of file Source.h.

◆ WithUrl() [1/3]

Source& Aws::OpsWorks::Model::Source::WithUrl ( const Aws::String value)
inline

The source URL. The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz.

Definition at line 111 of file Source.h.

◆ WithUrl() [2/3]

Source& Aws::OpsWorks::Model::Source::WithUrl ( Aws::String &&  value)
inline

The source URL. The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz.

Definition at line 117 of file Source.h.

◆ WithUrl() [3/3]

Source& Aws::OpsWorks::Model::Source::WithUrl ( const char *  value)
inline

The source URL. The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz.

Definition at line 123 of file Source.h.

◆ WithUsername() [1/3]

Source& Aws::OpsWorks::Model::Source::WithUsername ( const Aws::String value)
inline

This parameter depends on the repository type.

  • For Amazon S3 bundles, set Username to the appropriate IAM access key ID.

  • For HTTP bundles, Git repositories, and Subversion repositories, set Username to the user name.

Definition at line 172 of file Source.h.

◆ WithUsername() [2/3]

Source& Aws::OpsWorks::Model::Source::WithUsername ( Aws::String &&  value)
inline

This parameter depends on the repository type.

  • For Amazon S3 bundles, set Username to the appropriate IAM access key ID.

  • For HTTP bundles, Git repositories, and Subversion repositories, set Username to the user name.

Definition at line 180 of file Source.h.

◆ WithUsername() [3/3]

Source& Aws::OpsWorks::Model::Source::WithUsername ( const char *  value)
inline

This parameter depends on the repository type.

  • For Amazon S3 bundles, set Username to the appropriate IAM access key ID.

  • For HTTP bundles, Git repositories, and Subversion repositories, set Username to the user name.

Definition at line 188 of file Source.h.


The documentation for this class was generated from the following file: