/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Proton { namespace Model { /** */ class UpdateServiceSyncConfigRequest : public ProtonRequest { public: AWS_PROTON_API UpdateServiceSyncConfigRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateServiceSyncConfig"; } AWS_PROTON_API Aws::String SerializePayload() const override; AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the code repository branch where the Proton Ops file is * found.

*/ inline const Aws::String& GetBranch() const{ return m_branch; } /** *

The name of the code repository branch where the Proton Ops file is * found.

*/ inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; } /** *

The name of the code repository branch where the Proton Ops file is * found.

*/ inline void SetBranch(const Aws::String& value) { m_branchHasBeenSet = true; m_branch = value; } /** *

The name of the code repository branch where the Proton Ops file is * found.

*/ inline void SetBranch(Aws::String&& value) { m_branchHasBeenSet = true; m_branch = std::move(value); } /** *

The name of the code repository branch where the Proton Ops file is * found.

*/ inline void SetBranch(const char* value) { m_branchHasBeenSet = true; m_branch.assign(value); } /** *

The name of the code repository branch where the Proton Ops file is * found.

*/ inline UpdateServiceSyncConfigRequest& WithBranch(const Aws::String& value) { SetBranch(value); return *this;} /** *

The name of the code repository branch where the Proton Ops file is * found.

*/ inline UpdateServiceSyncConfigRequest& WithBranch(Aws::String&& value) { SetBranch(std::move(value)); return *this;} /** *

The name of the code repository branch where the Proton Ops file is * found.

*/ inline UpdateServiceSyncConfigRequest& WithBranch(const char* value) { SetBranch(value); return *this;} /** *

The path to the Proton Ops file.

*/ inline const Aws::String& GetFilePath() const{ return m_filePath; } /** *

The path to the Proton Ops file.

*/ inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; } /** *

The path to the Proton Ops file.

*/ inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; } /** *

The path to the Proton Ops file.

*/ inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); } /** *

The path to the Proton Ops file.

*/ inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); } /** *

The path to the Proton Ops file.

*/ inline UpdateServiceSyncConfigRequest& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;} /** *

The path to the Proton Ops file.

*/ inline UpdateServiceSyncConfigRequest& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;} /** *

The path to the Proton Ops file.

*/ inline UpdateServiceSyncConfigRequest& WithFilePath(const char* value) { SetFilePath(value); return *this;} /** *

The name of the repository where the Proton Ops file is found.

*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } /** *

The name of the repository where the Proton Ops file is found.

*/ inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } /** *

The name of the repository where the Proton Ops file is found.

*/ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** *

The name of the repository where the Proton Ops file is found.

*/ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } /** *

The name of the repository where the Proton Ops file is found.

*/ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } /** *

The name of the repository where the Proton Ops file is found.

*/ inline UpdateServiceSyncConfigRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** *

The name of the repository where the Proton Ops file is found.

*/ inline UpdateServiceSyncConfigRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} /** *

The name of the repository where the Proton Ops file is found.

*/ inline UpdateServiceSyncConfigRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** *

The name of the repository provider where the Proton Ops file is found.

*/ inline const RepositoryProvider& GetRepositoryProvider() const{ return m_repositoryProvider; } /** *

The name of the repository provider where the Proton Ops file is found.

*/ inline bool RepositoryProviderHasBeenSet() const { return m_repositoryProviderHasBeenSet; } /** *

The name of the repository provider where the Proton Ops file is found.

*/ inline void SetRepositoryProvider(const RepositoryProvider& value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = value; } /** *

The name of the repository provider where the Proton Ops file is found.

*/ inline void SetRepositoryProvider(RepositoryProvider&& value) { m_repositoryProviderHasBeenSet = true; m_repositoryProvider = std::move(value); } /** *

The name of the repository provider where the Proton Ops file is found.

*/ inline UpdateServiceSyncConfigRequest& WithRepositoryProvider(const RepositoryProvider& value) { SetRepositoryProvider(value); return *this;} /** *

The name of the repository provider where the Proton Ops file is found.

*/ inline UpdateServiceSyncConfigRequest& WithRepositoryProvider(RepositoryProvider&& value) { SetRepositoryProvider(std::move(value)); return *this;} /** *

The name of the service the Proton Ops file is for.

*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *

The name of the service the Proton Ops file is for.

*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *

The name of the service the Proton Ops file is for.

*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *

The name of the service the Proton Ops file is for.

*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *

The name of the service the Proton Ops file is for.

*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *

The name of the service the Proton Ops file is for.

*/ inline UpdateServiceSyncConfigRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *

The name of the service the Proton Ops file is for.

*/ inline UpdateServiceSyncConfigRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *

The name of the service the Proton Ops file is for.

*/ inline UpdateServiceSyncConfigRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;} private: Aws::String m_branch; bool m_branchHasBeenSet = false; Aws::String m_filePath; bool m_filePathHasBeenSet = false; Aws::String m_repositoryName; bool m_repositoryNameHasBeenSet = false; RepositoryProvider m_repositoryProvider; bool m_repositoryProviderHasBeenSet = false; Aws::String m_serviceName; bool m_serviceNameHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws