/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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
The repository type.
*/ inline const SourceType& GetType() const{ return m_type; } /** *The repository type.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The repository type.
*/ inline void SetType(const SourceType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The repository type.
*/ inline void SetType(SourceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The repository type.
*/ inline Source& WithType(const SourceType& value) { SetType(value); return *this;} /** *The repository type.
*/ inline Source& WithType(SourceType&& value) { SetType(std::move(value)); return *this;} /** *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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
In requests, the repository's SSH key.
In responses, AWS OpsWorks
* Stacks returns *****FILTERED*****
instead of the actual value.
In requests, the repository's SSH key.
In responses, AWS OpsWorks
* Stacks returns *****FILTERED*****
instead of the actual value.
In requests, the repository's SSH key.
In responses, AWS OpsWorks
* Stacks returns *****FILTERED*****
instead of the actual value.
In requests, the repository's SSH key.
In responses, AWS OpsWorks
* Stacks returns *****FILTERED*****
instead of the actual value.
In requests, the repository's SSH key.
In responses, AWS OpsWorks
* Stacks returns *****FILTERED*****
instead of the actual value.
In requests, the repository's SSH key.
In responses, AWS OpsWorks
* Stacks returns *****FILTERED*****
instead of the actual value.
In requests, the repository's SSH key.
In responses, AWS OpsWorks
* Stacks returns *****FILTERED*****
instead of the actual value.
In requests, the repository's SSH key.
In responses, AWS OpsWorks
* Stacks returns *****FILTERED*****
instead of the actual value.
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.
*/ inline const Aws::String& GetRevision() const{ return m_revision; } /** *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.
*/ inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } /** *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.
*/ inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; } /** *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.
*/ inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); } /** *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.
*/ inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); } /** *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.
*/ inline Source& WithRevision(const Aws::String& value) { SetRevision(value); return *this;} /** *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.
*/ inline Source& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;} /** *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.
*/ inline Source& WithRevision(const char* value) { SetRevision(value); return *this;} private: SourceType m_type; bool m_typeHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; Aws::String m_username; bool m_usernameHasBeenSet = false; Aws::String m_password; bool m_passwordHasBeenSet = false; Aws::String m_sshKey; bool m_sshKeyHasBeenSet = false; Aws::String m_revision; bool m_revisionHasBeenSet = false; }; } // namespace Model } // namespace OpsWorks } // namespace Aws